Payments
Verify Payment
Check the status of a payment session.
GET
Documentation Index
Fetch the complete documentation index at: https://docs.khaime.com/llms.txt
Use this file to discover all available pages before exploring further.
Verify Payment
Check the status of a payment session created via Create Session.For payments created via the Charge API, there is no polling endpoint. Use webhooks to receive real-time payment confirmations instead.
Path Parameters
The
session_id returned from the Create Session endpoint.Response
Payment Statuses
| Status | Meaning |
|---|---|
completed | Payment confirmed |
pending | Still processing |
expired | Session expired without payment |
failed | Payment failed |
Confirming Charge API Payments
If you used the Charge API instead of sessions, confirm payments via webhooks:- Set your webhook URL via the dashboard or API
- Listen for
payment.succeededandpayment.failedevents - Use the
event_idfor idempotency
