curl --location --request POST '/updateAccount' \
--header 'Content-Type: application/json' \
--data-raw '{
"accountCode": "string",
"bankAccountUUID": "string",
"description": "string",
"metadata": {
"property1": "string",
"property2": "string"
},
"payoutMethodCode": "string",
"payoutSchedule": {
"action": "CLOSE",
"reason": "string",
"schedule": "BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT"
},
"payoutSpeed": "INSTANT"
}'{
"accountCode": "string",
"bankAccountUUID": "string",
"description": "string",
"invalidFields": [
{
"errorCode": 0,
"errorDescription": "string",
"fieldType": {
"field": "string",
"fieldName": "accountCode",
"shareholderCode": "string"
}
}
],
"metadata": {
"property1": "string",
"property2": "string"
},
"payoutMethodCode": "string",
"payoutSchedule": {
"nextScheduledPayout": "2019-08-24T14:15:22Z",
"schedule": "BIWEEKLY_ON_1ST_AND_15TH_AT_MIDNIGHT"
},
"payoutSpeed": "INSTANT",
"pspReference": "string",
"resultCode": "string"
}