Skip to content
Developer preview: the API may change before general availability. Request access

Environments

Sandbox Production
API base URL https://sandbox.partners.loops.sa/v1 https://api.partners.loops.sa/v1
Token URL Shown in the portal, under Applications Shown in the portal, under Applications
Merchants Test merchants created for you Real merchants who connect to you
Channels Simulated; nothing reaches a real channel Live
Credentials Sandbox application Production application, issued after certification
Availability Best effort, no SLA Per your partner agreement

Credentials never work across environments.

The sandbox can create realistic orders on a test location, so you can exercise your whole flow, webhooks included:

Terminal window
curl -X POST https://sandbox.partners.loops.sa/v1/sandbox/orders \
-H "Authorization: Bearer $TOKEN" \
-H "Loops-Merchant-Id: mer_7Hq2Lw8Z" \
-H "Content-Type: application/json" \
-d '{ "location_id": "loc_2Xf9K" }'

Before Loops issues production credentials, we review your integration against a short checklist. Your integration:

  • gets tokens and renews them when they expire;
  • sends Loops-Merchant-Id and handles revoked connections;
  • verifies webhook signatures;
  • ignores duplicate and out-of-order events;
  • catches up through the Events API after downtime;
  • backs off on 429, using Retry-After;
  • ignores unknown fields and enum values;
  • logs Loops-Request-Id.