Refund a capture
Changed onpost/paypal/captures/{id}/refund
Request
- Base URLhttps://gateway.pmnts-sandbox.io/v1.0
- URLhttps://gateway.pmnts-sandbox.io/v1.0/paypal/captures/{id}/refund
- AuthHTTP basic
Path parameters
idstring required
The ID of the capture to be refunded
Headers
Content-Typestring
application/json
Request body
Response
200
Example response
{
"successful": true,
"response": {
"id": "071-PPR-TIBSYRFOTPSSRGDZ",
"amount": 1,
"refunded": "Approved",
"message": "Approved",
"transaction_id": "071-PPR-TIBSYRFOTPSSRGDZ",
"currency": "AUD",
"successful": true,
"transaction_date": "2020-08-31T14:59:53+10:00",
"status": "Completed",
"note_to_payer": "1 cent",
"invoice_id": "071-PPR-TIBSYRFOTPSSRGDZ",
"decimal_amount": 0.01,
"seller_payable_net_amount": 1,
"balance_available_for_refund": 198,
"capture": "071-PPC-9JNQNPWCD3FSOHDG",
"order": "071-PPO-ZVCVMDEFCBX86RX2"
},
"test": true
}Changes
- info
endpoint added
- info