Charges
Retrieve all refunds on a charge
get/charges/{id}/refunds
Path parameters
idinteger required
The SamCart ID for the charge
Response
Successful operation. Response will return an array of 0 or more refunds
Example response
[
{
"id": 1337,
"charge_id": 1337,
"cart_item_id": 1234,
"created_at": "2020-03-04 00:18:35",
"test_mode": true,
"charge_refund_status": "refunded",
"currency": "USD",
"refund_amount": 1525,
"remaining_refundable_amount": 7500,
"charge": {
"charge_date": "2021-03-08 00:18:35",
"test_mode": true,
"processor_transaction_id": "H241L4ZX",
"currency": "USD",
"card_used": "4242",
"paypal_email": "my_paypal@email.com"
},
"order": {
"test_mode": true
}
}
]Changes
No recorded changes to this endpoint across all 1 revision of this API.