Create a billing group
Create a billing group, to group the billing date of subscriptions. If a subscription is not assigned to a billing group, it will be charged in the billing interval from creation date.
Subscriptions which are assigned to a billing group will be charged on the billing date of the billing group with proration.
Authorizations
Value for the Authorization header parameter.
Body
The customer of the billing group.
"ad3f4b3c-1b2a-4d5c-8e6f-7a8b9c0d1e2f"
The name of the billing group.
255
"Billing of payments at the end of the month"
The type of the billing group.
start_of_month
, end_of_month
, start_of_year
, end_of_year
, custom
"end_of_month"
The custom day of the billing group, only used when type is "custom".
0 < x <= 31
31
The custom month of the billing group, only used when type is "custom".
0 < x <= 12
12
Response
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.
"01F9ZQZJZJQZJZJZJZJZJZJZJZ"
The custom day of the billing group, only used when type is "custom".
0 < x <= 31
31
The custom month of the billing group, only used when type is "custom".
0 < x <= 12
12
Was this page helpful?