Sending the request
Method
POST
url
https://app.payplus.africa/pay/v01/straight/payout
headersApikey
: contains the main code generated during the creation of your application
Authorization
: contains the word Bearer
followed by a space
then the token generated during the creation of your application
Accept
: application/json
Content-Type
: application/json
payload ( format json )
{
"commande": {
"amount": 1900,
"description": "Description of the content of the invoice",
"receiver": "contains the phone number of the receiver (format : 22997761182)",
}
}
Response ( format json ){
"response_code":"contains 00 si successfull. If different from 00 then failure",
"token"=>"transaction token. you must keep it on your platform",
"response_text"=>"",
"description"=>"text message describing the result of the request",
"customdata"=>"contains the custom_data sent when sending the request"
}