Sell (Crypto Off-Ramp)

These endpoints are used to initiate buy and sell orders on the Axis API

The minimum Stable Coin is $10 (USDT, USDC, E-USDT).

Exchange Rate

This endpoint is used to get both buy and sell rate between the fiat and crypto pair e.g. NGN-> USDT or USDT->NGN.

This endpoint is used to get the exchange rate

POST https://exchanger-api.fuspay.finance/api/v1/no-auth/Axis/ExchangeRate/

Headers

Name
Type
Description

Authorization*

String

Bearer ${partner_secret_key}

Content-Type*

String

application/json

x-partner-id*

String

Your partner ID eg. p602xxx

Request Body

Name
Type
Description

fiat*

String

this is the fiat of the currency pair eg "NGN"

Request Body

// Sample body request

{
    "fiat":"NGN",
    "chain": "usdt-trc"
}

Response

{
     success: true,
     message: string,
     data: {
        "NGN/USDT": 1700,
        "USDT/NGN": 1670
     }
}

"FIAT(NGN)/STABLE_COIN(USDT)": "This notation means you are buying the stable coin at the rate shown"

"STABLE_COIN(USDT)/FIAT(NGN)": "This notation means you are selling the fiat at the rate shown"

Create Sell Order Endpoint

This is used to initiate a new sell order.

POST https://exchanger-api.fuspay.finance/api/v1/no-auth/Axis/InitiateSellOrder/

All events will be communicated to the callback registered in the post request.

Event request body will be updated as the sell order progresses through the following phases:

a. event.sell.init // buy order started, awaiting crypto payment

b. event.sell.received.crypto // crypto payment received by axis

c.event.sell.credited.fiat // transaction completed.user account credited

d. event.sell.error // error occured

Event body is signed with sha 512. sha512(body, public_key+secret_key)

The diagram below shows the complete flow of a sell order

Last updated