Crypto Exchanges
Overview
Get Available Asset Pairs
Request query:
- PageNumber: list page number (optional, default = 1)
- PageSize: list page size (optional, default = 10)
Response:
- array of
- AssetPair: Asset pair code
- CommissionFeePercentage: exchange commission fee
- MaxTradeAmount: maximum trade amount in base asset
- MinTradeAmount: minimum trade amount in base asset
- MaxTradePrice: maximum trade price in quote asset
- MinTradePrice: minimum trade price in quote asset
- MaxDecimalPrecision: maximum allowed decimal precision when specifying price and amount
JWT Authorization header using the Bearer scheme.
Example: "Authorization: Bearer {token}"
Tokens can be generated using the /api/v1/public/auth/login endpoint.
One time pass for the request
Success
Bad Request
Get Quote for Exchange
Possible Error Codes
Sell Exchange
JWT Authorization header using the Bearer scheme.
Example: "Authorization: Bearer {token}"
Tokens can be generated using the /api/v1/public/auth/login endpoint.
One time pass for the request
OK
Bad Request
Optional Request Headers:
Request Body Example:
Success Response Example:
Possible Error Codes
Buy Exchange
Request Body:
- CustomersId: Customer's Id
- AssetPair: Asset pair to trade
- QuantityType: Quantity type indicating whether price or amount is fixed (possible values: Price, Amount)
- Amount: Amount to request to trade
- Price: Price to request to trade for
Response:
- Id: Exhcange Id
- ExchangeType: Exchange type (possible values: Buy, Sell)
- Status: Exchange status (possible values: WaitingForApproval, Rejected, WaitingForConfirmation, AwaitingRfi, Pending, Completed, Failed)
- FromTransactionsId: Associated exchange transaction from debited customer asset account
- ToTransactionsId: Associated exchange transaction to credited customer asset account
- CustomersId: Customer's Id
- AssetPair: Asset pair
- RequestAmount: Amount requested
- RequestPrice: Price requested
- ExecutedAmount: Amount executed
- ExecutedPrice: Price executed
- CommissionFee: Commission fee
- PayeesId: null for buy exchanges
- TransferType: null for buy exchanges
- bHasOpenRfi: false for buy exchanges
Possible validation errors:
- Required
- Invalid
- Price_Too_Low (specified price lower than minimum allowed)
- Amount_Too_Low (specified amount lower than minimum allowed)
- Price_Too_High (specified price higher than maximum allowed)
- Amount_Too_High (specified amount highter than maximum allowed)
- Screening_Failed (transfer to an external payee screening failed, exchange not permitted)
- Insufficient_Customer_Balance (managee does not have sufficient balance for exchange)
- Price_Updated (Asset price has updated, exchange cannot be executed at requested price)
JWT Authorization header using the Bearer scheme.
Example: "Authorization: Bearer {token}"
Tokens can be generated using the /api/v1/public/auth/login endpoint.
One time pass for the request
Success
Bad Request
Optional Request Headers:
Possible Error Codes
List Exchanges
Request query:
- ExchangeType: Exchange type filter (possible values: Buy, Sell) (optional)
- Status: Exchange status filter (possible values: WaitingForApproval, Rejected, WaitingForConfirmation, AwaitingRfi, Pending, Completed, Failed) (optional)
- CustomersId: Customer's Id filter (optional)
- AssetPair: Asset pair filter (optional)
- PageNumber: list page number (optional, default = 1)
- PageSize: list page size (optional, default = 10)
Response:
- array of
- Id: Exhcange Id
- ExchangeType: Exchange type (possible values: Buy, Sell)
- Status: Exchange status (possible values: WaitingForApproval, Rejected, WaitingForConfirmation, AwaitingRfi, Pending, Completed, Failed, AwaitingRfi)
- FromTransactionsId: Associated exchange transaction from debited managee asset account
- ToTransactionsId: Associated exchange transaction to credited managee asset account
- CustomersId: Customer's Id
- AssetPair: Asset pair
- RequestAmount: Amount requested
- RequestPrice: Price requested
- ExecutedAmount: Amount executed
- ExecutedPrice: Price executed
- CommissionFee: Commission fee
- PayeesId: If receiving account is a passthrough account, receiving payee's Id
- TransferType: If receiving account is a passthrough account, type of transfer from passthrough account to payee (possible values: Wire, ACH)
- bHasOpenRfi: Flag indicating if request for information is pending to be submitted (FX only)
JWT Authorization header using the Bearer scheme.
Example: "Authorization: Bearer {token}"
Tokens can be generated using the /api/v1/public/auth/login endpoint.
One time pass for the request
Success
Bad Request
Request Query
Request Query Example
Response Body Example
Review Quote
Response Parameters
Example Response Body
Confirm Sell Exchange
Example Request Body
Example Response Body
Cancel Exchange
Example Response Body
Last updated