Create payment methodAsk AIpost https://www.pelcro.com/api/v1/sdk/payment_methodsCreate a new payment method for the customer on-session.Query Paramssite_idint32requiredThe unique identifier of the site associated with your account.Body Paramspayment_gatewaystringenumrequiredThe optional payment gateway, one of stripe, vantiv, tap or cybersource. Always defaults to stripe.stripevantivtapcybersourceAllowed:stripevantivtapcybersourcetokenstringrequiredThe single-use token that represents the payment method details. Typically generated using the payment gateway's tools and libraries.is_defaultbooleanSets the payment method to be defaulttruefalseHeadersAuthorizationstringrequiredDefaults to Bearer eyJ***AcceptstringDefaults to application/jsonResponses 200200 404404Updated about 1 month ago