v1
latestOpenAPI 3.1.02026-07-242325051.4 MBTurnoverGroup
TurnoverGroup:Update
Update an existing turnover group. You can only update the turnover group if it is associated with your own merchant registration. If the turnover group is not associated with your own merchant registration, you must have access to the corresponding merchant.
patch/v2/turnovergroups/{turnoverGroupCode}
Path parameters
turnoverGroupCodestring required
TurnoverGroup identifier
Request body
Example request
{
"merchantCode": "M-1234-4321",
"turnoverGroup": {
"bankAccountCode": "BA-1234-4321",
"name": "New Turnover Group for Great Cookies Inc.",
"description": "This is a new turnover group for Great Cookies Inc.",
"paymentDescription": "Payment description for Great Cookies Inc."
}
}Response
OK
Example response
{
"code": "CT-1234-4321",
"name": "New Turnover Group for Great Cookies Inc.",
"description": "This is a new turnover group for Great Cookies Inc.",
"paymentDescription": "Payment description for Great Cookies Inc.",
"merchant": {
"code": "M-1234-4321",
"name": "GMS Demo Merchant",
"status": "ACTIVE"
},
"bankAccount": {
"code": "BA-1234-4321",
"method": "iban",
"iban": {
"iban": "NL91ABNA0417164300",
"bic": "ABNANL2A",
"owner": "Robbert van der Werf"
},
"status": "APPROVED"
},
"createdAt": "2024-06-04T08:15:00+01:00",
"createdBy": "A-1234-4321",
"modifiedAt": "2024-06-04T08:15:00+01:00",
"modifiedBy": "A-1234-4321",
"deletedAt": "A-1234-4321",
"deletedBy": "A-1234-4321"
}