Skip to content

[Clean up] Update the OpenPaymentsPage command to return bank details and card details from Auth #47944

Description

@mountiny

Problem

We are massaging the response data for the OpenPaymentsPage in Web. We end up sending the card details and bank account details in a different format than in other Auth commands, which leads to confusion. Example is here #47239 where the allowDebit, bank account type and accountNumber were missing in response from the AcceptACHContractForBankAccount command

### Solution

Start returning the card and bank account details for OpenPaymentsPage from Auth so we can use the same methods as we do in other commands like in OpenCardDetailsPage

Metadata

Metadata

Labels

BugSomething is broken. Auto assigns a BugZero manager.InternalRequires API changes or must be handled by Expensify staffMonthlyKSv2ReviewingHas a PR in review

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions