POST/api/v2/crypto-virtual-accounts/exchange/accept

Accept an exact the crypto on/off-ramp exchange quote

Accepts an unexpired quote returned by exchange/quote. Do not retry an expired quote; request a new one.

Authentication

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

Request body

application/json

Request body fields
FieldTypeRequiredDescription
UserIdunknownNo
QuoteIdstringYes

Responses

200 — OK

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/exchange/accept" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"QuoteId":"…"}'

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