Cancel Order
This endpoint is used to cancel an order.
POST
Headers
Name
Type
Description
Content-Type*
String
application/json
Authorization*
String
Bearer pk_partner_xxx
Request Body
Name
Type
Description
partner_order_id*
String
Order id
signature*
String
sha-512-of-req-body-signed-with-SK_merchant_xxx+SK_partner_xxx
{
"status": "success",
"message": "",
"partner_order_id": ""
}
example request -code
const fetch = require('node-fetch');
fetch("https://exchanger-api.fuspay.finance/api/v1/no-auth/PartnerP2P/CancelOrder", {
"method": "POST",
"headers": {
"Content-Type": "application/json",
"Authorization": "Bearer pk_partner_xxxx",
"cookie": "connect.sid=s%253AoNBPv4ez8npeuKVKlS9KwX_1Dshiamlf.n8opjPuoF3XsU%252Be0VTLMUe6xzeAXmpCfQrpW9KW1KDs"
},
"body": {
"partner_order_id": "",
"signature": "sha-512-of-req-body-signed-with-SK_merchant_xxx+SK_partner_xxx"
}
})
.then(response => console.log(response))
.catch(err => console.error(err));
PreviousCreate Order- using Available Virtual Account from your Account PoolNextGet Mobile Money Providers
Last updated