v1

latestOpenAPI 3.0.32026-07-2485236250.4 KB
Cards/Transfer

Create transfer estimation

Creates a new card transfer estimation

post/api/v1/cards/transfer/estimate

Request body

amountnumber required

Amount specifies the transaction amount

currencystring

Currency specifies the type of currency for the transaction

external_card_idstring required

ExternalCardId is the unique identifier for the external card

tokensstring[] required

Tokens is a list of tokens from which the amount will be transferred

Response

OK

amountnumber required

Amount that would be transferred

currencystring required

Currency of the transfer request

estimation_idstring required

Identifier of the created estimation

expires_atinteger required

UTC timestamp when the estimation will expire

fee_amountnumber required

Amount of the fee that would be charged

Example response

{
  "amount": 100.06,
  "currency": "USD",
  "estimated_amounts": [
    {
      "amount": 109.41123037,
      "fee_amount": 0.5,
      "fee_precise_amount": "500000000000000000",
      "precise_amount": "109411230370000000000",
      "rate": 1.09345623,
      "token_address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      "token_symbol": "USDC"
    }
  ],
  "estimation_id": "00000000-0000-0000-0000-000000000001",
  "expires_at": 1617223200
}