POST/api/v2/crypto-virtual-accounts/payin-address

POST /api/v2/crypto-virtual-accounts/payin-address

Authentication

Send your API key in the x-api-key header on every request.

Request body

application/json

Request body fields
FieldTypeRequiredDescription
userIdunknownNo
crypto_currencyUSDC | USDTYesPossible values: USDC, USDT. Digital currency returned by GET /api/v2/crypto-virtual-accounts/trading-overview for the selected ready chain sub-account.
chain_id1 | -200 | 137 | 42161Yesthe crypto on/off-ramp chain IDs: Ethereum 1, Tron -200, Polygon 137, Arbitrum 42161. Possible values: 1, -200, 137, 42161.

Responses

201 — Created

Response 201 fields
FieldTypeRequiredDescription
DepositWalletunknownNo
OtcRequestobjectNo

400 — Bad Request

Response 400 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

401 — Unauthorized

Response 401 fields
FieldTypeRequiredDescription
MessagestringNo
CodestringNo
StatusunknownNo
ValidationErrorsobjectNo
DetailsstringNo

Example request

curl -X POST "https://{base_url}/api/v2/crypto-virtual-accounts/payin-address" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"crypto_currency":"…","chain_id":"…"}'

This page is generated from the live OpenAPI specification and always matches the current API.