POST /merchant/account/{clientId}/collection-accounts| Field Name | Type | Required | Description |
|---|---|---|---|
| clientId | Long | TRUE | Identifier of the merchant |
| Field Name | Type | Required | Description |
|---|---|---|---|
| groupCode | String | TRUE | Group code to update |
| collectionAccount | String | TRUE | 10 digit account id (NUBAN) of an account inside the group code |
| Field Name | Type | Description |
|---|---|---|
| clientId | Long | Merchant identifier |
| type | String | Group code type: Normal, Invoice or Utility |
| subLedgerType | String | Same as type |
| groupCode | String | Group code |
| accountId | String | Parent account id of the group code |
| balance | Number | Balance of the group code |
| description | String | Group code description |
| enforceExternalId | String | true when customer NUBANs are enforced |
| lastTransDate | String | Date of the last transaction |
| collectionAccount | String | The collection account now set |
| createdOn | String | Creation date |