GET
/
transactions
curl --request GET \
  --url https://app.masivo.ai/api/storefront/v1/transactions \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "brand_id": "<string>",
      "event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "channel_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "store_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "funded_by": "MARKETING",
      "event_type": "PURCHASE",
      "reward_type": "POINTS",
      "reward_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "amount": 123,
      "cost": 123,
      "details": "<string>",
      "type": "ACCUMULATION",
      "receiver_id": "<string>",
      "sender_id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "issued_at": "2023-11-07T05:31:56Z",
      "attributes": {
        "line": {
          "amount": 123,
          "reward_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "campaign_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "brand_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "issued_at": "2023-11-07T05:31:56Z",
          "expiration_date": "2023-11-07T05:31:56Z",
          "reservation_expires_at": "2023-11-07T05:31:56Z"
        },
        "campaign_name": "<string>"
      },
      "metadata": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

date
string
required

The date to filter transactions

Example:

"31-07-2024"

brand_id
string | null

The brand id to filter transactions

reward_id
string

The reward id to filter transactions

campaign_id
string | null

The campaign id to filter transactions

event_id
string | null

The event id to filter transactions

type
enum<string>

The type of the transaction

Available options:
ACCUMULATION,
REDEMPTION,
EXPIRATION,
MIGRATION,
TRANSFER,
REVERSAL
funded_by
string

The funder of the transactions

Example:

"MARKETING"

Response

200 - application/json
Ok
data
object[]