Skip to content

V2s - update ais balance fields#43

Merged
RaesakAce merged 5 commits into
FlowPay:v2sfrom
alsd4git:v2s
Apr 2, 2026
Merged

V2s - update ais balance fields#43
RaesakAce merged 5 commits into
FlowPay:v2sfrom
alsd4git:v2s

Conversation

@alsd4git
Copy link
Copy Markdown

No description provided.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4e1ab499f9

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread openapi.json
Comment on lines 4263 to 4265
"required": [
"accountId",
"currency"
]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Require a stable identifier in AisAccount

The updated AisAccount schema now requires only currency, while iban remains explicitly optional ("IBAN when available."). This allows account records with no stable identifier at all, which makes downstream account selection and correlation impossible whenever a provider does not return IBANs. Please require at least one identifier (iban or a fallback such as the previous accountId) so clients can always reference a specific account.

Useful? React with 👍 / 👎.

Comment thread openapi.json
Comment on lines 4335 to 4338
"required": [
"accountId",
"asOf",
"date",
"currency"
]
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Require account identifier on AisBalance rows

AisBalance.required now includes only date and currency, and iban is optional, so balance entries can be emitted without any account key. In multi-account consents (or providers that omit IBAN), consumers cannot map a returned balance to an account, which breaks per-account balance views and reconciliation. Keep an always-present identifier (iban or legacy accountId) in the required set.

Useful? React with 👍 / 👎.

Comment thread openapi.json
Comment on lines 4429 to 4433
"required": [
"transactionId",
"accountId",
"bookingDate",
"amount",
"currency"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Require account identifier on AisTransaction entries

After replacing accountId with optional iban, the AisTransaction required list no longer guarantees any account identifier. For transaction listings that include multiple consented accounts, entries without IBAN become unattributable, so clients cannot reliably group or filter transactions per account. Require iban or retain a mandatory fallback identifier.

Useful? React with 👍 / 👎.

@RaesakAce RaesakAce merged commit 60f6672 into FlowPay:v2s Apr 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants