Retrieve Payments
Overview
There's two available endpoints to retrieve data on existing orders:
Get Payment By ID - Retrieves a single payment by utilizing it's ID as a query parameter
List Payments - Retrieves a list of payments with optional query parameters to filter results
Possible Payment States
NOT_STARTED
Active payment that has not been started yet
EXPIRED
Expired payment that is no longer active
PENDING
Active payment which has been accessed by a client
CAPTURED
Card payment successful, awaiting cryptocurrency transfer
COMPLETE
Completed payment and cryptocurrency transfer
Get Payment By ID
The /quickbuy/v1/get
endpoint is designed to retrieve detailed information about a specific payment using its unique Payment ID. This allows merchants and clients to track the status and details of a transaction.
Endpoint:
/quickbuy/v1/get
Method:
GET
Request Query
OrderID: ID of the order to be retrieved
Response Body
The response will provide comprehensive details about the payment associated with the specified Payment ID, including transaction status, payment details, client information, and any relevant timestamps.
This endpoint is crucial for monitoring individual transactions, providing a reliable method for both merchants and clients to access current and accurate payment information.
Example (200 OK)
List Payments
The /quickbuy/v1/list
endpoint provides a mechanism for retrieving a list of payments, offering flexibility through various query parameters. This allows merchants to view multiple payments based on specified criteria such as date ranges, payment statuses, and more, making it easier to manage and analyze payment transactions.
Endpoint:
/quickbuy/v1/list
Method:
GET
Query Parameteres
PageSize
(optional, default = 10, max 1000): Number of results to be displayedHideExpired
(optional, boolean, lowercase): When true, expired payments will be hiddenState
(optional): Filter by payment state, refer to Possible Payment States
Response Body Example (200 OK)
Last updated