add customer payment method

Collect a payment method / credit card for a customer.

Calling this method creates a short-lived Stripe Checkout Session to allow your customers to enter payment method details. This API will return a Stripe URL to which you should redirect your customers to securely add their credit card information. Upon completion, Stripe will redirect back to the provided URLs.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The customer ID

Body Params
string
required

The url to which to redirect after successful payment method creation

string
required

The url to which to redirect after failed payment method creation

Headers
string
required

Your Kable client ID, found in the dashboard of your Kable account.

string
required

Your LIVE or TEST secret key.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json