Developers
Checkout, digital delivery and store APIs.
Quick Start
Integrate your CMS, website, or application with the checkout and licensing API in three steps:
1
Create an API Key
Go to your store settings and generate a Store API Key for server-to-server authentication.
2
Create a Checkout Session
POST to the session endpoint with your cart items. You'll get back a signed checkout URL.
3
Redirect the Customer
Send your customer to the checkout URL. After payment, they're redirected back to your success URL.
Minimal Example (cURL)
curl -X POST https://creativemark.co/api/v1/stores/your-store/checkout/session/ \
-H "Authorization: Bearer $CREATIVEMARK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"items": {"YOUR-PRODUCT-SKU": 1}, "currency": "GBP"}'