This API is used to query the status of a payment.
Use the externalReference that you provided during payment redirect.
Request And Headers
GET: /api/fulfilments/status?externalReference=<reference>
Content-Type: application/json
Authorization: Basic <token>
NB: We will provide you with the Basic Auth credentials.
Response
Status: 200, 400, 404
{
"reference": "C-12345679887665-P",
"externalReference": "EXT_REF",
"playerId": "12345",
"productBundleId": 1,
"amount": 1000,
"currency": "ZAR",
"paymentMethod": "Kuda Bank",
"tokensPurchased": 11,
"digitalCurrency": {
"name": "Credits",
"code": "CRE"
},
"status": "SUCCESSFUL"
}