GET
/
monetization
/
transactions
/
v1
/
{transaction_id}
curl --request GET \
  --url https://api.mottostreaming.com/monetization/transactions/v1/{transaction_id} \
  --header 'Authorization: Bearer <token>'
{
  "transaction": {
    "id": "<string>",
    "project_id": "<string>",
    "user_id": "<string>",
    "offer_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
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

transaction_id
string
required

Query Parameters

project_id
string

Response

200
application/json
OK
transaction
object