Billing Group
Get a collection of billing groups
API documentation
User
Tenant
Feature
Entitlement
User & permissions
Settings
- Settings
- Media
- Webhook
- Notification
Payment
- Payment Method
- Transaction
- SEPA XML
- Open Banking
- Bank Account Transaction
Customer
- Customer
- Customer Address
- Customer Email
- Customer Settings
- Customer Otp
Billing
- Invoice
- Invoice Position Item
- Billing Run
Dunning
- Dunning Document
- Dunning Rule
Subscription
- Subscription
- Subscription Item
- Subscription Measurement
- Billing Group
Offers
- Offer
- Offer Recipient
- Offer Template
Catalogue
- Unit
- Measurement
- Product
- Product Family
- Price Plan
- Coupon
Checkout
- Checkout Link
- Cart
Accounting
Billing Group
Get a collection of billing groups
Get a collection of billing groups
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
Value for the Authorization header parameter.
Path Parameters
BillingGroup identifier
Query Parameters
The collection page number
The number of items per page
Required range:
0 < x < 100
Response
200
application/json
BillingGroup collection
The name of the billing group.
Maximum length:
255
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.
The custom day of the billing group, only used when type is "custom".
Required range:
0 < x < 31
The custom month of the billing group, only used when type is "custom".
Required range:
0 < x < 12
Was this page helpful?
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
}
}
}