Skip to main content
POST
Enregistrer une méthode de retrait
Aucune validation croisée serveur ne force les champs pertinents selon type : rien n’empêche aujourd’hui de créer une méthode MOBILE_MONEY sans network/phone_number, ou BANK_TRANSFER sans coordonnées bancaires. Validez ces champs vous-même côté intégration.
is_verified vaut toujours false à la création — un administrateur doit vérifier la méthode avant qu’elle puisse servir à un retrait.

Authorizations

Authorization
string
header
required

Clé API secrète du marchand — header Authorization: Bearer sk_live_xxx (ou sk_test_xxx en environnement de test).

Body

application/json
type
enum<string>
required
Available options:
MOBILE_MONEY,
BANK_TRANSFER
label
string
required
Maximum string length: 100
network
string<uuid> | null

Pertinent si type=MOBILE_MONEY

phone_number
string | null
bank_name
string | null

Pertinent si type=BANK_TRANSFER

account_holder_name
string | null
account_number
string | null
iban
string | null
swift_bic
string | null
bank_code
string | null
branch_code
string | null

Response

201 - application/json

Méthode créée — is_verified toujours false à ce stade