#Pain-default-pm

1 messages ยท Page 1 of 1 (latest)

stoic berry
#

Hello ๐Ÿ‘‹
As far as I know, these are separate operations

daring mirage
stoic berry
#

yes the endpoint is correct but if you are using PaymentMethods API then update the invoice_settings.default_payment_method parameter.

daring mirage
#

What's the difference?

#

Oh I see

#

Well, my plan is to set the first card ever saved as the default payment method, if more get saved later they can adjust it accordingly.

#

I plan to wait for a successful payment to go through with a saved card, once it's saved I will get the customers payments and if it's only one card I will set it to default

#

At least that's the only flow I could come up with

stoic berry
#

Gotcha. makes sense.

daring mirage
#

Alright, I will use that approach then; appreciate it.