Crypto Flow
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 (Full list available here: curl -X GET https://api.cryptoflow.cloud/public/coins_list)
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
currency
str (optional)
The flag shows in which currency the amount amount is specified (usd, rub, eur)
shopid
str
shopid

// Example

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

// Result of a successful request

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

// The payment link is generated as follows:

https://api.cryptoflow.cloud/inv/*INV_ID*

Check order

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

// Example

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

// Result of a successful request

{ "address":"*address*", "admit":"100.00000000", "admitincur":"100.00", "amount":"102.00000000", "commited":null, "currency":"usd", "date":1717675788, "err":false, "expire":1717686587, "received": "0.00000000", "receivedincur": "0.00", "respcode":2, "status":0 }

// 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" } }