v1

latestOpenAPI 3.0.02026-07-14664396.8 KB
INDIVIDUAL LIQUIDATION ADDRESS

Create a new liquidation address for a customer

Creates a liquidation address for an individual customer.

post/liquidation-addresses/{customerId}

Path parameters

customerIdstring required
Example:123e4567-e89b-12d3-a456-426614174000

Customer ID

Headers

api-keystring
Example:alfredpay.T+QdhCoMofy8.gGKO5KdB7M+B/9jLFef

API Key for service authentication (alternative to JWT Bearer token). Optional.

api-secretstring
Example:PwF+cDGZd37eHYZ.CVvF1/zbHCBosSo1

API Secret for service authentication (alternative to JWT Bearer token). Optional.

Request body

chain'ETH' | 'MATIC' | 'XLM' | 'OP' | 'ARB' | 'BASE' | 'TRX' | 'SOL' | 'CELO' | 'AVAX' | 'BNB' required

Blockchain chain identifier

currencystring required

Currency symbol (must be supported on the specified chain)

addressstring required

Wallet address (format validated based on chain)

memostring

Memo field for XLM transactions (optional)

defaultboolean

Set as default address for this customer

Example request

{
  "chain": "ARB",
  "currency": "USDC",
  "address": "0x742d35Cc6634C0532925a3b8D6Ac4c5dAEE7E37a",
  "memo": "MEMO123456",
  "default": true
}

Response

Liquidation address created successfully