Payment.Settlement Accounts
Update account
Updates the settlement account object, more specifically only the payout account object within can be updated.
patch/payment/v1/merchants/{account.merchantId}/accounts/{account.id}
Path parameters
account.merchantIdstring required
The merchant id tied to the account.
account.idstring required
The id of the account. Output only.
Query parameters
updateMask.pathsstring[]
The set of field mask paths.
Request body
Example request
{
"accountIdentifier": {
"identifier": "00000012345678",
"type": "SORT_CODE"
},
"appId": "",
"availableBalance": {
"currencyCode": "GBP",
"value": {
"scale": "2",
"unscaledValue": "271100"
}
},
"balance": {
"currencyCode": "GBP",
"value": {
"scale": "2",
"unscaledValue": "276400"
}
},
"countryCode": "GB",
"currencyCode": "GBP",
"id": "744cf927-29cd-475e-9ef2-2b11951d3cc9",
"merchantId": "2c9ba5fd-cbdb-4ed5-84a4-01db5698f0d9",
"name": "Account name",
"payoutAccount": {
"currencyCode": "GBP",
"frequency": "MONTHLY",
"identifier": {
"identifier": "00000070438943",
"type": "SORT_CODE"
}
},
"reservedAmount": {
"scale": "1",
"unscaledValue": "100"
},
"status": "ENABLED",
"type": "APP_ACCOUNT"
}Response
A successful response.
Example response
{
"accountIdentifier": {
"identifier": "00000012345678",
"type": "SORT_CODE"
},
"appId": "",
"availableBalance": {
"currencyCode": "GBP",
"value": {
"scale": "2",
"unscaledValue": "271100"
}
},
"balance": {
"currencyCode": "GBP",
"value": {
"scale": "2",
"unscaledValue": "276400"
}
},
"countryCode": "GB",
"currencyCode": "GBP",
"id": "744cf927-29cd-475e-9ef2-2b11951d3cc9",
"merchantId": "2c9ba5fd-cbdb-4ed5-84a4-01db5698f0d9",
"name": "Account name",
"payoutAccount": {
"currencyCode": "GBP",
"frequency": "MONTHLY",
"identifier": {
"identifier": "00000070438943",
"type": "SORT_CODE"
}
},
"reservedAmount": {
"scale": "1",
"unscaledValue": "100"
},
"status": "ENABLED",
"type": "APP_ACCOUNT"
}