Skip to content

DEV-131521: add account_identity and account_balance support to BankWirePaymentDetails#212

Open
diogoyaguas wants to merge 3 commits into
masterfrom
DEV-131521
Open

DEV-131521: add account_identity and account_balance support to BankWirePaymentDetails#212
diogoyaguas wants to merge 3 commits into
masterfrom
DEV-131521

Conversation

@diogoyaguas
Copy link
Copy Markdown

@diogoyaguas diogoyaguas commented May 29, 2026

📌 Related Issues: DEV-131521

✅ Type of Change

  • 🚀 Feature
  • 🐛 Bugfix
  • 🔨 Refactor
  • 🧪 Tests
  • 🧹 Chore / Maintenance
  • 📄 Documentation

📝 Problem Statement

BankWirePaymentDetails lacked support for account_identity and account_balance objects, needed to pass account holder identity information and real-time balance data (via providers like Plaid, MX, etc.) on bank transfer/ACH orders.

📝 Solution Overview

Added two new optional fields to BankWirePaymentDetails:

  • accountIdentity — holds names, addresses, phone numbers and emails associated with the payment account
  • accountBalance — holds available balance, service provider, timestamp and currency code

New files:

  • AccountIdentity.java — model with 4 optional fields (names, addresses, phoneNumbers, emails)
  • AccountBalance.java — model with 4 required fields (availableBalance, serviceName, updatedAt, currencyCode)
  • AccountBalanceServiceName.java — enum for the serviceName field (PLAID, MX, STRIPE, TRUELAYER, KLARNA, VISA, MASTERCARD, YODLEE)

Modified:

  • BankWirePaymentDetails.java — added accountIdentity and accountBalance fields

@diogoyaguas diogoyaguas self-assigned this May 29, 2026
@diogoyaguas diogoyaguas requested a review from a team as a code owner May 29, 2026 09:51
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.

1 participant