Subscription Intents
Enroll a customer in card-on-file recurring debits
Changed onStarts a card-on-file enrollment and returns the enrollment payment with the action the customer must complete. Poll its outcome with GET /subscription-intents/{id}/status.
post/subscription-intents
Request
- The document declares no server URL.
- Authnone declared. Required headers: ApiKey, MerchantId, Environment
Headers
ApiKeystring required
Your api key. To create a key, please get into our dashboard. If you don't have access to it, please reach the Support team.
MerchantIdstring required
Your merchant ID. This information is available in our dashboard. If you don't have access to it, please reach the Support team.
Environment'live' | 'sandbox' required
Allow you to choose between the sandbox mode to perform some tests or the live mode for real world transactions.
Request body
Example request
{
"customerReference": "cust_01924059",
"email": "customer@example.com",
"amount": 5000,
"currency": "XOF",
"frequency": "monthly",
"startDate": "2026-08-01",
"billingMode": "rbs_scheduled",
"consent": {
"given": true,
"timestamp": "2026-07-03T10:00:00.000Z",
"reference": "consent-01924059"
}
}Response
Example response
{
"action": {
"data": {
"method": "post"
}
}
}Changes
- info
endpoint added
- info