v1
latestOpenAPI 3.0.12026-07-26106359429.8 KBCompliance
Update an account
Updates properties on an existing account.
Note: To manage entity relationships, use the /entity_relationships endpoints. Status changes should use dedicated endpoints (/activate, /deactivate, /close).
Idempotency
The Idempotency-Key header is required.
patch/v0/accounts/{id}
Path parameters
idstring required
The ID of the Account object.
Example:account_xyz123
Account ID
Headers
Idempotency-Keystring required
Unique key to ensure idempotent requests
Request body
Example request
{
"application_id": "application_xyz123",
"details": {
"credit": {
"currency": "USD"
}
},
"documents": [
{
"document_id": "document_2N5Hk8xYmQpL9rBvC3jD",
"version": "v1"
}
]
}Response
Account updated successfully.
Example response
{
"id": "account_xyz123",
"application_id": "application_xyz123",
"details": {
"credit": {
"currency": "USD"
}
},
"documents": [
{
"document_id": "document_2N5Hk8xYmQpL9rBvC3jD",
"version": "v1"
}
]
}