Payments
Get payment actions
Returns all the actions associated with a payment ordered by processing date in descending order (latest first).
get/payments/{id}/actions
Request
- Base URLhttps://{prefix}.api.sandbox.checkout.com
- Auth
- OAuth 2Client credentialsToken URLstringScopesgateway, gateway:payment-details
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The payment identifier
Response
Payment actions retrieved successfully
Example response
[
{
"id": "act_fd3h6evhpn3uxdoqbuu3lqnqbm",
"type": "Refund",
"processed_on": "2018-01-20T10:30:48.0000000+00:00",
"amount": 1000,
"approved": true,
"response_code": 10000,
"response_summary": "Approved"
},
{
"id": "act_gefycn3jcvuupboxfmqrhk2aym",
"type": "Capture",
"processed_on": "2018-01-17T10:30:48.0000000+00:00",
"amount": 6540,
"approved": true,
"response_code": 10000,
"response_summary": "Approved",
"processing": {
"acquirer_reference_number": 2.402121909900745e+22,
"acquirer_transaction_id": 745244079
},
"metadata": {
"shipping_ref": "MQIBN2"
}
},
{
"id": "act_y3oqhf46pyzuxjbcn2giaqnb44",
"type": "Authorization",
"processed_on": "2018-01-17T09:30:48.0000000+00:00",
"amount": 6540,
"approved": true,
"auth_code": 643381,
"response_code": 10000,
"response_summary": "Approved",
"reference": "ORD-5023-4E89",
"processing": {
"retrieval_reference_number": 909913440644,
"acquirer_transaction_id": 440644309099499900000
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.