Accounts
Update an account
Changed onpatch/accounts/{bank_account_token}
Request
- Base URLhttps://sandbox.alloy.co/v1
- Auth
- OAuth 2Client credentialsToken URL/oauth/bearer
- or HTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"external_account_id": "test-account-001",
"account_class": "deposit",
"entities": [
{
"external_entity_id": "entity-01",
"account_holder_type": "primary"
}
],
"account_snapshot": {
"timestamp": "2022-03-21T21:50:07.623Z",
"details": {
"status": "Active"
}
}
}Response
Account has been updated
Example response
{
"external_account_id": "test-account-001",
"account_class": "deposit",
"entities": [
{
"external_entity_id": "entity-01",
"account_holder_type": "primary"
}
],
"account_snapshot": {
"timestamp": "2022-03-21T21:50:07.623Z",
"details": {
"status": "Active"
}
}
}Changes
- breaking
added to the request body
allOflist - warning
removed from the request body
allOflist - info
added to the response body
allOflist for the response status - info
removed from the response body
allOflist for the response status
- breaking