v1

latestOpenAPI 3.0.32026-07-2485236250.4 KB
Obsolete

Create withdrawal estimation

Creates a new withdrawal estimation for the card. </br>This method is deprecated and will be removed in the future.

post/api/v1/cards/{cardId}/withdraw/estimate

Path parameters

cardIdstring required

Id of the card on which the action should be performed

Request body

amountnumber required

Amount to withdraw

correlation_idstring required

CorrelationId for the request

currencystring required

Currency of the amount to withdraw

destinationAddressstring required

DestinationAddress represents the unique address of the recipient

Example request

{
  "amount": 99.99,
  "correlation_id": "00000000-0000-0000-0000-000000000001",
  "currency": "USDC",
  "destinationAddress": "0xA7E41d5680dE394EaA2ed417169DFf56840Fb3EE"
}

Response

OK

amountnumber required

Amount that would be transferred

currencystring required

Currency of the withdrawal 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": "USDC",
  "estimation_id": "00000000-0000-0000-0000-000000000001",
  "expires_at": 1617223200
}