cURL
curl --request POST \ --url https://api.urltodata.ai/v1/credits/purchase \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "package_id": "<string>" } '
{ "checkout_url": "<string>" }
Documentation IndexFetch the complete documentation index at: https://docs.urltodata.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.urltodata.ai/llms.txt
Use this file to discover all available pages before exploring further.
API key as Bearer token (e.g. Bearer mp_abc123_secret)
Package ID from GET /v1/credits/packages
Origin URL for Stripe checkout return redirect (must be an allowed origin)
Checkout session created