Update a capital account's low balance alert
Update the threshold on a capital account’s low balance alert.
Required permissions: account:update.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
account_id
The ID of the Capital Account.
Headers
X-Penny-As-Business
Act on behalf of another business that has granted you access. Requires the business:act_as permission.
Request
This endpoint expects an object.
threshold_amount
Balance level below which the alert event fires.
Response
The updated capital account.
account_id
Unique identifier for the account.
version
The current version of the account record.
version_time
ISO-8601 timestamp of the most recent account update.
program_id
The identifier of the program associated with this account.
business_id
The identifier of the business associated with this account.
business_entity_id
The identifier of the business entity associated with this account.
status
The current operational status of the account.
Allowed values:
active
Whether the account is currently active and available for use.
currency
ISO-4217 currency code for the account.
Allowed values:
root
Whether this is the root capital account for the business.
available_balance
The balance currently available for transactions, as a decimal string.
total_balance
The total balance including reserved funds, as a decimal string.
alias
An optional label for the account.
description
An optional description of the account's purpose.
type
Account types exposed to client-facing API responses.
Allowed values:
parent_account_id
The identifier of the parent account if this account is part of a hierarchy.
spend_control_id
The identifier of the spend control applied to this account.
auto_top_up
Automatic top-up configuration, if enabled.
low_balance_notification
Low-balance notification configuration, if enabled.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error
500
Internal Server Error