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
Name | Type | Description |
---|---|---|
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
Name | Type | Description |
---|---|---|
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 |
Cancel a conversion
DELETE
https://api.aquanow.io/payment/v1/conversion
Request Body
Name | Type | Description |
---|---|---|
invoiceId* | String |
Quote a conversion
POST
https://api.aquanow.io/payment/v1/conversion/quote
Request Body
Name | Type | Description |
---|---|---|
invoiceId* | String |
Execute a conversion
POST
https://api.aquanow.io/payment/v1/conversion/execute
Request Body
Name | Type | Description |
---|---|---|
invoiceId* | String |
Last updated