API referencePayments
List a payment's refunds
Choose a TEST app to send requests from the playground.
get
/payments/{reference}/refundsBearerAuthheader
AuthorizationBearer <token>An access token from POST /oauth/token: client_credentials for your own app, or authorization_code for a user who connected it.
reference*stringPayment reference
OK
application/json- response
data?array<>error?message?stringmeta?success?booleancurl -X GET "https://example.com/payments/string/refunds"{ "error": { "code": "string", "details": { "property1": "string", "property2": "string" }, "message": "string" }, "message": "string", "meta": { "pagination": { "next_cursor": "string", "page": 0, "per_page": 0, "total_items": 0, "total_pages": 0 } }, "success": true, "data": [ { "amount": "1500.00", "created_at": "string", "currency": "string", "environment": "LIVE", "metadata": "string", "payment_reference": "string", "reason": "string", "reference": "string" } ]}