cURL
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 } } ] }
List pricing rule logs
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"ACC001"
Response for list Invoice Pricing Rules Logs Request
Pricing Rules Logs response