#Amer Bearat
1 messages · Page 1 of 1 (latest)
Hi there! I believe you should be able to retrieve it if you expand the PaymentMethod object
how i can expend PaymentMethod object
I recommend reviewing our docs to get started with expansion, and testing this out:
https://stripe.com/docs/api/expanding_objects
when we make payment using us_bank_account. the payment will be in pending status for 4-5 days. Do i have the bank name while payment status is pending?
bank name will be available when the status goes to success or decline
I'm not quite sure I follow. Looking at req_TTxIexX1yQk16T, I see you're passing a value for billing_details.name. This value is what will be saved as the billing name for the PaymentMethod and what will be returned if you retrieve or expand the PaymentMethod
ah, sorry, my misunderstanding!
ok np
when we make payment using us_bank_account. the payment will be in pending status for 4-5 days. Do i have the bank name while payment status is pending?
is this right or i can get the bank name from the response body?
You'll still need to retrieve the PaymentMethod, but I'm not sure if you'll be able to see the bank name while the PaymentIntent is still processing
Let me do some digging
ok
Sorry for the delay!
Based on what I've found so far, the bank name should be visible as a value of payment_method.us_bank_account.bank_name after the PI is confirmed/if the PI is in a processing state
@jovial pewter let me know if there's anything else I can help with!