Endpoint
Authentication
Use your secret key in theAuthorization header:
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
total | number | Yes | Total amount in the smallest currency unit (e.g., 200000 = 200,000 XAF) |
currency | string | Yes | Currency code (e.g., xaf, xof) |
accountId | string | Yes | Your Yabetoo account ID |
successUrl | string | Yes | URL to redirect after successful payment |
cancelUrl | string | Yes | URL to redirect if payment is cancelled |
items | array | No | List of items being purchased |
metadata | object | No | Custom key-value data for your reference |