Skip to main content
POST
/
offramp
/
quote
Get off-ramp quote
curl --request POST \
  --url https://api.zet.money/v1/offramp/quote \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "amount": "100",
  "tokenSymbol": "USDC",
  "bankCode": "044",
  "accountNumber": "0123456789",
  "chain": "base"
}
'
{
  "success": true,
  "data": {
    "quoteId": "qt_01H8X4...",
    "cryptoAmount": "100",
    "tokenSymbol": "USDC",
    "chain": "base",
    "fiatAmount": "148500",
    "fiatCurrency": "NGN",
    "rate": "1540.50",
    "fees": {
      "platformFee": "20",
      "processingFee": "148.50",
      "stampDuty": "50",
      "swapFee": "20",
      "totalFee": "238.50"
    },
    "bankAccount": {
      "bankName": "Access Bank",
      "bankCode": "044",
      "accountNumber": "0123456789",
      "accountName": "John Doe"
    },
    "expiresAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

x-api-key
string
header
required

Your Zet API key. Contact zetdotmoney@gmail.com to obtain your keys.

Body

application/json
amount
string
required

Amount of crypto to sell.

Example:

"100"

tokenSymbol
enum<string>
required
Available options:
CNGN,
USDC,
ETH,
cbBTC,
BNB,
USDT
Example:

"USDC"

bankCode
string
required

Nigerian bank code from /onramp/banks.

Example:

"044"

accountNumber
string
required

10-digit NUBAN account number.

Example:

"0123456789"

chain
enum<string>
default:base

Primary chains where Zet-managed wallets operate

Available options:
base,
bsc

Response

Quote generated with verified bank details.

success
boolean
Example:

true

data
object