cURL
curl --request POST \ --url https://api.agentpowers.ai/v1/checkout \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "skill_slug": "<string>", "success_url": "https://agentpowers.ai/purchase/success", "cancel_url": "https://agentpowers.ai/purchase/cancel" } '
{ "purchase_id": "<string>", "checkout_url": "<string>", "status": "<string>" }
Initiate a purchase (creates Stripe Checkout session).
Provide a Clerk JWT or a long-lived CLI token (prefix ap_cli_). Pass as Authorization: Bearer <token>.
ap_cli_
Authorization: Bearer <token>
3 - 60
500
Successful Response
Was this page helpful?