Authorizations
Your secret API key obtained from the Clink dashboard (Developers section)
Current timestamp in milliseconds since Unix epoch (required for request signing)
Body
Parameters required to initialize a new checkout session
Total transaction amount in the specified currency (must be greater than 0)
x > 0Three-letter ISO currency code for the transaction (e.g., USD, EUR, GBP)
Existing customer's unique identifier (required if customerEmail is not provided)
Customer's email address. A new customer account will be created if the email is not associated with an existing customer
Your internal reference ID for tracking (non-unique identifier, does not guarantee idempotency)
Unique identifier of the predefined price configuration from your dashboard
Unique identifier of the product configured in your dashboard
URL where customers will be redirected after successful payment completion
URL where customers will be redirected if they cancel the checkout process
List of product pricing details for one-time purchases. Use this when creating transactions without pre-configured products
Response
Checkout 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"
Checkout session details when successfully created