Skip to main content
POST
Creer une souscription

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

X-Idempotency-Key
string

Cle d'idempotence optionnelle fournie par le marchand.

Body

application/json
customer_email
string<email>
required
amount
integer
required
Required range: x >= 1
currency
string
required
Example:

"XAF"

frequency
enum<string>
required
Available options:
DAILY,
WEEKLY,
MONTHLY,
QUARTERLY,
YEARLY
customer_phone_number
string
description
string
metadata
object
idempotency_key
string

Response

Souscription retournee

code
integer
Example:

200

success
boolean
Example:

true

locale
string
Example:

"fr"

message
string
meta
object
data
object