API Doc - Checkout Intent Routes - Get Status
AllScale Open API
Version: v3
Last updated: 2026-05-14
Base Path: /v1/checkout_intents
Overview
The Checkout Intent Status API allows merchants to query the current status of a checkout intent.
This API is used to:
Retrieve the checkout intent status by
checkout_intent_idPoll status after creating a checkout intent and redirecting users to hosted checkout
Important Design Notes
All enum values are represented as integers in API requests and responses
API consumers must always send and receive integer values
This endpoint returns only the status integer (in
payload)
Authentication
All requests must include the following headers:
X-API-Key
API key
X-Timestamp
Unix timestamp (seconds)
X-Nonce
Unique request identifier
X-Signature
HMAC signature
Notes
X-Noncemust be unique per requestX-Timestampmust be within allowed time windowSignature must be generated using raw request body bytes
Requests are protected against replay attacks
GET /v1/checkout_intents/{checkout_intent_id}/status
Description
Get the checkout intent status as an integer.
Request
GET /v1/checkout_intents/{checkout_intent_id}/status
Path Parameters
checkout_intent_id
string
✅
AllScale checkout intent ObjectId string
Headers
Note: This is a GET request, so there is no request body.
Successful Response
payloadis the checkout intent status integer.
Response Fields
code
int
0 indicates success
payload
int
Checkout intent status enum value
error
object | null
Error object
request_id
string
Request identifier
Possible Errors
10001
Validation error
20001
Missing authentication headers
20002
Invalid signature
30001
Forbidden (no permission to view this checkout intent)
40001
Rate limit exceeded
50001
Checkout intent not found
90000
Internal server error, pls contact us
99999
Unknown error, pls contact us
Notes
This endpoint enforces permission checks: the checkout intent must belong to the authenticated store/business context.
Always log
request_idfor debugging.Since
payloadis an int, do not expectpayload.statusor other nested fields.
Appendix — Checkout Intent Status Enum
Value
Name
Meaning
Terminal
-1
FAILED
Checkout failed due to internal or processing error
✅
-2
REJECTED
Rejected by KYT (Know Your Transaction) checks
✅
-3
UNDERPAID
Paid amount is less than required
✅
-4
CANCELED
User manually canceled the checkout
✅
-5
TIMEOUT
Checkout expired due to inactivity or time limit
✅
1
CREATED
Checkout intent created, not yet viewed by user
❌
2
VIEWED
Hosted checkout page has been opened by the user
❌
3
TEMP_WALLET_RECEIVED
Temporary deposit wallet assigned (KYT flow only)
❌
4
MANUAL_OPERATION
Stuck in TEMP_WALLET_RECEIVED; pending manual review
❌
5
SEND_BACK
Refund in progress back to payer (KYT or underpaid)
❌
10
ON_CHAIN
On-chain transaction detected, awaiting confirmation
❌
20
CONFIRMED
Payment confirmed successfully on-chain
✅
End of document.
Last updated