API Reference
Last updated
Last updated
List all the cryptocurrencies supported by FaTPay;
List all fiat currencies and payment methods
List all the fiat currencies and its' payment methods supported by FaTPay;
Query cryptocurrency quotes based on fiat currency amount and present exchange rate;
Query orders list;
Webhook notification will be sent by FaTPay to the partner when the order status is changed;
Please follow this guide to call FaTPay API interface.
https://api.ramp.fatpay.xyz/
FaTPay API is HTTPS-only.
UTF-8
The following common parameters should be included in headers of FaTPay API requests.
Keys and values are case-sensitive.
X-Fp-Partner-Id
String
Assigned by FaTPay during onboarding process to be Premium Partner, e.g. mqMBpCIP630LJxLY
X-Fp-Nonce
Integer(6)
Random integer, e.g. 183216
X-Fp-Timestamp
Integer(10)
Unix timestamp in second, e.g. 1656600459
X-Fp-Version
String
Version of FaTPay API, e.g. v1.0
X-Fp-Signature
String
Normally, the API response consists of code
, msg
and data
. data
would be null if code
is not 10000
. The returned data
might be an Object
or Array
. It depends on the specific API.
code
String
Y
Error code
msg
String
Y
Error message
data
Object
N
Object
/Array
Signature generated by request parameters and APIPrivateKey
. Check [] for signature algorithm.