Create a payment method for a customer
Documentation Index
Fetch the complete documentation index at: https://docs.unprice.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body of the request
The customer create payment method request
The payment provider code to use
stripe, square "stripe"
The unprice customer id generated by the system for this customer
"cus_1234567890"
The success url if the customer signs up
"https://example.com/dashboard"
The cancel url if the customer cancels the signup
"https://example.com/login"