Your backend calls Shoppingate's server-to-server API. Every call goes to the same base URL and carries the same two headers.
https://microservices.shoppinggate.app/mini-app-core/
Every server-to-server call is authenticated with your Vendor API Key — one key for all your Mini Apps — plus the X-Mini-App-Id header with your Mini App's AppID from the Dev portal. Get the key from the merchant portal → Mini-Apps → API Keys (see Merchant portal → API keys).
# Every request carries these two headers X-Vendor-Api-Key: sg_s_<your-key> // sandbox — production keys start with sg_p_ X-Mini-App-Id: fc3387032477716613
X-Mini-App-Id takes either form — the numeric id or the Mini App id string from your project config.
These are rejected before your request reaches any endpoint, so they can come back from any S2S call. Every one carries status: false and an error_code — branch on the code, not the human message.
X-Vendor-Api-Key header on the request.X-Vendor-Api-Key and X-Mini-App-Id and nothing else — no other header needs to name your vendor.X-Mini-App-Id header. Add it; it is required on every call, not only the ones that name a mini app in the body.Running recurring billing? See Subscriptions for the subscription S2S API.
Shoppingate also calls your backend when an order or subscription changes — see Webhooks.