#Arvind hariharan
1 messages · Page 1 of 1 (latest)
Hi Do we have any external API for CollectBankAccountForPayment in stripe ACH?
Hmm that is a Stripe.JS method. What do you mean exactly by "external API" here?
I mean similar to other API's like create payment intent and confirm payment intent
Actually i am writing unit test cases and since we create a paymentintent , collectBankAccountForPayment and confirmPaymentIntent
was checking if we have an API for collectinBankAccountPayment
so that it could be dynamic
collectBankAccountForPayment is a frontend request versus creating a PaymentIntent is a server-side request
or else i need to mock the response of confirm payment intent
Overall you should be mocking the responses here any ways
Like we talk about for automated testing here: https://stripe.com/docs/automated-testing
Okay so its a front end request only right
and we need to mock the response
just confirming
Yep