GET
/
v1
/
partner
/
order_history

Auth Header

Please send you API Secret as Bearer token in Authorization header.

Header Key: Authorization

Header Value: Bearer YourApiSecret

Parameters

pageNumber
string

The page number for pagination. Defaults to 0.

pageSize
string

Number of results desired per page.

durationUnit
string

Unit can be seconds, minutes, hours, days, weeks, months

duration
string

Filter to for last number of x duration units.

Example: If you want to fetch data for last 7 days, then durationUnit would be days and duration would be 7

lastUpdatedStartTimeMs
number

Filter for fetching orders updated since this timestamp. This represents epoch time in milliseconds.

Example: 1675581446000

If both duration and lastUpdatedStartTimeMs are provided in filters, then lastUpdatedStartTimeMs will take precedence and duration will be ignored.

orderStatus
string

Filter to fetch orders in a particular status. Possible values are listed in the table below.

ORDER STATUSDefinition
INITIATEDOrder has been created.
PENDINGSimilar to INITIATED. Based on an internal logic, order can be created in INITIATED state or PENDING
PAYMENT_PENDINGUser is attempting to pay for this order.
PAYMENT_SUCCESSPayment has been received for this order.
PROCESSING_CRYPTOWe are releasing the crypto for the end user.
COMPLETEDUser has successfully received crypto in their wallet.
FAILEDOrder failed. Mostly due to payment failure.