← All errors

secret_key_required

permission_error · HTTP 403

What happened

A publishable key tried to save a payment method to a customer, or to allow off-session use.

What to do

Create the payment method in the browser, then attach it from your server with your secret key.