Skip to main content
POST
/
account
/
{accountId}
/
withdraw
/
calldata
Withdrawal calldata
curl --request POST \
  --url https://api.blend.money/extern/{neobankId}/{accountTypeId}/account/{accountId}/withdraw/calldata \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "destinationChainId": 1,
  "amount": "1000000"
}
'
{
  "status": "<string>",
  "data": {
    "safeAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
    "destinationChainId": 1,
    "totalAmount": "<string>",
    "timeEstimate": 123,
    "totalFeesUsd": "<string>",
    "payloads": [
      {
        "chainId": 1,
        "vaultAddress": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
        "amount": "<string>",
        "timeEstimate": 123,
        "fees": {
          "gas": {
            "amountUsd": "<string>"
          },
          "relay": {
            "amountUsd": "<string>"
          },
          "totalUsd": "<string>"
        },
        "steps": [
          {
            "kind": "<string>",
            "description": "<string>",
            "to": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
            "data": "<string>",
            "delegateCall": true
          }
        ]
      }
    ]
  }
}

Authorizations

X-API-Key
string
header
required

SHA-256 hashed API key issued per organization

Path Parameters

accountId
string<uuid>
required

Account UUID (returned by GET /account)

Body

application/json
destinationChainId
integer
required

Chain where user receives withdrawn funds

Example:

1

amount
string
required

Total amount in loan token's smallest unit

Pattern: ^(?:0|[1-9]\d*)$
Example:

"1000000"

isMaxWithdraw
boolean
default:false

When true, redeems all shares on every chain. Bridge steps are omitted (funds stay on each source chain).

Response

Withdrawal calldata

status
string
required
Allowed value: "success"
data
object
Last modified on March 20, 2026