cURL
curl --request GET \ --url https://nini.monieswitch.com/checkout/status \ --header 'Authorization: <authorization>'
{ "status": true, "message": "Operation is successful", "data": { "checkout": { "id": "cc2c7639-0779-40b8-8e69-1853d8ef4b92", "email": "[email protected]", "amount": 1000, "status": "NEW", "hasPaid": false, "channels": [ "BANK" ], "currency": "NGN", "charges": 22.5, "reference": "cktvJgMj8Glxfh5x", "payableAmount": 1000, "subaccountShare": 0, "hasActiveSubaccount": false, "subaccountSettlement": 0, "mainAccountShare": 977.5, "mainAccountSettlement": 977.5, "createdAt": "2024-10-28T13:17:41.904Z" } } }
Checkout Status
Set value to 'Bearer {{MERCHANT_SECRET_KEY}}'
reference
"dS0xqm9ibC4cjBJSpNiOs9aj9"
The response is of type object.
object