SmartGare
API referenceEndpoints

List a carrier's paid payouts

BIL-014. Every payout paid to the carrier, cash included, newest payment first, one bounded page at a time: the statement and period, how and when it was paid, and the exact amount in the payout's own currency. The totals cover every paid payout of the carrier, one per currency, whichever the page. Billing does not record who received the money, so each payout says the recipient was not recorded. A carrier paid nothing answers empty lists. **Required permission:** `billing.payout:read`

GET/billing/v1/carriers/{carrierId}/paid-payouts

BIL-014. Every payout paid to the carrier, cash included, newest payment first, one bounded page at a time: the statement and period, how and when it was paid, and the exact amount in the payout's own currency. The totals cover every paid payout of the carrier, one per currency, whichever the page. Billing does not record who received the money, so each payout says the recipient was not recorded. A carrier paid nothing answers empty lists.

Required permission: billing.payout:read

AuthorizationBearer <token>

In: header

Query Parameters

cursor?string

The next_cursor of the previous page, to continue after it

limit?integer

Page size, 1 to 100; 50 when absent

Formatint32
Range1 <= value <= 100

Response Body

*/*

curl -X GET "https://example.com/billing/v1/carriers/{carrierId}/paid-payouts"
{  "items": [    {      "amount": 0,      "currency": "string",      "evidence_kind": "string",      "external_reference": "string",      "paid_at": "2019-08-24T14:15:22Z",      "payment_method": "string",      "payment_reference": "string",      "payment_register_id": "string",      "payout_id": "string",      "period_id": "string",      "period_reference": "string",      "proof_state": "string",      "recipient_recorded": true,      "statement_number": "string"    }  ],  "next_cursor": "string",  "totals": [    {      "amount": 0,      "count": 0,      "currency": "string"    }  ]}