I’m adding a new feature to my Stripe app that creates a virtual IBAN using the Customer Balance Funding Instructions API. I’m following the example in Stripe docs here:
https://docs.stripe.com/payments/customer-balance/funding-instructions?dashboard-or-api=funding-instructions-api
Here’s the Go snippet I’m using:
params := &stripe.CustomerCreateFundingInstructionsParams{
FundingType: stripe.String(string(stripe.FundingInstructionsFundingTypeBankTransfer)),
BankTransfer: &stripe.CustomerCreateFundingInstructionsBankTransferParams{
Type: stripe.String(string(stripe.FundingInstructionsBankTransferTypeEUBankTransfer)),
EUBankTransfer: &stripe.CustomerCreateFundingInstructionsBankTransferEUBankTransferParams{
Country: stripe.String(country),
},
},
Currency: stripe.String(string(stripe.CurrencyEUR)),
}
params.SetStripeAccount(accountID)
result, err := customer.CreateFundingInstructions(customerID, params)
if err != nil {
return nil, err
}
When testing with connected accounts that have installed the app, I’m getting this error:
[ERROR] Request error from Stripe (status 403):
{"code":"more_permissions_required_for_application",
"status":403,
"message":"This application does not have the required permissions for this endpoint on account 'acct_...'. Having the 'read_write' scope would allow this request to continue"}
Currently, our app requests these permissions:
- secret_write
- event_read
- invoice_read
- credit_note_read
- connected_account_read
- customer_read
- payment_intent_read
- payment_intent_write
- product_read
- coupon_read
- tax_rate_read
- elements_write
I also tried adding customer_write and payment_method_write, but the same error persists.
Could you please confirm which permission or scope is required for this endpoint?
I’m adding a new feature to my Stripe app that creates a virtual IBAN using the Customer Balance Funding Instructions API. I’m following the example in Stripe docs here:
https://docs.stripe.com/payments/customer-balance/funding-instructions?dashboard-or-api=funding-instructions-api
Here’s the Go snippet I’m using:
When testing with connected accounts that have installed the app, I’m getting this error:
Currently, our app requests these permissions:
I also tried adding customer_write and payment_method_write, but the same error persists.
Could you please confirm which permission or scope is required for this endpoint?