Capture an authorization
Changed onpost/paypal/authorizations/{id}/capture
Request
- Base URLhttps://gateway.pmnts-sandbox.io/v1.0
- URLhttps://gateway.pmnts-sandbox.io/v1.0/paypal/authorizations/{id}/capture
- AuthHTTP basic
Path parameters
idstring required
ID of the authorization to be captured.
Request body
Response
200
Example response
{
"successful": true,
"response": {
"id": "071-PPC-9JNQNPWCD3FSOHDG",
"amount": 199,
"decimal_amount": 1.99,
"captured_amount": 199,
"successful": true,
"message": "Approved",
"reference": "ref_12345_612515",
"captured": true,
"currency": "AUD",
"transaction_id": "071-PPC-9JNQNPWCD3FSOHDG",
"transaction_date": "2020-08-31T08:30:30+10:00",
"status": "Completed",
"invoice_id": "071-PPC-9JNQNPWCD3FSOHDG",
"paypal_fee": 35,
"seller_receivable_net_amount": 164,
"note_to_payer": "$1.99 partial capture",
"balance_available_for_refund": 199,
"balance_available_for_capture": 13601,
"authorization": "071-PPA-6CQGSNJFKJ1UQF9J",
"order": "071-PPO-ZVCVMDEFCBX86RX2"
},
"test": true
}Changes
- info
endpoint added
- info