Send a payment request directly to a user’s mobile device.
POST /direct-pay
Send a payment request directly to a user’s mobile device. You are responsible for building your own checkout and verifying payment status.
Name | Required | Type | Description |
---|---|---|---|
amount | Yes | integer | Amount to be paid (minimum 100 XAF). |
phone | Yes | string | Phone number to request payment from (e.g., 67XXXXXXX). |
medium | No | string | "mobile money" or "orange money" . Omit to auto-detect. |
name | No | string | Payer’s name. |
No | string | Payer’s email to receive receipt. | |
userId | No | string | Your system’s user ID (1–100 chars; a–z, A–Z, 0–9, -, _). |
externalId | No | string | Transaction/order ID for reconciliation (1–100 chars; a–z, A–Z, 0–9, -, _). |
message | No | string | Reason for payment. |
200 OK
with JSON body containing:
message
: success messagetransId
: transaction ID to track payment statusdateInitiated
: date when the payment was initiatedErrors return 4XX with failure message.
Accepted
The response is of type object
.