Get a Hosted Checkout
Return a Hosted Checkout and the public status of its canonical Payment. The Checkout URL remains Init-controlled.
Return a Hosted Checkout and the public status of its canonical Payment. The Checkout URL remains Init-controlled.
Authorization
apiKey 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
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"}List merchant balances GET
List the merchant's balances for the stamped environment.
Create a Hosted Checkout POST
Create a Hosted Checkout with a minimal Merchant request. Checkout collects an omitted payment method and payer details, or immediately advances a supplied `payment_method` to its authoritative Provider action. The response returns an Init-controlled `checkout_url`; `return_url` is always the Merchant's final return URL.