A Checkout Session is dynamically generated through the POST Session API. The API provides a time-limited link to a Clink-hosted checkout page with pre-filled customer information. We recommend creating a new Session for each customer payment intention.Each checkout session can accommodate multiple payment attempts until a successful transaction is completed. Successful transactions can represent either one-time purchases or subscriptions.
If you have configured products and prices in the dashboard, you can simply reference them using their IDs. For subscription-based recurring payments, pre-created products are mandatory.For one-time purchase products, you can define product details (name, unit price, quantity, etc.) in the priceDataList. The checkout session will display these product details accordingly.
Checkout sessions include pre-filled customer information. You can reference existing customers using their customer ID if they were previously created through the dashboard or API. For new customers, simply provide their email address, and Clink will automatically create a customer profile. The newly created customer ID will be included in the API response.
The merchant reference serves as your internal identifier for tracking purposes. This reference will be recorded on orders created through the checkout session.
Idempotency: Clink does not maintain idempotency based on merchant reference IDs.
These IDs are solely for reconciling Sessions with your internal systems. Multiple checkout sessions created with the same merchant reference ID will be treated as distinct sessions.
When a success URL is provided during checkout session creation, Clink will redirect customers to the specified address after successful payment.During redirection, Clink appends the session ID as a URL parameter, allowing you to retrieve session data via the Session#Get API.Example return URLs:
Clink provides a streamlined solution with a standardized checkout experience. While customization options are limited, the interface maintains a clean, professional design.Merchant information and the cancel URL are accessible from the top left. Product and price information is displayed based on either dashboard configurations or API inputs.Available payment methods and currencies adapt automatically based on: