Overview
Link a debit or credit card to enable card-based payouts and withdrawals. This endpoint allows you to connect a customer’s card as a payout destination.Prerequisites
- An application token (obtained from creating a payout link or account widget)
- Valid access token
Endpoint
- POST
{{LIQUIDITY_URL}}/v1/ext/application-token/:token/linked-accounts/:currency/link/card/:step - Auth: Bearer
{{accessToken}}
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
token | string | Application token from payout/account widget | Yes |
currency | string | Currency code (e.g., USD) | Yes |
step | string | Usually 1 | Yes |
Request
Request Body Fields
| Field | Type | Description | Required |
|---|---|---|---|
label | string | Display name for the linked card | Yes |
data.firstName | string | Cardholder first name | Yes |
data.lastName | string | Cardholder last name | Yes |
data.name | string | Card/business name | Yes |
data.cardNumber | string | Full card number | Yes |
data.expirationDate | string | Expiration in YYYY-MM format | Yes |
data.recipientAddress | string | Address line for cardholder | Yes |
data.recipientCity | string | City for cardholder | Yes |
data.recipientState | string | State for cardholder | Yes |
data.recipientPostalCode | string | ZIP/postal code | Yes |
data.email | string | Email of cardholder | Yes |
Response (200)
Response Fields
| Field | Type | Description |
|---|---|---|
data.data.id | string | Linked account ID (use for withdrawals) |
data.data.currency | string | Currency of the linked account |
data.data.optionType | string | Account type: card |
data.data.account.label | string | Display label for the card |
data.data.account.lastFourDigits | string | Last 4 digits of card number |
data.data.wallet.id | string | Associated wallet ID |
data.data.wallet.balance | string | Current wallet balance |
data.data.entity.id | string | Entity ID associated with the card |
data.data.entity.entityType | string | Entity type: USER or BUSINESS |
Notes
- Store the
idfrom the response for use in withdrawal requests - Card numbers should be provided in full (typically 16 digits)
- Expiration date should be in MM/YYYY format
- The linked card can be used for withdrawals once successfully created
- Ensure card details are accurate to avoid processing failures