Corgi BankDocumentation
OpenAPI

Create a customer group

POST/customer-groups

Open a multi-entity group: a parent business and the subsidiaries or affiliates under it; money moves between members as inter-entity transfers

Headers

Idempotency-KeystringOptional

Send 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 objectsOptional
2 child attributes
customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

rolestringOptional

Subsidiary (default) or affiliate

namestringRequired
parent_customer_idstringRequired

Example cust_2tVh8nqLxq4GbDe0K1F6S9zRcWm

transfer_policystringOptional

Any_member (default) or parent_only

Returns

201 Created

The Customer Group object.

Errors

Every error is a problem document with a stable code. See Errors.

400401403404409412413422424429500503

to move to open esc to close