Skip to main content
GET
/
v1
/
deals
/
transactions
Get transactions
curl --request GET \
  --url https://api.onsleek.ai/v1/deals/transactions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "4812f869-dd9a-48e2-8dae-1658cb4569bf",
      "country": "US",
      "activatedAt": "2021-09-01T12:00:00.000Z",
      "clickedAt": "2021-09-01T12:00:00.000Z",
      "soldAt": "2021-09-01T12:00:00.000Z",
      "updatedAt": "2021-09-01T12:00:00.000Z",
      "currencyCode": "USD",
      "orderValue": 112.45,
      "cashback": 23.14,
      "status": "CONFIRMED",
      "passbackUid": "your_uid_here",
      "retailerId": "b1a2c3d4-e5f6-7g8h-9i0j-k1l2m3n4o5p6",
      "retailerName": "Retailer Name",
      "retailerLogo": "https://example.com/logo.png",
      "payoutId": 12345,
      "passbackData": "your_data_here",
      "cashbackOfferId": "10c39198-ce3f-45ea-a7ae-fab4a2ba936a",
      "couponId": "ad2b56ad-3f14-4587-9d2d-88612479e30f",
      "promotionId": "efe308d6-63c7-472e-ac8d-5f722322052b"
    }
  ],
  "cursor": "<string>"
}

Authorizations

Authorization
string
header
required

API key for accessing the Sleek API.

Query Parameters

cursor
string

The ID of the next item that will be fetched. Format: UUID RFC 4122

updatedAtLessThan
string

Filter for transactions that were updated before this date time. Format: ISO 8601

updatedAtGreaterThan
string

Filter for transactions that were updated after this date time. Format: ISO 8601

Response

200 - application/json

List of transactions.

data
object[]
required
cursor
string

The ID of the next item in the list. Defined if there are more items to fetch. Pass this as the cursor query parameter to fetch the next page. Format: UUID RFC 4122