Overview
Withdraw funds from a wallet to a linked account (bank, card, or international bank). This endpoint allows you to initiate payouts to any account that has been previously linked.Prerequisites
- A linked account ID (obtained from linking an account)
- Valid access token
- Sufficient wallet balance
Endpoint
- POST
{{LIQUIDITY_URL}}/v1/ext/linked-accounts/:currency/:linkedAccountId/withdrawal - Auth: Bearer
{{accessToken}}
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
currency | string | Currency code (e.g., USD) | Yes |
linkedAccountId | string | ID of the linked account (from link response) | Yes |
Query Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
walletId | string | Source wallet ID (optional, uses default if omitted) | No |
Request
Request Body Fields
| Field | Type | Description | Required |
|---|---|---|---|
reason | string | Description/reason for the withdrawal | Yes |
amount | number | Amount to withdraw (decimal) | Yes |
transactionType | string | Transaction type: PAYOUT | Yes |
routingType | string | Routing type: ACH, WIRE, or INTERNATIONAL_WIRE | Yes |
Routing Types
ACH- For US bank accounts (domestic transfers)WIRE- For domestic wire transfersINTERNATIONAL_WIRE- For international bank accounts
Response (200)
Response Fields
| Field | Type | Description |
|---|---|---|
message | string | Status message |
data.id | string | Transaction ID for tracking |
data.status | string | Transaction status (e.g., SUCCESS, PENDING) |
data.fees | string | Fees charged for the withdrawal |
data.amount | string | Final amount after fees |
Notes
- The
linkedAccountIdmust be from a successfully linked account - Use the appropriate
routingTypebased on the linked account type:ACHfor US bank accountsINTERNATIONAL_WIREfor international bank accountsWIREfor domestic wire transfers
- If
walletIdis not provided, the system will use the default wallet for the entity - Ensure sufficient balance in the source wallet to cover the amount plus fees
- Withdrawal processing times vary by routing type:
- ACH: Typically 1-3 business days
- Wire: Typically same day or next business day
- International Wire: Typically 3-5 business days
- Store the transaction
idfor tracking and reconciliation purposes - Fees may vary based on routing type and amount
- Works for all linked account option types (
bank,card,international_bank,zelle,venmo,paypal,prepaid_card)