POST
/api/v2/crypto-virtual-accounts/payin-addressPOST /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
| Field | Type | Required | Description |
|---|---|---|---|
| userId | unknown | No | |
| crypto_currency | USDC | USDT | Yes | Possible values: USDC, USDT. Digital currency returned by GET /api/v2/crypto-virtual-accounts/trading-overview for the selected ready chain sub-account. |
| chain_id | 1 | -200 | 137 | 42161 | Yes | the crypto on/off-ramp chain IDs: Ethereum 1, Tron -200, Polygon 137, Arbitrum 42161. Possible values: 1, -200, 137, 42161. |
Responses
201 — Created
| Field | Type | Required | Description |
|---|---|---|---|
| DepositWallet | unknown | No | |
| OtcRequest | object | No |
400 — Bad Request
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
401 — Unauthorized
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
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.