Defines the response returned by ListPaymentRefunds.
Either errors
or refunds
is present in a given response (never both).
List Payment Refunds Response
Name | Type | Tags | Description |
---|---|---|---|
errors |
List of Error |
Optional | Information about errors encountered during the request. |
refunds |
List of Payment Refund |
Optional | The list of requested refunds. |
cursor |
string |
Optional | The pagination cursor to be used in a subsequent request. If empty, this is the final response. For more information, see Pagination. |
{
"cursor": "5evquW1YswHoT4EoyUhzMmTsCnsSXBU9U0WJ4FU4623nrMQcocH0RGU6Up1YkwfiMcF59ood58EBTEGgzMTGHQJpocic7ExOL0NtrTXCeWcv0UJIJNk8eXb",
"refunds": [
{
"amount_money": {
"amount": 1000,
"currency": "USD"
},
"created_at": "2019-07-06T18:01:22.335Z",
"id": "O2QAAhTYs7rUfzlxT38GMO7LvaB_q7JwCHtxmgXrh8fAhV468WQ44VxDtL7CU4yVRlsbXmI",
"location_id": "XK3DBG77NJBFX",
"order_id": "2duiyoqbfeXY0DBi15GEyk5Epa4F",
"payment_id": "O2QAAhTYs7rUfzlxT38GMO7LvaB",
"processing_fee": [
{
"amount_money": {
"amount": -59,
"currency": "USD"
},
"effective_at": "2019-07-06T20:01:12.000Z",
"type": "INITIAL"
}
],
"status": "COMPLETED",
"updated_at": "2019-07-06T18:06:04.653Z"
},
{
"amount_money": {
"amount": 1000,
"currency": "USD"
},
"created_at": "2019-07-06T17:01:54.232Z",
"id": "8TDIQvFw8PeDIxhSfd5yyX7GuaB_13px5Vrz01qzzuoGzmjsZIxDjfHhbkm2XppBUX1dW7I",
"location_id": "XK3DBG77NJBFX",
"order_id": "w6EXfEwS03oTQsnZTCqfE6f67e4F",
"payment_id": "8TDIQvFw8PeDIxhSfd5yyX7GuaB",
"processing_fee": [
{
"amount_money": {
"amount": -59,
"currency": "USD"
},
"effective_at": "2019-07-06T19:01:45.000Z",
"type": "INITIAL"
}
],
"status": "COMPLETED",
"updated_at": "2019-07-06T17:21:04.684Z"
}
]
}