Zum Hauptinhalt springen
GET
/
customers
/
{customerId}
/
billing-groups
cURL
curl -X GET \
 /customers/{customerId}/billing-groups \
 --header "Authorization: Bearer <token>"
{
  "data": [
    {
      "name": "Billing of payments at the end of the month",
      "type": "end_of_month",
      "id": "01F9ZQZJZJQZJZJZJZJZJZJZJZ",
      "customDay": 31,
      "customMonth": 12
    }
  ],
  "meta": {
    "pagination": {
      "totalItems": 123,
      "itemsPerPage": 123,
      "currentPage": 123,
      "lastPage": 123,
      "pageTotalItems": 123
    }
  }
}

Autorisierungen

Authorization
string
header
erforderlich

Value for the Authorization header parameter.

Pfadparameter

customerId
string
erforderlich

BillingGroup identifier

Abfrageparameter

page
integer
Standard:1

The collection page number

limit
integer
Standard:30

The number of items per page

Erforderlicher Bereich: 0 <= x <= 100

Antwort

BillingGroup collection

data
object[]
meta
object