Create a Stripe Checkout Session in setup mode for collecting a customer’s payment method
cURL
curl --request POST \ --url https://api.auctionnow.io/api/alpha/merchant/customers/{customerId}/paymentSetup \ --header 'Authorization: <authorization>' \ --header 'Content-Type: application/json' \ --data ' { "data": { "successUrl": "<string>", "cancelUrl": "<string>" } } '
{ "data": { "setupUrl": "<string>", "clientSecret": "<string>" }, "timestamp": 123, "message": "<string>" }
Your Auction Now API key as a Bearer token
"Bearer ak_XXXXXXX"
The unique ID of the customer
Input data for creating a payment setup session
Show child attributes
Payment setup session created