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.
Test orders
Section titled “Test orders”The sandbox can create realistic orders on a test location, so you can exercise your whole flow, webhooks included:
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" }'Going to production
Section titled “Going to production”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-Idand 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, usingRetry-After; - ignores unknown fields and enum values;
- logs
Loops-Request-Id.
© 2026 شركة لووبز للتقنيات | Loops Technologies. جميع الحقوق محفوظة.
