Skip to Content

Public M2M API — banking

Review the operation, its input and access requirements. Parameter names and enum values are protocol identifiers and must retain the exact spelling shown. Optional/defaulted input is marked as such; required fields nested beneath an optional object apply when that object is supplied. Only statically recognized literal constraints are shown; additional validation, conditional requirements and provider rules may apply.

Authentication and permissions · Requests, results and recovery

/api/v1/banking/accounts

Exported methods: GET, POST

GET

  • Resource scopes: banking:read
  • Response keys observed across outcomes: data

POST

  • Resource scopes: banking:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: create_failed, invalid_request, onboarding_incomplete
  • Response keys observed across outcomes: account

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
accountIdstringYesYes——
bankNamestringYesYes——
bicstringYesYes——
currencystringYesNo—default("EUR")
ibanstringYesYes——
isActivebooleanYesNo—default(true)
isDefaultbooleanYesNo—default(false)
namestringNoNo—min(1), max(200)
notesstringYesYes——
openingBalancenumberYesNo—default(0)

/api/v1/banking/accounts/{id}

Exported methods: GET, PATCH, DELETE

GET

  • Resource scopes: banking:read
  • Path parameters: id
  • Response keys observed across outcomes: account

PATCH

  • Resource scopes: banking:write
  • Path parameters: id
  • Explicit response statuses: 422
  • Explicit error codes: invalid_request
  • Response keys observed across outcomes: account

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
accountNumberstringYesYes—max(64)
bankNamestringYesNo—min(1), max(160)
bicstringYesYes—max(32)
currencystringYesNo—max(10)
ibanstringYesYes—min(5), max(64)
isActivebooleanYesNo——
isDefaultbooleanYesNo——
namestringYesNo—min(1), max(160)
notesstringYesYes—max(1000)
typeenumYesNochecking, savings, credit_card, cash, other—

DELETE

  • Resource scopes: banking:write
  • Path parameters: id
  • Response keys observed across outcomes: deleted, id

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.

/api/v1/banking/transactions

Exported methods: GET, POST

GET

  • Resource scopes: banking:read
  • Query parameters: bankAccountId, endDate, isReconciled, limit, page, startDate, type
  • Shared pagination: Yes
  • Explicit response statuses: 404
  • Explicit error codes: not_found
  • Response keys observed across outcomes: data, pagination

POST

  • Resource scopes: banking:write
  • Explicit response statuses: 201, 400, 409, 422
  • Explicit error codes: banking_operation_failed, invalid_request, onboarding_incomplete
  • Response keys observed across outcomes: reconciliation, transaction

Provide one of these observed alternatives; additional validation may apply.

Payload alternative 1

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
actionliteralYesNoreconcile—
bankTransactionIdstringNoNo—min(1)
journalEntryIdstringNoNo—min(1)
matchTypeenumYesNomanual, autodefault("manual")
notesstringYesNo——

Payload alternative 2

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
datedateNoNo——
valueDatedateYesYes——
descriptionstringNoNo—min(1), max(500)
referencestringYesYes——
amountnumberNoNo——
typeenumNoNodebit, credit—
categorystringYesYes——
counterpartystringYesYes——
notesstringYesYes——
actionliteralYesNorecord—
bankAccountIdstringNoNo—min(1)

/api/v1/banking/transactions/{id}

Exported methods: GET, PATCH, DELETE

GET

  • Resource scopes: banking:read
  • Path parameters: id
  • Explicit response statuses: 404
  • Explicit error codes: not_found
  • Response keys observed across outcomes: transaction

PATCH

  • Resource scopes: banking:write
  • Path parameters: id
  • Explicit response statuses: 404, 422
  • Explicit error codes: invalid_request, not_found
  • Response keys observed across outcomes: transaction

Validated request fields

FieldTypeOptional/defaultedNullableAllowed literal valuesObserved literal constraints
actionenumYesNoupdate, reconcile, unreconcile—
categorystringYesYes—max(100)
counterpartyIbanstringYesYes—max(64)
counterpartyNamestringYesYes—max(200)
deadlineIdstringYesYes——
descriptionstringYesNo—min(1), max(500)
expenseIdstringYesYes——
invoiceIdstringYesYes——
isReconciledbooleanYesNo——
notesstringYesYes—max(1000)
referencestringYesYes—max(120)

DELETE

  • Resource scopes: banking:write
  • Path parameters: id
  • Explicit response statuses: 400, 404
  • Explicit error codes: delete_failed, not_found
  • Response keys observed across outcomes: deleted, id

Request input was not extracted for this operation; consult its specific contract before sending. Do not infer that no body is required.