#miaina_api
1 messages ยท Page 1 of 1 (latest)
๐ Welcome to your new thread!
โฒ๏ธ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
โฑ๏ธ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
๐ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1344602236046802954
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
I think this is expected, you can't get it via the Customer object. We automatically pull it from the customer, if it exists, for any new payments:
When you create and confirm a PaymentIntent with the customer balance payment method, Stripe looks for an existing VBAN that is assigned to the customer and for the country specified in the request. If the customer does not have an appropriate VBAN, Stripe generates a new VBAN for the customer.
yeah but if you want the information
'does this client have a virtual Iban or not" you are obliged to used the createFund... method
It's quite unconvenient
I guess I will have to store this information on my backend whenever I create a bank_transfer PM
Hmm, not sure I follow. The invoice/payment should automatically pull/create it without you being required to create a Funding Instruction
That's only needed if you don't have a payment
I don't use Invoicing with stripe
I only need to create a vritual IBAN whenever a client want to pay with a bank transfer
You'd still have a Payment Intent though, regardless of an Invoice
When I create it there's not necessarly a PaymentIntent involved
Otherwise, how do you reconcile those payments in Stripe
I attached it to a customer
Seems weird, but ok. I guess what you want to do isn't supported โ you can't find existing VBANs for customers without a payment
Ok, very strange. It seems to be a very common use case for me. thank you anyway
have a great day
No problem, glad I could help!