Create a customer group
POST
/customer-groupsOpen a multi-entity group: a parent business and the subsidiaries or affiliates under it; money moves between members as inter-entity transfers
Headers
Idempotency-KeystringOptionalSend on every write that creates or changes money or state; a replay with the same key returns the original result with 200.
Body parameters
membersarray of objectsOptional2 child attributes
customer_idstringRequiredExample cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm
rolestringOptionalSubsidiary (default) or affiliate
namestringRequiredparent_customer_idstringRequiredExample cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm
transfer_policystringOptionalAny_member (default) or parent_only
Returns
201 Created
Errors
Every error is a problem document with a stable code. See Errors.
400401403404409412413422424429500503