#smudgester
1 messages · Page 1 of 1 (latest)
Hey there, you're trying to set up sepa payment methods using IBANs? Is that right?
Not exactly.
Basically we are after an endpoint that when passed either sort code, account number and country code OR iban and country code returns a response confirming if it's a valid account or not.
We are not setting up a payment, at this point, just validating that the information the user has entered is correct. If you know what I mean ?
There is no API that offers what you ask. You'll want to look at our options for setting up payment methods for future use via setup intents.
For example, you could use setup intents and specify support for a list of payment method types you want to offer (or use the automatic list after configuring in your dashboard) then use the payment element to collect the details:
https://stripe.com/docs/payments/save-and-reuse
Or you can set up the different payment method types individually, and for example confirm the setup details for an IBAN like shown here:
https://stripe.com/docs/payments/sepa-debit/set-up-payment?platform=web#web-submit-payment-method
stripe.confirmSepaDebitSetup(
clientSecret,
{
payment_method: {
sepa_debit: iban,
billing_details: {
name: accountholderName.value,
email: email.value,
},
},
}
);