cURL
curl --request POST \ --url https://soleaspay.com/api/agent/link/fiat-distribution \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-key: <x-api-key>' \ --data ' { "data": { "payer": "SP202116A", "currency": "XAF", "amount": 10000, "distribution": [ { "matricule": "SP20231M", "rate": 15 } ] } } '
{ "success": true, "message": "fiat distribution success" }
Redistribute a fiat payment received outside SoPay by specifying payer details and distribution breakdown.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Your authentication API key
"Your-Apikey-Here"
Show child attributes
Fiat distribution completed successfully
true
"fiat distribution success"