Checkout Links are shareable URLs that customers can use to purchase your products. Unlike checkout sessions, checkout links are permanent and can be reused multiple times.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/polarsource/polar/llms.txt
Use this file to discover all available pages before exploring further.
Base URL
Authentication
All checkout link endpoints require authentication with an Organization Access Token or Personal Access Token withcheckout_links:write scope.
List Checkout Links
Query Parameters
Filter by organization ID
Filter by product ID
Page number for pagination
Number of results per page (max 100)
Response
Array of checkout link objects
Pagination information
Get Checkout Link
Retrieve a specific checkout link by ID.cURL
Path Parameters
The checkout link ID
Response
Returns a checkout link object.Create Checkout Link
Create a new reusable checkout link for a product.Request Body
ID of the product to sell
Payment processor to use
URL to redirect customers after successful checkout
Custom metadata (key-value pairs)
Response
Returns the created checkout link object withid and client_secret.
Update Checkout Link
Update an existing checkout link.cURL
Path Parameters
The checkout link ID
Request Body
All fields are optional. Only include fields you want to update.New success URL
Updated metadata (replaces existing metadata)
Response
Returns the updated checkout link object.Delete Checkout Link
Delete a checkout link. This will make the link inaccessible.cURL
Path Parameters
The checkout link ID to delete
Response
Returns204 No Content on successful deletion.
Error Responses
404 Not Found
Checkout link not found or you don’t have permission to access it
401 Unauthorized
Missing or invalid authentication token
422 Unprocessable Entity
Invalid request parameters