Get payment actions
Find out all you need to know about history of a payment. This API provides details about each step of the payment lifecycle.
Use the details below to set up your request. In the URI, replace {id}
with the payment_id
.
Endpoints
For the full API specification, see the API reference.
https://api.checkout.com/payments/{id}/actions
Response example
If successful, you should get a 200 Success
response returning a list of data relating to the payment.
1[2 {3 "id": "act_gefycn3jcvuupboxfmqrhk2aym",4 "type": "Refund",5 "processed_on": "2018-01-20T10:30:48Z",6 "amount": 6540,7 "approved": true,8 "response_code": "10000",9 "response_summary": "Approved",10 "_links": {11 "response-code": {12 "href": "https://api.checkout.com/refs/response-codes/10000"13 }14 }15 },16 {17 "id": "act_gefycn3jcvuupboxfmqrhk2aym",18 "type": "Capture",19 "processed_on": "2018-01-17T10:30:48Z",20 "amount": 6540,21 "approved": true,22 "response_code": "10000",23 "response_summary": "Approved",24 "metadata": {25 "shipping_ref": "MQIBN2"26 },27 "_links": {28 "response-code": {29 "href": "https://api.checkout.com/refs/response-codes/10000"30 }31 }32 },33 {34 "id": "act_y3oqhf46pyzuxjbcn2giaqnb44",35 "type": "Authorization",36 "processed_on": "2018-01-17T09:30:48Z",37 "amount": 6540,38 "approved": true,39 "auth_code": "643381",40 "response_code": "10000",41 "response_summary": "Approved",42 "reference": "ORD-5023-4E89",43 "_links": {44 "response-code": {45 "href": "https://api.checkout.com/refs/response-codes/10000"46 }47 }48 }49]
Information
If your request is unsuccessful, you may receive a 404 – Payment not found
error.
Payment actions
The table below outlines the different payment actions and their meanings.
| The payment request was sent successfully. |
| The authorized payment was captured in full. |
| Part or all of the captured amount was refunded. |
| The payment was voided and never captured; the funds were returned to the customer. |
| The card verification request has been approved and the cardholder’s details have been saved to their account. |
| The card payout was processed successfully. |