Skip to content

Return policy total financials.

Request

Security
bearerAuth
Path
policyIdintegerrequired

Policy id

Example:123
versioninteger

Version of policy. Version 1 = original policy installments, version 2 - first MTA installments.

  • By default, return the latest installments totals.
Example:1
Headers
X-TENANT-IDstringrequired

Tenant tag

Example:{$inputs.tenant}
curl -i -X GET \
  'https://ledger.app.beta.insly.training/api/v1/ledger/policies/{id}/period-totals' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'X-TENANT-ID: {$inputs.tenant}'

Responses

Successful response with policy total financials.