Zum Inhalt springen
In der Referenz stöbern
Alle Ressourcen

Konten

14 Endpunkte · Die Endpunktbeschreibungen sind auf Englisch.

List accounts in this household

GET/households/{householdId}/accounts
read:accounts

Parameter

NameOrtErforderlich
statusqueryOptional
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -X GET https://api.vokse.ai/households/current/accounts
Antwort200 · Success

Create a financial account

POST/households/{householdId}/accounts
write:accounts
Request-Body
json
{  "name": "Everyday checking",  "type": "checking",  "currency": "EUR",  "balanceCents": "125000"}
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -H "Content-Type: application/json" \     -H "Idempotency-Key: $(uuidgen)" \     -X POST https://api.vokse.ai/households/current/accounts \     -d '{"name":"Everyday checking","type":"checking","currency":"EUR","balanceCents":"125000"}'
Antwort201 · Success

Get a single account with its computed balance

GET/households/{householdId}/accounts/{accountId}
read:accounts

Parameter

NameOrtErforderlich
accountIdpathErforderlich
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -X GET https://api.vokse.ai/households/current/accounts/{accountId}
Antwort200 · Success

Update an account

PATCH/households/{householdId}/accounts/{accountId}
write:accounts

Parameter

NameOrtErforderlich
accountIdpathErforderlich
Request-Body
json
{  "name": "Joint checking"}
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -H "Content-Type: application/json" \     -H "Idempotency-Key: $(uuidgen)" \     -X PATCH https://api.vokse.ai/households/current/accounts/{accountId} \     -d '{"name":"Joint checking"}'
Antwort200 · Success

Soft-delete an account (rejects non-zero balance unless force)

DELETE/households/{householdId}/accounts/{accountId}
write:accounts

Parameter

NameOrtErforderlich
accountIdpathErforderlich
forcequeryOptional
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -X DELETE https://api.vokse.ai/households/current/accounts/{accountId}
Antwort204 · No content

Daily running balance for an account

GET/households/{householdId}/accounts/{accountId}/balance-history
read:accounts

Parameter

NameOrtErforderlichBeschreibung
accountIdpathErforderlich-
fromDatequeryOptionalYYYY-MM-DD
toDatequeryOptionalYYYY-MM-DD
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -X GET https://api.vokse.ai/households/current/accounts/{accountId}/balance-history
Antwort200 · Success

Close an account; any remaining balance is booked as a balance adjustment dated on the caller's local day

POST/households/{householdId}/accounts/{accountId}/close
write:accounts

Parameter

NameOrtErforderlich
accountIdpathErforderlich
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -H "Idempotency-Key: $(uuidgen)" \     -X POST https://api.vokse.ai/households/current/accounts/{accountId}/close
Antwort200 · Success

Convert an account to another type (safe moves only: same group, cash<->credit, loan<->tracking; crossing the budget boundary is refused with guidance)

POST/households/{householdId}/accounts/{accountId}/convert
write:accounts

Parameter

NameOrtErforderlich
accountIdpathErforderlich
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -H "Idempotency-Key: $(uuidgen)" \     -X POST https://api.vokse.ai/households/current/accounts/{accountId}/convert
Antwort200 · Success

Loan payoff planner: amortization with the current terms, optional extra monthly principal, and this month’s ledger split

GET/households/{householdId}/accounts/{accountId}/loan-projection
read:accounts

Parameter

NameOrtErforderlichBeschreibung
accountIdpathErforderlich-
extraMonthlyCentsqueryOptionalExtra principal paid every month, integer cents
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -X GET https://api.vokse.ai/households/current/accounts/{accountId}/loan-projection
Antwort200 · Success

Loan payoff simulator: what-if projection for an alternative payment, recurring/one-off extras, or a target payoff month (solved to the required payment)

GET/households/{householdId}/accounts/{accountId}/loan-simulation
read:accounts

Parameter

NameOrtErforderlichBeschreibung
accountIdpathErforderlich-
targetPayoffYearMonthqueryOptionalSolve the minimal payment that pays off by this YYYY-MM
oneTimeExtraCentsqueryOptionalOne-off extra principal this month, integer cents
extraMonthlyCentsqueryOptionalExtra principal every month, integer cents
paymentCentsqueryOptionalAlternative full monthly payment, integer cents
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -X GET https://api.vokse.ai/households/current/accounts/{accountId}/loan-simulation
Antwort200 · Success

Dated changes of a loan’s rate, payment and escrow (newest first)

GET/households/{householdId}/accounts/{accountId}/loan-terms-history
read:accounts

Parameter

NameOrtErforderlich
accountIdpathErforderlich
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -X GET https://api.vokse.ai/households/current/accounts/{accountId}/loan-terms-history
Antwort200 · Success

Reconcile account against the real bank balance: books an adjustment for any gap, then locks cleared transactions as reconciled

POST/households/{householdId}/accounts/{accountId}/reconcile
write:accounts

Parameter

NameOrtErforderlich
accountIdpathErforderlich
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -H "Idempotency-Key: $(uuidgen)" \     -X POST https://api.vokse.ai/households/current/accounts/{accountId}/reconcile
Antwort200 · Success

Reopen a previously closed account

POST/households/{householdId}/accounts/{accountId}/reopen
write:accounts

Parameter

NameOrtErforderlich
accountIdpathErforderlich
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -H "Idempotency-Key: $(uuidgen)" \     -X POST https://api.vokse.ai/households/current/accounts/{accountId}/reopen
Antwort200 · Success

Atomically set the manual position of accounts within their groups

POST/households/{householdId}/accounts/reorder
write:accounts
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \     -H "Idempotency-Key: $(uuidgen)" \     -X POST https://api.vokse.ai/households/current/accounts/reorder
Antwort204 · No content