Create a new bank account balance
Add a new balance entry for a specific bank account identified by its unique identifier. The balance entry includes the amount, timestamp, and currency code. The endpoint facilitates accurate tracking of the bank account's financial status over time.
POST
/bankaccounts/{id}/balances
curl \
-X POST https://rest.api.24sevenoffice.com/v1/bankaccounts/{id}/balances \
-H "Content-Type: application/json" \
-H "Authorization: string" \
-d '{"amount":1100,"timestamp":"2024-06-01T12:00:00.000Z","currency":{"code":"NOK"}}'
Request examples
# Headers
Authorization: string
# Payload
{
"amount": 1100,
"timestamp": "2024-06-01T12:00:00.000Z",
"currency": {
"code": "NOK"
}
}
Response examples (201)
# Headers
Access-Control-Allow-Origin: string
Access-Control-Allow-Credentials: string
X-Trace-Id: string
# Payload
{
"amount": 1100,
"timestamp": "2024-06-01T12:00:00.000Z",
"currency": {
"code": "NOK"
}
}