Conversion API
API specs for conversion workflow, for web portal access, please see here.
Get conversions
GET
https://api.aquanow.io/payment/v1/conversion
Get conversion history by ID or time range.
Query Parameters
invoiceId*
String
startTime*
String
ISO 8601 format
endTime
String
ISO 8601 format. Default to request time.
Create a conversion
POST
https://api.aquanow.io/payment/v1/conversion
Create a conversion invoice by passing conversion info and conversion items(addresses of bills)
Request Body
baseSymbol*
String
Crypto to convert
quoteSymbol*
String
Fiat to receive
quantity*
Number
Total crypto quantity to convert
items*
Array<{paymentId: string}>
An array of object that contains paymentId
of each bills. They must have the same baseSymbol
and quoteSymbol
Cancel a conversion
DELETE
https://api.aquanow.io/payment/v1/conversion
Request Body
invoiceId*
String
Quote a conversion
POST
https://api.aquanow.io/payment/v1/conversion/quote
Request Body
invoiceId*
String
Execute a conversion
POST
https://api.aquanow.io/payment/v1/conversion/execute
Request Body
invoiceId*
String
Last updated