Skip to main content

Create a ledger billing group report

POST 
/ledger_billing_group_reports

Create a ledger billing group report

Request

Body

required

New ledger billing group report parameters

    year integer

    Year of the ledger billing group report

    month integer

    Month of the ledger billing group report

Responses

200: Expected ledger billing group report response to a valid request

default: Unexpected error

Request samples


curl -L 'https://api.telnyx.com/v2/ledger_billing_group_reports' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer <TOKEN>' \
-d '{
"year": 2019,
"month": 10
}'

Response samples


{
"data": {
"record_type": "ledger_billing_group_report",
"id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
"organization_id": "f5586561-8ff0-4291-a0ac-84fe544797bd",
"report_url": "https://example.com",
"created_at": "2019-10-15T10:07:15.527Z",
"updated_at": "2019-10-15T10:07:15.527Z"
}
}