List trading periods, latest first
**Required permission:** `billing.reconciliation:read`
/billing/v1/reconciliation-periodsRequired permission: billing.reconciliation:read
Authorization
oauth2 In: header
Response Body
*/*
curl -X GET "https://example.com/billing/v1/reconciliation-periods"[ { "ends_at": "2019-08-24T14:15:22Z", "id": "string", "lines": [ { "carrier_id": "string", "currency": "string", "late_refunds_count": 0, "late_refunds_total": 0, "late_sales_count": 0, "late_sales_total": 0, "owed": 0, "refunds_count": 0, "refunds_total": 0, "sales_count": 0, "sales_total": 0 } ], "opened_at": "2019-08-24T14:15:22Z", "opened_by": "string", "reconciled_at": "2019-08-24T14:15:22Z", "reconciled_by": "string", "reference": "string", "revision": 0, "separate_duties": true, "starts_at": "2019-08-24T14:15:22Z", "status": "string", "validated_at": "2019-08-24T14:15:22Z", "validated_by": "string" }]Record how a payout was paid
Attests that the exact payout was paid outside SmartGare by bank transfer or wallet, with the outside reference and the moment it was paid, under one stable payment reference. The amount, currency and carrier are the payout's. The payout then reads paid; the same reference with the same facts answers the payment kept, anything else on a paid payout is refused. **Required permission:** `billing.payout:pay`
Open a trading period
Opens the half-open interval [starts_at, ends_at) under the caller's reference. The same reference sent again with the same interval answers the period already opened. **Required permission:** `billing.reconciliation:write`