GET All Org Purchases

Get merchant's list of purchases

post

Get merchant's list of purchases

This endpoint is used to get all merchant's purchases by its ORGANIZATION_API_KEY.

Request

Headers

  • Authorization: Bearer {{ORGANIZATION_API_KEY}}

Query Params

  • limit: number

  • offset: number

Body

{
  "searchText?": string,
  "statuses": string[],
  "widgetUuids": string[],
  "merchants": string[],
  "createdAt": Date;
}

Response

  • Status: 200 OK

  • Content Type: application/json

Response Body

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
limitintegerOptionalExample: 5
offsetintegerOptionalExample: 0
Body
objectOptionalExample: { // "searchText": "sam" // "statuses": ["Completed"] // "widgetUuids": ["903fea77-636c-477a-9692-d189b92b56bc", "95ba9ae3-7b71-482d-9989-23e420483c59"] // "merchants": ["Merchant #1"] // "createdAt": "2025-04-25T16:43" }
Responses
post
/v1/merchant/purchase/search
201

Created

Last updated

Was this helpful?