Skip to main content
GET
/
payments
/
sessions
/
{session_id}
curl https://api.khaime.com/api/v1/partner/payments/sessions/sess_a1b2c3d4 \
  -H "X-API-Key: pk_sandbox_your_key"

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.

Get Payment Session

Check the current status of a payment session.

Path Parameters

session_id
string
required
The session ID returned from Create Session.

Response

{
  "success": true,
  "data": {
    "session_id": "sess_a1b2c3d4",
    "status": "completed",
    "amount": 5320,
    "currency": "USD",
    "payment_type": "one_time",
    "created_at": "2026-01-16T21:00:00.000Z",
    "completed_at": "2026-01-16T21:05:00.000Z"
  }
}

Session Statuses

StatusDescription
pendingSession created, awaiting payment
completedPayment successful
expiredSession expired (30 min default)
failedPayment failed
curl https://api.khaime.com/api/v1/partner/payments/sessions/sess_a1b2c3d4 \
  -H "X-API-Key: pk_sandbox_your_key"