APIV2
List all payment refunds
Get all refunds (partial or full) related to this payment
AuthorizationBearer <token>
Merchant JWT bearer token
In: header
Scope: payments.read
Path Parameters
paymentId*string
A unique identifier for the payment object.
Response Body
application/json
curl -X GET "https://example.com/payments/string/refunds"[
{
"merchantId": "string",
"id": "string",
"paymentId": "string",
"amountMoney": {
"amount": 100,
"currency": "AED"
},
"status": "PENDING",
"reason": "string",
"referenceId": "string",
"metaData": {
"property1": "string",
"property2": "string"
},
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"gatewayVersion": 0.1,
"gatewayId": "string",
"gatewayName": "square",
"gatewayRefundId": "string"
}
]