Skip to main content
This page is the generic Dev API quickstart.If your real goal is:This page is best when you want your first normal /dev/v1/* request.
If you prefer an official SDK instead of raw fetch or requests, start with SDKs & libraries. Shoppex has packages for Node.js/Bun (@shoppexio/sdk), Python (shoppexio), and PHP (shoppexio/shoppex-php).
1

Get Your API Key

  1. Log in to dashboard.shoppex.io
  2. Go to Settings → API Keys
  3. Click Generate New Key
  4. Copy the key (starts with shx_)
API keys are shown only once. Store it securely before closing the dialog.
2

Make Your First Request

This request fetches your shop information to verify that everything works:
Response:
3

Create a Payment

Now create a payment link:
Response:
Redirect your customer to the url to complete payment.
POST /payments creates a generic developer payment. It does not trigger Shoppex product fulfillment. Use it when you want a payable invoice or hosted checkout URL. Use POST /orders instead when you need Shoppex product line items, delivery, and automatic fulfillment.
If you force gateway: "PANDABASE", the response can also include:
  • checkout_url: the direct Pandabase checkout session URL
  • session_id: the Pandabase session reference Shoppex stores to match the webhook to this payment automatically
If you want hosted checkout to open directly on a concrete crypto coin or network, use a merchant crypto provider together with crypto_gateway.Simple example:
That returns a url like:
4

Handle the Result

After payment, Shoppex sends a webhook to your server:

Webhooks Guide

Learn how to set up and verify webhooks

Dynamic Product Delivery

Implement the fulfillment callback for DYNAMIC products
You made your first API call and created a payment. From here, most developers either hook up webhooks for automated fulfillment or explore the full endpoint reference at API introduction.