SmartGare
API referenceEndpoints

Read a payout and its statement

**Required permission:** `billing.payout:read`

GET/billing/v1/payouts/{id}

Required permission: billing.payout:read

AuthorizationBearer <token>

In: header

Path Parameters

id*string

Payout id

Response Body

*/*

curl -X GET "https://example.com/billing/v1/payouts/string"
{  "amount": 0,  "carried_count": 0,  "carried_total": 0,  "carrier_id": "string",  "charges": [    {      "amount": 0,      "bases": [        "string"      ],      "charge_id": "string",      "charge_revision": 0,      "closed_at": "2019-08-24T14:15:22Z",      "departure_at": "2019-08-24T14:15:22Z",      "departure_id": "string",      "vehicle_cycle_id": "string",      "vehicle_id": "string",      "vehicle_plate": "string"    }  ],  "charges_count": 0,  "charges_total": 0,  "corrections": [    {      "amount": 0,      "approved_at": "2019-08-24T14:15:22Z",      "approved_by": "string",      "charge_id": "string",      "correction_request_id": "string",      "reason": "string",      "vehicle_cycle_id": "string"    }  ],  "corrections_count": 0,  "corrections_total": 0,  "currency": "string",  "evidence_kind": "string",  "external_reference": "string",  "id": "string",  "late_refunds_count": 0,  "late_refunds_total": 0,  "late_sales_count": 0,  "late_sales_total": 0,  "paid_at": "2019-08-24T14:15:22Z",  "payment_method": "string",  "payment_recorded_at": "2019-08-24T14:15:22Z",  "payment_recorded_by": "string",  "payment_reference": "string",  "payment_register_id": "string",  "period_ends_at": "2019-08-24T14:15:22Z",  "period_id": "string",  "period_reference": "string",  "period_starts_at": "2019-08-24T14:15:22Z",  "produced_at": "2019-08-24T14:15:22Z",  "produced_by": "string",  "proofs_not_kept": [    "string"  ],  "refunds_count": 0,  "refunds_total": 0,  "sales_count": 0,  "sales_total": 0,  "statement_number": "string",  "status": "string"}