Skip to main content

Authentication

Use your API key for authenticated requests. Include it in the api-key header:

curl -X POST https://api.simplecheckout.ai/v0/catalog/search \
-H "api-key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "shoes"}'

Getting Your API Key

Create and manage keys in your dashboard: app.simplecheckout.ai/keys. Each API key is tied to you and a specific organization.

You'll also need your organization ID for some endpoints. Get it by calling:

curl https://api.simplecheckout.ai/v0/me \
-H "api-key: YOUR_API_KEY"

Environments

SimpleCheckout has sandbox and live environments. Sandbox is for testing, live is for production. Your publishable and secret keys will start with sk_sandbox_... or pk_live_... depending on the environment.

Publishable Keys

For client-side operations (like collecting credit card data from end users), your organization has publishable keys (pk_sandbox_... or pk_live_...). Unlike secret keys, these are safe to expose in frontend code. Find them in your dashboard alongside your secret keys.

const simplecheckout = new SimpleCheckout('pk_sandbox_xyz123');