initialize_payment
Start a CinetPay web payment and receive a redirect URL for the customer to complete mobile money payment. Requires transaction, customer, and callback data.
Instructions
Initialize a new CinetPay web payment. Returns a payment URL to redirect the customer to.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount in the smallest currency unit (integer, e.g. 1000 = 1000 XOF) | |
| channel | No | Payment channel: PUSH, OTP, or QRCODE (default: PUSH) | |
| country | Yes | Country code (e.g. CI, SN) | |
| currency | Yes | Currency code: XOF, XAF, GNF, CDF, or USD | |
| failed_url | Yes | Redirect URL after failed payment | |
| notify_url | Yes | Webhook URL for payment status notifications | |
| designation | Yes | Payment description shown to the customer | |
| success_url | Yes | Redirect URL after successful payment | |
| client_email | Yes | Customer email address | |
| client_last_name | Yes | Customer last name | |
| client_first_name | Yes | Customer first name | |
| merchant_transaction_id | Yes | Unique transaction ID from your system (max 30 chars) |