Notus API
Fiat

Create Fiat Deposit Quote

This endpoint creates a fiat deposit quote.

POST
/api/v1/fiat/deposit/quote
x-api-key<token>

In: header

paymentMethodToSendstring
Value in"ACH" | "PIX" | "WIRE" | "SPEI"
amountToSendInFiatCurrencynumber
Range0.01 <= value
receiveCryptoCurrencystring

Cryptocurrency to receive.

Supported chains by cryptocurrency:

  • USDC: [1, 137, 8453, 42161]
  • BRZ: [137]
Value in"USDC" | "BRZ"
individualIdstring
chainIdnumber

Chain where the token will be sent from.

  • Polygon: 137
  • Arbitrum One: 42161
  • Base: 8453
  • Ethereum: 1
walletAddressstring
Match^0x[a-fA-F0-9]{40}$

Response Body

curl -X POST "https://api.notus.team/api/v1/fiat/deposit/quote" \  -H "Content-Type: application/json" \  -d '{    "paymentMethodToSend": "ACH",    "amountToSendInFiatCurrency": 100,    "receiveCryptoCurrency": "USDC",    "individualId": "string",    "chainId": 0,    "walletAddress": "string"  }'
{
  "depositQuote": {
    "quoteId": "123e4567-e89b-12d3-a456-426614174000",
    "amountToSendInFiatCurrency": "100",
    "amountToReceiveInCryptoCurrency": "17.1234",
    "expiresAt": "2023-12-31T23:59:59.999Z"
  }
}
{
  "statusCode": 400,
  "id": "CRYPTO_TOKEN_NOT_SUPPORTED_ON_CHAIN_WITH_ALTERNATIVES",
  "message": "The token 'undefined' is not supported on any fiat chains"
}
{
  "statusCode": 500,
  "id": "FAILED_TO_GET_FIAT_QUOTE",
  "message": "string"
}