Retrieve partner transaction

Retrieve partner transactions

Your API key is a secret. The playground sends it only to Stay22 to run this request — never commit keys or share generated snippets that include one.
GET
/v1/reporting/transactions

Authorization

X-API-KEY<token>

In: header

Query Parameters

thirdParty?string

Optional integration name for analytics only (e.g. "affilimate"). Not used for auth or filtering — your API key scopes the data.

startDate?string

Start of the date range. The field filtered depends on the dateFilter parameter (defaults to lastUpdatedDate). Defaults to 1 year before the current date. Format: YYYY-MM-DD.

endDate?string

End of the date range. The field filtered depends on the dateFilter parameter (defaults to lastUpdatedDate). Defaults to the current date. Format: YYYY-MM-DD.

dateFilter?string

Which date field the startDate/endDate range filters on. Default: lastUpdatedDate.

format?string

Response format. "csv" returns text/csv, "json" returns application/json. Default: csv.

page?integer

Zero-indexed page number for pagination. Use with limit. Default: 0.

limit?integer

Number of records per page. Range: 1-500. Default: 500.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/reporting/transactions"
{  "statusCode": 0,  "partnerId": "string",  "data": [    {      "provider": "string",      "bookingId": "string",      "bookedDate": "string",      "startDate": "string",      "endDate": "string",      "bookingStatus": "string",      "campaignId": "string",      "campaignIds": [],      "commission": "string",      "currency": "string",      "category": "string",      "quantity": 0,      "information": "string",      "destination": "string",      "userCountry": "string",      "device": "string",      "lastUpdatedDate": "string",      "property1": null,      "property2": null    }  ],  "property1": null,  "property2": null}
{  "statusCode": 0,  "error": "string",  "code": "string",  "message": "string",  "requestId": "string",  "details": {    "property1": null,    "property2": null  },  "provider": "string"}
{  "statusCode": 0,  "error": "string",  "code": "string",  "message": "string",  "requestId": "string",  "details": {    "property1": null,    "property2": null  },  "provider": "string"}
{  "statusCode": 0,  "error": "string",  "code": "string",  "message": "string",  "requestId": "string",  "details": {    "property1": null,    "property2": null  },  "provider": "string"}
{  "statusCode": 0,  "error": "string",  "code": "string",  "message": "string",  "requestId": "string",  "details": {    "property1": null,    "property2": null  },  "provider": "string"}
{  "statusCode": 0,  "error": "string",  "code": "string",  "message": "string",  "requestId": "string",  "details": {    "property1": null,    "property2": null  },  "provider": "string"}