#vitorLeitao
1 messages · Page 1 of 1 (latest)
👋 happy to help
do you mean using an account in UK?
no no, I mean while using an euros account
So what happens, in the case of bank transfer is that we are generating the payment like this
this is bank transfer for an account in EU
var options = new PaymentIntentCreateOptions
{
Amount = parameters.Amount * 100,
Currency = string.IsNullOrEmpty(parameters.CurrencyCode) ? "gbp" : parameters.CurrencyCode.ToLower(), //In here it will be eur for euros
Customer = parameters.CustomerId,
PaymentMethodTypes = new List<string>
{
"customer_balance",
},
PaymentMethodData = new PaymentIntentPaymentMethodDataOptions()
{
Type = "customer_balance",
},
PaymentMethodOptions = new PaymentIntentPaymentMethodOptionsOptions()
{
CustomerBalance = new PaymentIntentPaymentMethodOptionsCustomerBalanceOptions()
{
FundingType = "bank_transfer",
BankTransfer = new PaymentIntentPaymentMethodOptionsCustomerBalanceBankTransferOptions()
{
Type = "gb_bank_transfer"
}
}
},
Confirm = true
};
in EU direct debit is SEPA https://stripe.com/docs/payments/sepa-debit/accept-a-payment
please read through the 2 docs that I sent you
they have all the implementation details