Generate POD account number
Details on how to generate an account number for a POD delivery
Generate account number for POD delivery
POST
{baseUrl}/drops/cancel
The bank account details are securely generated via Paystack and sent to the receiver of the goods. The account remains valid for 8 hours.
Headers
Name
Type
Description
app_id*
string
Your app ID
app_secret*
string
Your app secret key
Request Body
Name
Type
Description
dropId*
String
dropId
{
"status": true,
"message": "Delivery cancelled",
"data": {
}
}
// Sample Request information
Url: https://sandbox.sendstack.africa/drops/payOnDelivery
Method: POST
Headers:
- app_id: "your app_id"
- app_secret: "your app_secret"
Body:
-dropId
Sample Success Data
// Sample Request body
{
"dropId": "yourDropId"
}
//Sample Response Body - 200 OK
Sample Error Data
{
"dropId": "invalid dropId"
}
//Sample Response Body - 400 OK
{
"status": false,
"message": "Invalid dropId"
}
Last updated