Verifies the payment status of a specific order by checking its associated MPGS payment sessions.
Security
ApiKeyAuth
- Mock serverhttps://docs.amabills.co.za/_mock/openapi/v2/whooshCheckOrderPaymentStatus
- Testinghttps://api-test.amabills.co.za/api/v2/whooshCheckOrderPaymentStatus
- Productionhttps://api.amabills.co.za/api/v2/whooshCheckOrderPaymentStatus
curl -i -X POST \
https://docs.amabills.co.za/_mock/openapi/v2/whooshCheckOrderPaymentStatus \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: YOUR_API_KEY_HERE' \
-d '{
"orderId": "ORD-20240401-001"
}'Payment status successfully retrieved.
Timestamp when the status verification was performed.
Example:"2024-04-02T06:10:00+02:00"
Overall payment status for the order.
Enum:"PAID""PENDING""FAILED""NO_ATTEMPT""VERIFICATION_ERROR"
Example:"PAID"
Response
{ "success": true, "merchantId": "MERCH-001", "orderId": "ORD-20240401-001", "checkedOn": "2024-04-02T06:10:00+02:00", "paymentStatus": "PAID", "paymentReference": "ORD-20240401-001", "transactionStatus": "SUCCESS", "transactionAmount": 150, "transactionCurrency": "ZAR", "transactionTime": "2024-04-01T14:32:00+02:00", "verificationErrors": [] }