post https://www.pelcro.com/api/v1/sdk/payment_methods
Create a new payment method for the customer on-session.
Description
Use this protected endpoint to create a new payment method, attach it to the authenticated customer set it as the default. It will return a Payment method resourcewhen successful, with additional information about the setupIntent
, if applicable.