Get Checkout Status
Get the status of a checkout session
Get Checkout Session
This endpoint allows you to retrieve details of a checkout session by its ID. Endpoint:GET /v1/checkout/{checkoutId}/status
Path Parameter
- checkoutId (string, required): The ID of the checkout session to retrieve.
Responses
- 200 OK: Returns checkout session details.
- 404 Not Found: Session not found.
Authorizations
Enter your API key as a Bearer token
Path Parameters
The unique identifier of the checkout session (e.g., '040956bf1210aa19c948da8d5769cea01313dc23022025')
"040956bf1210aa19c948da8d5769cea01313dc23022025"
Response
Checkout status retrieved successfully
Unique identifier for the checkout session
"040956bf1210aa19c948da8d5769cea01313dc23022025"
Current status of the checkout session
pending, processing, completed, failed, expired, cancelled "completed"
Checkout amount
250
Checkout currency
"USD"
Payment method used (if completed)
"mobile_money"
External transaction ID from payment provider (if completed)
"ext_txn_123"
When the checkout session was created
"2024-01-15T10:30:00Z"
When the checkout session was completed (if applicable)
"2024-01-15T10:35:00Z"
When the checkout session expires
"2024-12-25T23:59:59Z"