merchantBalance.updated.event.v1 (v1.0.0)
Emitted at the start of the day for the previous day for all open merchant accounts. It can also be emitted for older days if a transaction is booked with a value date in the past, causing the balances to change.
merchantAccountId string → UUID
requiredMatch pattern:
^[a-fA-F0-9]{32}$merchantNumber integer
requiredmerchantId string → UUID
requiredMatch pattern:
^[a-fA-F0-9]{32}$balances array [object]
requiredItem Details:
creditsCount integer
requireddebitsCount integer
requiredcreditsAmount integer
requireddebitsAmount integer
requiredvalueDate string
requiredMatch pattern:
^\d{4}\-(0[1-9]|1[012])\-(0[1-9]|[12][0-9]|3[01])$openingBalance integer
requiredclosingBalance integer
requiredcurrency string
requiredISO-4217 Code (3 char codes, e.g. SEK,NOK,EUR,DKK)
Match pattern:
^[A-Z]{3}$Max length:
3header object → EventHeader
requiredaggregateId string
requiredeg. PaymentId
aggregateSequenceNumber integer
requiredStarting at 1.
aggregateType string
requiredAggregate root, eg. "payment", "merchant"