POST
/api/v2/transfers/quantum-usd-to-crypto-exchangeExchange Quantum USD to Crypto (USDC/USDT)
Authentication
Send your API key in the x-api-key header on every request.
Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| userId (query) | unknown | No | User ID |
Request body
application/json
| Field | Type | Required | Description |
|---|---|---|---|
| Currency | string | No | Target currency (USDC or USDT) |
| Amount | unknown | No | Amount in USD to exchange from Quantum account |
Responses
200 — OK
| Field | Type | Required | Description |
|---|---|---|---|
| Success | boolean | No | |
| Message | string | No | |
| ErrorCode | string | No | |
| SourceAmount | unknown | No | Source amount in USD from Quantum account |
| TargetCurrency | string | No | Target currency (USDC or USDT) |
| CryptoAmountReceived | unknown | No | Crypto amount received |
| Rate | unknown | No | Exchange rate used |
| Fee | unknown | No | Fee charged in USD |
| TradeId | string | No | Trade ID from the card platform |
| Status | string | No | Status of the exchange |
| InitiatedAt | string (date-time) | No | Timestamp when exchange was initiated |
| Details | 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 |
404 — Not Found
| Field | Type | Required | Description |
|---|---|---|---|
| Message | string | No | |
| Code | string | No | |
| Status | unknown | No | |
| ValidationErrors | object | No | |
| Details | string | No |
500 — Internal Server Error
| 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/transfers/quantum-usd-to-crypto-exchange" \
-H "x-api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'This page is generated from the live OpenAPI specification and always matches the current API.