Skip to content

Latest commit

 

History

History
29 lines (22 loc) · 1.66 KB

File metadata and controls

29 lines (22 loc) · 1.66 KB

OtcOrderRequest

Fiat Order Request Body

Properties

Name Type Description Notes
type String BUY for on-ramp, SELL for off-ramp
side String The side returned by the quote endpoint (used for order validation). For backward compatibility, `FIAT`/`CRYPTO` or `PAY`/`GET` are accepted; new integrations should use the value returned by the quote response.
cryptoCurrency String Cryptocurrency (supported currencies can be queried from the OTC web fiat quote page)
fiatCurrency String Fiat currency (supported currencies can be queried from the OTC web fiat quote page)
cryptoAmount String Amount of cryptocurrency
fiatAmount String Fiat amount
promotionCode String Promotion code [optional]
quoteToken String Parameter returned by the quote API
bankId String Bank card ID used to place the order. Select one from the list returned by `GET /otc/bank/list`; the default card has `is_default=1`.
receiveType ReceiveTypeEnum Name used for the remittance. Allowed values depend on the user type: Corporate users: YOU (remit in your company's name), GATE (remit in Gate's name), RECIPIENT (remit in the recipient's name); Individual users: GATE (remit in Gate's name), PERSON (remit in the user's own name). [optional]

Enum: ReceiveTypeEnum

Name Value
YOU "YOU"
GATE "GATE"
RECIPIENT "RECIPIENT"
PERSON "PERSON"