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

Authorizations

Authorization
string
header
required

Value for the Authorization header parameter.

Path Parameters

customerId
string
required

BillingGroup identifier

Query Parameters

page
integer
default:
1

The collection page number

limit
integer
default:
30

The number of items per page

Required range: 0 < x < 100

Response

200
application/json
BillingGroup collection
data
object[]
meta
object