Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Access to ABA fields in FinancialAddress object #1658

Open
dansharky opened this issue Sep 28, 2023 · 2 comments
Open

Access to ABA fields in FinancialAddress object #1658

dansharky opened this issue Sep 28, 2023 · 2 comments

Comments

@dansharky
Copy link

dansharky commented Sep 28, 2023

Is your feature request related to a problem? Please describe.

Hello,
currently one can access IBAN object contained in FinancialAddress:

var iban = financialAddress.getIban();
var bic = iban.getBic(); 

However, if I want to access ABA fields eg. account_number, routing_number and etc.
I still have to get those fields from the json object:

JsonArray financialAdresses = paymentIntent.getRawJsonObject()
.getAsJsonObject("next_action")
.getAsJsonObject("display_bank_transfer_instructions")
.getAsJsonArray("financial_addresses");

JsonObject aba = financialAdresses.get(0).getAsJsonObject();

Describe the solution you'd like

It would be great to access ABA object and its fields in the same way as IBAN:

var aba = financialAddress.getAba();
var accountNumber = aba.getAccountNumber(); 

Describe alternatives you've considered

No response

Additional context

No response

@dansharky dansharky changed the title Access to ABA fields in PaymentIntent object Access to ABA fields in FinancialAddress object Sep 28, 2023
@remi-stripe remi-stripe self-assigned this Sep 28, 2023
@remi-stripe
Copy link
Contributor

@dansharky Thanks for the report! It's on our list to add support for it, we'll circle back on this issue once it's done but it might take a while

@fuesec
Copy link

fuesec commented Dec 6, 2024

is this feature on any roadmap?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants