cURL
curl --request POST \ --url https://api.sandbox.saalal.com/v1/payments/create \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "amount": 500, "network": "orange-money-sn", "customer": { "full_name": "Johny Doe", "email": "john@doe.com", "phone": "77XXXXXXX" } }'
{ "message": "Payment initiated!", "statusCode": 200, "data": { "payment": { "business": "BUSINESS_NAME", "customer": { "full_name": "Johny Doe", "email": "john@doe.com", "phone": "77XXXXXXX" }, "slug": "d282e4a6-1fb6-4827-a6ae-a780263287d7", "reference": "d282e4a6-1fb6-4827-a6ae-a780263287d7", "partner_reference": "XXX-XXXXXX-XXXX", "kind": "disburse", "network": "bank | orange-money-sn | wave-sn", "amount": 500, "status": "pending", "expired_at": "2024-01-11T00:00:00.000Z", "meta": { "wallet_url": "https://extra.url.com" } } } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
orange-money-sn
wave-sn
orange-money-ci
wave-ci
mtn-ci
moov-ci
mtn-bj
moov-bj
moov-tg
t-money-togo
Show child attributes
OK