Create a payment link for a ApproveKit package
create_checkoutCreates a Stripe Checkout link for one app. Only call this after the user agreed to the purchase. Show the link to the user so they can pay; then call get_order with the returned order_id to receive the documents.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"app_token": "<app_token>",
"product": "<product>"
},
"name": "create_checkout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product | Yes | launch_pass (US$49) or oauth_pack (US$249). | |
| app_token | Yes | The app_token returned by audit_app. It is stored in .approvekit.json at the project root. |