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
}
}
}Get a collection of billing groups
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
}
}
}Value for the Authorization header parameter.
BillingGroup identifier
The collection page number
The number of items per page
0 <= x <= 100BillingGroup collection
Show child attributes
The name of the billing group.
255"Billing of payments at the end of the month"
The type of the billing group.
Possible values:
start_of_month: The billing group will be charged on the first day of the month.end_of_month: The billing group will be charged on the last day of the month.start_of_year: The billing group will be charged on the first day of the year.end_of_year: The billing group will be charged on the last day of the year.custom: The billing group will be charged on a custom day of the month."end_of_month"
"01F9ZQZJZJQZJZJZJZJZJZJZJZ"
The custom day of the billing group, only used when type is "custom".
x <= 3131
The custom month of the billing group, only used when type is "custom".
x <= 1212
Was this page helpful?