POST
/
api
/
v0
/
customers
/
{customerId}
/
liquidation_addresses
Create a new liquidation address for a customer
curl --request POST \
  --url https://api.devdraft.ai/api/v0/customers/{customerId}/liquidation_addresses \
  --header 'Content-Type: application/json' \
  --data '{
  "chain": "ethereum",
  "currency": "usdc",
  "address": "0x4d0280da2f2fDA5103914bCc5aad114743152A9c",
  "external_account_id": "ext_123",
  "prefunded_account_id": "pf_acc_123",
  "bridge_wallet_id": "bw_123",
  "destination_payment_rail": "sepa",
  "destination_currency": "eur",
  "destination_wire_message": "Liquidation payment for customer",
  "destination_sepa_reference": "SEPA-REF-123456",
  "destination_ach_reference": "ACH123",
  "destination_address": "0x1234567890abcdef1234567890abcdef12345678",
  "destination_blockchain_memo": "liquidation-memo-123",
  "return_address": "0xabcdefabcdefabcdefabcdefabcdefabcdef",
  "custom_developer_fee_percent": "2.5"
}'
{
  "id": "la_generated_id_123",
  "state": "active",
  "customer_id": "cust_123",
  "chain": "ethereum",
  "currency": "usdc",
  "address": "0x4d0280da2f2fDA5103914bCc5aad114743152A9c",
  "external_account_id": "<string>",
  "prefunded_account_id": "<string>",
  "bridge_wallet_id": "<string>",
  "destination_payment_rail": "<string>",
  "destination_currency": "<string>",
  "custom_developer_fee_percent": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>"
}

Path Parameters

customerId
string
required

Unique identifier for the customer

Example:

"cust_123"

Body

application/json

Response

201
application/json

Liquidation address created successfully

The response is of type object.