Skip to main content
POST
/
v1
/
customer-sessions
/
{sessionId}
/
select-plan
Create checkout session from selected customer-session plan
curl --request POST \
  --url https://api.example.com/v1/customer-sessions/{sessionId}/select-plan \
  --header 'Content-Type: application/json' \
  --data '
{
  "planRef": "<string>"
}
'

Path Parameters

sessionId
string
required

Customer session ID

Example:

"9a12833f942007f39e0ea3713e3a75fd"

Body

application/json
planRef
string
required
Minimum string length: 1

Response

Checkout session created and plan selected successfully