Create a Checkout Link
POST /api/v1/checkouts/create
Description
This function creates a new checkout link for a specific plan.
Header
api_key
string
required
API authentication key
Body
plan_id
string
required
The unique identifier of the checkout link you wish to create
password
string
optional
The password that will be required to access the checkout link
stocks
int
optional
Number of stocks available for this checkout link
stock_type
string
optional
Either "Limited" or "Unlimited". If "Limited", stock number must be provided.
If stock_type not provided, default is "Unlimited".