Skip to main content
GET
/
monetization
/
transactions
/
v1
cURL
curl --request GET \
  --url https://api.mottostreaming.com/monetization/transactions/v1 \
  --header 'Authorization: Bearer <token>'
{
  "transactions": [
    {
      "offer_id": "<string>",
      "id": "<string>",
      "project_id": "<string>",
      "user_id": "<string>",
      "offer_title": "<string>",
      "offer_description": "<string>",
      "status": "TRANSACTION_STATUS_UNSPECIFIED",
      "msrp": {
        "currency_code": "<string>",
        "units": "<string>",
        "nanos": 123
      },
      "subtotal_amount": {
        "currency_code": "<string>",
        "units": "<string>",
        "nanos": 123
      },
      "total_amount": {
        "currency_code": "<string>",
        "units": "<string>",
        "nanos": 123
      },
      "vat_amount": {
        "currency_code": "<string>",
        "units": "<string>",
        "nanos": 123
      },
      "discount_code": "<string>",
      "discount_amount": {
        "currency_code": "<string>",
        "units": "<string>",
        "nanos": 123
      },
      "discount_percentage": 123,
      "billing_period": "BILLING_PERIOD_UNSPECIFIED",
      "access_period": "ACCESS_PERIOD_UNSPECIFIED",
      "payment_method_id": "<string>",
      "subscription_id": "<string>",
      "create_time": "2023-11-07T05:31:56Z",
      "capture_time": "2023-11-07T05:31:56Z",
      "is_test": true
    }
  ],
  "next_page_token": "<string>",
  "summary": {
    "total_count": 123,
    "total_revenue_by_currency": {}
  }
}

Authorizations

Authorization
string
header
required

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

Query Parameters

page_size
integer<int32>

Maximum number of records to return

project_id
string
filter
string

Filter the result-set by properties using a subset of the Kibana Query Language. Only AND statements are supported. Currently supports filtering on cleeng_transaction_id field.

page_token
string

The pagination token in the List request.

include_summary
boolean

Whether to include summary information in the response.

Response

OK

transactions
object[]
next_page_token
string

The pagination token that should be used to get next page results. An empty value means no more results

summary
object

Summary about the response. This always matches the filter criteria of the request, but ignores pagination.