Axis- Instant Swap
About usContact Us
  • Welcome to Axis Instant Swap
  • Getting Started
    • Partner Onboarding Endpoints
    • Partner Activate Endpoint
    • Regenerate Partners Public & Private Keys
    • Digital Signature
  • Account Codes/Bank codes
  • Buy (Fiat On-Ramp)
    • Exchange Rate
    • Create Buy Order Endpoint
  • Sell (Crypto Off-Ramp)
    • Exchange Rate
    • Create Sell Order Endpoint
  • Events
  • Order History & Status
    • Pending Transactions
      • Transaction Pending KYC Endpoint
    • Get Single Order Endpoint
    • Get Multiple Order Endpoint
    • Sell/Payout Verification Endpoint
  • Post KYC Data
    • Post KYC Data Endpoint
  • Create KYC
  • Verify KYC Status
  • Release KYC Pending Transactions
  • Transaction Resolution
    • Log Issue
    • Check Issue Status
Powered by GitBook
On this page

Was this helpful?

  1. Getting Started

Digital Signature

This endpoint is used to sign the request body and to verify callbacks received from us

POST https://exchanger-api.fuspay.finance/api/v1/no-auth/PartnerP2P/SignRequestSha512/

The object is signed without including the signature field. Also sign exactly the fields that would be posted to the endpoint

Please make sure we have whitelisted all your IPs

Only Collection or Order creation requires using of merchant secret and partner secret all other request to be signed are to be signed using partner secret alone

Headers

Name
Type
Description

Content-Type*

String

application/json

Example Request Body

Request body may be different depending on what you would like to sign

Name
Type
Description

partner_order_id*

String

the order id on partners end

amount_to_collect*

String

the amount to be collected

timestamp*

String

the time the order was created

currency*

String

the currency of collection eg GHS, NGN

partner_callback_url*

String

the url where payment confirmation would be posted

partner_redirect_url

String

partners site where users would be redirected after successful payment

secret*

String

Signed with public key+ Secret Key.

Sample code

const request = require('request');


const options = {
  method: 'POST',
  url: 'https://exchanger-api.fuspay.finance/api/v1/no-auth/PartnerP2P/SignRequestSha512',
  headers: {'Content-Type': 'application/json'},
  body: {
    partner_order_id: 'FUSPAY-00400-001-091-008',
    amount_to_collect: '30',
    timestamp: 1693285902419,
    order_expiration: 1693285902419,
    intrapay_merchant_id: "",
    partner_id: ""
    currency: 'NGN',
    partner_callback_url: 'https://webhook.site/xxxxxxxx',
    partner_redirect_url: 'https://google.com',
    secret: '4LJDHGA-SJTECNA-XXXX-XXXXsk_partner_ph25sjy-qtfeoxy-rqbvzyq-z-xx'
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
PreviousRegenerate Partners Public & Private KeysNextBuy (Fiat On-Ramp)

Last updated 11 months ago

Was this helpful?