On-Chain
How to get a crypto address to submit a payin.
Example
// crypto order
curl --location --request POST '/v1/order/pay' \
--header 'Content-Type: application/json' \
--data-raw '{
* "request_id": "custom_code9982674851738108",
* "currency": "USDT_BSC_TEST",
* "amount": "150",
* "payment_method": "on_chain",
* "product_name": "product info",
"customer_ref_id": "abc123",
* "notify_url": "https://notify.url",
"remark": ""
}'
// Fiat order
curl --location --request POST '/v1/order/pay' \
--header 'Content-Type: application/json' \
--data-raw '{
* "request_id": "custom_code9982674851738108",
* "currency": "CNY",
"pay_currency": "USDT_BSC_TEST",
* "amount": "210",
* "payment_method": "on_chain",
* "product_name": "product info",
"customer_ref_id": "abc123",
* "notify_url": "https://notify.url"
}'Last updated