Skip to content

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

Merged
diogoyaguas merged 4 commits into
masterfrom
DEV-131521
Jun 1, 2026
Merged

DEV-131521: add account_identity and account_balance support to BankWirePaymentDetails#212
diogoyaguas merged 4 commits into
masterfrom
DEV-131521

Conversation

@diogoyaguas
Copy link
Copy Markdown
Contributor

@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
Comment thread riskified-sdk/pom.xml Outdated
Comment thread riskified-sdk/pom.xml Outdated
@diogoyaguas diogoyaguas merged commit b5a08c4 into master Jun 1, 2026
2 checks passed
@diogoyaguas diogoyaguas deleted the DEV-131521 branch June 1, 2026 15:52
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