Skip to main content
POST
Create a payment link

Authorizations

x-sp-auth-token
string
header
required

JWT Bearer emis par Mysoleas Identity Cloud. Format: Bearer <access_token>.

Body

application/json
currency
string
required
Example:

"XAF"

amount
integer
Required range: x >= 1
provider
string
Example:

"mtn_cmr"

channel
enum<string>
Available options:
PROVIDER,
WALLET,
AUTO
feeBearer
enum<string>

Indique qui supporte les fees du lien.

Available options:
CUSTOMER,
MERCHANT
fee_bearer
enum<string>
deprecated
Available options:
CUSTOMER,
MERCHANT
customerPaysFees
boolean
deprecated
customer_pays_fees
boolean
deprecated
title
string
description
string
expires_at
string<date-time>
max_usage
integer
Required range: x >= 1
metadata
object

Response

Payment link created

code
integer
Example:

200

success
boolean
Example:

true

locale
string
Example:

"fr"

message
string
meta
object
data
object