Customer Portal Session
Create a new customer portal session for billing management
Authorizations
Your secret API key obtained from the Clink dashboard (Developers section)
Headers
Current timestamp in milliseconds since Unix epoch (required for request signing)
"1783513683000"
Body
Parameters required to initialize a customer portal session
Existing customer's unique identifier
Redirect URL when customer click on 'Return to Merchant'
Product IDs allowed for subscription upgrades or downgrades in this customer portal session. When omitted or empty, this session does not restrict eligible products. Blank or invalid product IDs are rejected.
Response
Customer portal session created successfully
Response object returned when creating a new checkout session
HTTP status code indicating the request result (200 for success, 4xx for client errors, 5xx for server errors)
200
Human-readable message describing the result ('success' for successful operations, error details for failures)
"success"
Customer Portal session details when successfully created