Skip to content

Updates state of all transactions for a given statement.

Request

Security
client_credentials(Required scopes: openidprofilebankservice) or implicit(Required scopes: openidprofilebankservice) or client_credentials_dev(Required scopes: openidprofilebankservice) or implicit_dev(Required scopes: openidprofilebankservice)
Path
companyIdstring, (uuid)required

Id of company that owns the statement

statementIdstring, (uuid)required

Unique StatementId

Body

Update request

stateinteger, (int32)(BankStatementState)required

BankStatementState

  • 0 - Created
  • 1 - Transferred
  • 2 - Error
Enum:012
errorMessagestring or null

Error message (used if State is set to Error)

{ "state": 0, "errorMessage": "string" }

Responses

OK

Body
statementIdstring, (uuid)
companyIdstring, (uuid)
updatedTransactionsArray of strings or null, (uuid)
Response
{
  "statementId": "775b692d-f1fa-4640-9327-0c9bb8d02222",
  "companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
  "updatedTransactions": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ]
}