Merchant API
Checkouts

Get a Hosted Checkout

Return a Hosted Checkout and the public status of its canonical Payment. The Checkout URL remains Init-controlled.

GET
/checkouts/{id}

Return a Hosted Checkout and the public status of its canonical Payment. The Checkout URL remains Init-controlled.

AuthorizationBasic <token>

Merchant API key pair. Send as Authorization: Basic base64(publicKey:secretKey) — username is the public key (pk_live_… / pk_test_…), password is the secret key (sk_live_… / sk_test_…). The public key prefix determines the environment of every order created by the request — there is no body, query, or header override.

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/checkouts/string"
{  "amount": "10000",  "checkout_url": "https://checkout.example/pay/dord_01K2VK4V0C7Y6HG4H3ED4HPR2F",  "country": "MY",  "created_at": "2026-08-16T10:00:00.000Z",  "currency": "MYR",  "environment": "test",  "expires_at": "2026-08-16T10:15:00.000Z",  "failure_code": null,  "failure_message": null,  "id": "hchk_01K2VK4V0C7Y6HG4H3ED4HPR2F",  "merchant_reference": "order-2026-08-16-0001",  "object": "checkout",  "payment_intent_id": "dord_01K2VK4V0C7Y6HG4H3ED4HPR2F",  "payment_status": "requires_payment_method",  "processing_stale_at": null,  "status": "open",  "updated_at": "2026-08-16T10:00:00.000Z"}