Order

create and query order information .

circle-exclamation
circle-info

Demo code can be found at Github

Deposit_address

Retrieves a deposit address of a specific crypto asset

POST /v1/order/deposit_address

Request Body

Name
Type
Description

currency*

String

the name of crypto asset to deposit

customer_ref_id*

String

The ID for the partner to associate the owner of funds(customer) with transactions

description

String

extend info, don't store any sensitive information

{
    // Response
   "code":200,
   "message":"success",
   "data": {
        "currency": "ETH",
        "address": "0x55d398326f99059fF775485246999027B3197955",
        "tag": ""
    }
}
chevron-rightCode examplehashtag

Query

Retrieves a specific transaction details

POST /v1/order/query

Request Body

Name
Type
Description

request_id*

String

The external ID of the transaction provided by the partner

order_no

String

The ID of the transaction to return

Withdraw

Submits a new withdraw transaction

POST /v1/order/withdraw

Request Body

Name
Type
Description

request_id*

String

The external ID of the transaction provided by the partner

currency*

String

The name of crypto asset to withdraw

address*

String

The destination address to withdraw

tag

String

The withdraw destination tag for Ripple; memo for EOS/XLM

amount*

String

The requested amount to withdraw

notify_url

String

Web-hook url

customer_ref_id*

String

The ID for the partner to associate the owner of funds(customer) with transactions

description

String

extend info, don't store any sensitive information

chevron-rightCode examplehashtag

VerifyDepositAddress

verify an address whether belong to the platform

POST /v1/order/verifyDepositAddress

Request Body

Name
Type
Description

currency*

String

The name of crypto asset related to the address

address*

String

The address to verify

tag

String

Tag for Ripple; memo for EOS/XLM

Pay

allow to submit a payin by checkout page or direct integration

POST /v1/order/pay

Request Body

Name
Type
Description

request_id*

String

The external ID of the transaction provided by the partner

payment_method*

String

The way to pay, values: one of [on_line, direct,on_chain]

amount*

String

order amount

currency*

String

order currency

remark

String

The detail information of product in the checkout page

product_name*

String

The product name to be shown in the checkout page

return_url

String

web redirect url when payment is finish, if needed

notify_url

String

Web-hook url

customer.email

String

The e-mail address of customer

customer.phone

String

The phone number of customer

payment_channel

String

required if payment method is direct, see Enums

payment_type

String

required if payment method is direct, see Enums

customer.name

String

customer name

customer_ref_id*

String

customer unique id

pay_currency

String

The name of crypto asset to pay

customer

JSONString

customer info

Pay Examplechevron-right

Payout

allow to submit a payout request

POST/v1/order/payout

Request Body

Name
Type
Description

request_id*

String

The external ID of the transaction provided by the partner

account_type

String

required if payout_method is wallet_transfer

-one of[ PHONE, EMAIL,CPF, CNPJ ]

account_no*

String

Beneficiary's account No

account_name*

String

Beneficiary's name -Min 5 , Max 100 -

country*

String

country code

bank_code

String

required if payout_method is bank_transfer

wallet_code

String

required if payout_method is wallet_transfer

payout_method*

String

One of [bank_transfer | wallet_transfer]

settle_currency*

String

The currency to receive

amount*

String

Merchant's Payout Amount

currency*

String

Merchant's account currency

remark

String

Payout Remark

- Max length: 40 -

bank_routing_code

String

Bank Routing Code

- Max length: 100 -

document_type

String

Identification type

document_id

String

Identification number

phone*

String

Beneficiary's phone.

email*

String

Beneficiary's email

notify_url

String

web redirect url when payment is finish,if needed

Payout Examplechevron-right

Last updated