Malaleem API
GET /api/v1/checkout/:id

Retrieve checkout session

Fetch one of your sessions by its id (UUID) or its `cs_…` token to verify its status (e.g. on the shopper's return). Status is one of pending, paid, cancelled, expired, failed; `amount_refunded` tracks refunds. Sessions expire 24 hours after creation and can no longer be paid. Another merchant's session answers 404.

Parameters

id string · required

The checkout session id or token.

curl https://malaleem.com/api/v1/checkout/{id} \
  -H "Authorization: Bearer {key_id}:{secret}"