Int'l Payout & Collection
  • Start your global payment here
  • Partner & Merchant Onboarding
  • Getting Started for Partner
    • Partner Onboarding Endpoints
    • IP Capture & Whitelisting
    • Regenerate Partners Pub/Priv Keys
  • Getting Started for Merchant
  • Collection
    • Digital Signatures
    • Collection (MOMO)
    • Collection (Virtual Account-NGN )**
    • Fetch Order
    • Assigning Virtual Accounts
      • Get Available Assignable Virtual Account
      • Check if specific account is available for use
      • Create Order- using Available Virtual Account from your Account Pool
    • Cancel Order
    • Get Mobile Money Providers
  • Payout
    • Account verification
    • Payout
    • Payout Status
    • Crypto Withdrawal
    • Bank & Bank Codes
  • Transaction History
    • Get Transaction Records
Powered by GitBook
On this page
  1. Collection

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": ""
}

{
  "status": "fail",
  "messsage": ""
}

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 1 year ago