Logo
Sign in Sign up
Hero Image

API Token

To interact with API it is necessary to get a key in personal cabinet on the page of profile settings. The received key should be passed in headers when calling API.
Get started for free
Shape
Shape
Shape
Shape
Shape
Shape

Create Order

This method returns the address to receive the cryptocurrency.
Request method:
GET
URL:
https://api.cryptoflow.cloud/neworder
Request parameters:
Parameter
Type
Description
coin
str
Cryptocurrency Symbol Code (xmr,btc,trc,usdt_trc20)
amount
float
The amount to be sent by the customer to the address received
qrcode
bool (optional)
Flag indicating whether to return the QR code for the received address in base64 format
inusd
bool (optional)
If present in the request specified previously amount is read as the value in USD
shopid
str
shopid

// Example

curl -X GET -H "Authorization: Bearer *your_token*" https://api.cryptoflow.cloud/neworder?coin=usdt_trc20&amount=100&inusd=true&shopid=*sid*

// Result of a successful request

{"address": "*address*", "amount": "102.000", "chainname": "Tether USD", "err": false, "expires_sec": 10800, "id": "*INV_ID*", "qrcode": null, "respcode": 1 }

Check order

This method returns the order information.
Request method:
GET
URL:
https://api.cryptoflow.cloud/checkorder
Request parameters:
Parameter
Type
Description
orderid
str, required
Unique order id.

// Example

curl -X GET https://api.cryptoflow.cloud/getinfo?orderid=*INV_ID*

// Result of a successful request

{"address": "*address*", "amount": "102.000", "chainname": "Tether USD", "err": false, "expires_sec": 10800, "id": "*INV_ID*", "qrcode": null, "respcode": 1 }

// status

0 – awaiting payment
-1 – Expired
1 – awaiting confirmation
2 – payment confirmed

Check balance

This method returns information about the wallet balance
Request method:
GET
URL:
https://api.cryptoflow.cloud/getball
Request parameters:
Parameter
Type
Description
shopid
str
*sid* store.

// Example

curl -X GET -H "Authorization: Bearer *your_token*" https://api.cryptoflow.cloud/getball?shopid=*sid*

// Result of a successful request

{ "err": false, "respcode": 8, "wallets": { "usdt_trc20": "100.000", "btc": "0.00000000", "xmr": "0.00000000", "trx": "0.000000" } }