#dalan-default-pm

1 messages · Page 1 of 1 (latest)

earnest pond
#

Great question! Give me a moment to double-check something and I'll get back to you.

#

Apologies for the delay. So that field is there in case you already have a payment method created when you're creating the customer. It allows you to pass the ID of that payment method (pm_xxx) into the payment_method and invoice_setting.default_payment_method fields to create the customer with that PM attached and set it as the default.

hard marsh
#

Right that makes sense. But does the description of this parameter make sense to you?

#

It seems to imply the PM is already attached

#

How would I create a test customer with a test payment method and set it as the default PM in a single request, would that be possible?