Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1.83 KB

File metadata and controls

28 lines (19 loc) · 1.83 KB

OtcOrderRequest

Properties

Name Type Description Notes
type string BUY for on-ramp, SELL for off-ramp [default to undefined]
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. [default to undefined]
cryptoCurrency string Cryptocurrency (supported currencies can be queried from the OTC web fiat quote page) [default to undefined]
fiatCurrency string Fiat currency (supported currencies can be queried from the OTC web fiat quote page) [default to undefined]
cryptoAmount string Amount of cryptocurrency [default to undefined]
fiatAmount string Fiat amount [default to undefined]
promotionCode string Promotion code [optional] [default to undefined]
quoteToken string Parameter returned by the quote API [default to undefined]
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`. [default to undefined]
receiveType string 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] [default to undefined]

Enum: OtcOrderRequest.ReceiveType

  • YOU (value: 'YOU')

  • GATE (value: 'GATE')

  • RECIPIENT (value: 'RECIPIENT')

  • PERSON (value: 'PERSON')