API Reference
Hosted Checkout
Get Checkout Status [GET]

Get Checkout Status

https://sandboxapi.bitnob.co/api/v1/checkout/status/{checkoutId} (opens in a new tab)


Path Params

ParametertypeRequired
checkoutId
ID of hosted checkout
string

Request

Hosted checkout/Get Checkout Status [GET]
curl --request GET \
     --url https://sandboxapi.bitnob.co/api/v1/checkout/status/checkoutId \
     --header 'Authorization: Bearer API-KEY' \
     --header 'accept: application/json'

Response

🟢 200 OK
{
  "status": true,
  "message": "fetch checkout status successful",
  "data": {
    "id": "0fe33b67-7b1b-4e52-8304-6f56c8e6f546",
    "status": "unpaid",
    "satAmount": "1000",
    "satAmountPaid": "0"
  }
}
Last updated on