Skip to main content
POST
Pay an order

Authorizations

Authorization
string
header
required

A token from POST /oauth/token, valid 1 hour. Paste it as LCSTOK-…-X (without the word Bearer).

Headers

Idempotency-Key
string
required

Any unique string you generate (a UUID is ideal), stored with your cart and reused on every retry of the same action. Scoped to your API client.

Maximum string length: 255

Path Parameters

orderId
string
required

Body

application/json
msisdn
string

The payer's Ugandan mobile number (07…, 2567… or +2567…). Must be on the network the order was priced for: MTN for momo, Airtel for airtel. Required for a paid mobile money order; not needed for a free order.

Example:

"0763494235"

Response

Payment started, hosted redirect, or free order confirmed.

code
integer
required

HTTP status, repeated in the body.

Example:

200

message
string
required
Example:

"Payment initiated successfully"

data
object
required