GET
/
invoice
/
{invoice_id}
/
pricing_rules_logs
curl --request GET \
  --url https://api.togai.com/invoice/{invoice_id}/pricing_rules_logs \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "rule_log.21x6RLQxnpg.1DHMH",
      "ruleId": "pp_rule.21wpdBGbhRI.L26uj",
      "order": 1,
      "changes": {
        "key": "urc.um.21wpFfFWtw0.PDfXy",
        "oldUsage": 100,
        "newUsage": 200,
        "oldRevenue": 200,
        "newRevenue": 400
      }
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

invoice_id
string
required
Example:

"ACC001"

Response

200
application/json
Response for list Invoice Pricing Rules Logs Request

Pricing Rules Logs response

data
object[]
required

Pricing Rules Logs