POST /v1/billing/account-groups
BillingService_CreateAccountGroup
The server validates credentials, tenant, environment and permissions. This page does not send requests. Replace example values; deployed server validation remains authoritative.
Parameters
No path or query parameters.
Request body
codestringgroup_typestringidempotency_keystringnamestring
cURL
curl --request POST 'https://nexus-api.rainlib.com/v1/billing/account-groups' \
--header 'Authorization: Bearer <NEXUS_ACCESS_TOKEN>' \
--header 'Content-Type: application/json' \
--data '{
"code": "<value>",
"group_type": "<value>",
"idempotency_key": "<value>",
"name": "<value>"
}'Response contract
200 · OK
codestringcreated_atstringenvironment_idstringgroup_typestringidstringmember_countstringmembersarrayExpand fields
account_typestringconsent_statusstringcreated_atstringcustomer_account_idstringcustomer_codestringcustomer_namestringidstringpriorityinteger · int32relationshipstringstatusstringversionstring
namestringstatusstringupdated_atstringversionstring
Generated responses do not enumerate every runtime error. See the integration guide for authentication, conflicts and retries.