Check payment status
Checkout (Public)
Check payment status
Check the current payment status of a checkout session. Used for client-side polling. No authentication required.
GET
Check payment status
Path Parameters
Checkout session ID (format: cs_xxx)
Example:
"cs_abc123"
Response
Current session status (idle, processing, pending_ussd, success, failed, expired, cancelled)
Checkout session lifecycle:
idle— Session created, waiting for payment initiationprocessing— Payment being processedpending_ussd— Waiting for USSD confirmation from payersuccess— Payment completedfailed— Payment failedexpired— Session expiredcancelled— Session cancelled
Available options:
idle, processing, pending_ussd, success, failed, expired, cancelled Example:
"pay_xyz789"

