What Zupy Provides
When your partnership is activated, the Zupy team provides:| Item | Format | Description |
|---|---|---|
| API Key(s) | zupy_pk_* | One key per restaurant (company) you integrate with |
| Integration Slug | e.g., repediu | Your unique identifier for webhook URLs |
| Webhook URL | https://api.zupy.com/api/v2/webhooks/integrations/{slug}/ | Endpoint for sending order data |
| Company ID(s) | KSUID strings | IDs for each restaurant in the Zupy system |
| OTP Policy | strict / relaxed / trusted | Which actions require customer OTP verification |
| Rate Limit Tier | Free / Standard / Enterprise | Your request quota (60 / 300 / 3,000 req/min) |
| Documentation | This portal | Full API reference and integration guides |
Credentials are shared via a secure channel (encrypted email or password manager). Never share API keys via plain text chat (Slack, WhatsApp, etc.).
What You Configure
After receiving your credentials, set up your integration:Store API Keys Securely
Store your API keys as environment variables or in a secrets manager. Never hardcode keys in source code or expose them in client-side code.
Configure Webhook Sending
Set up your system to send order data to Zupy’s webhook endpoint. See the Webhook Setup guide for payload format and examples.Your webhook URL:
Implement Customer Lookup
Use the Customer Search API to look up customers by phone, email, or name:See the Getting Started guide for code examples.
Implement Points Flow
If your integration needs to display points or award them directly (beyond webhooks):
- View balance:
GET /api/v2/customers/{id}/points/ - Award points:
POST /api/v2/customers/{id}/points/add/ - View history:
GET /api/v2/customers/{id}/points/history/
Implement OTP Flow (If Required)
If your OTP policy requires verification for redemption or coupon usage, implement the OTP Flow in your customer-facing UI.
Testing Checklist
Before going live, verify each integration point works correctly:Send Test Webhook
Send a test order payload and verify a Expected response:
200 response. The payload format is partner-specific — the example below uses Repediu’s format. Replace the fields with your own payload structure:The webhook accepts any JSON payload. Zupy processes it using your partner-specific adapter. See the Webhook Setup guide for your payload format.
Verify Customer Created
After the webhook processes (wait a few seconds), search for the test customer:Verify the customer exists and has the expected points balance.
Test OTP Flow (If Applicable)
If your policy requires OTP for redemption or coupon usage:
- Request OTP:
POST /api/v2/auth/request-otp/ - Verify OTP:
POST /api/v2/auth/verify-otp/ - Redeem with session: Include
X-OTP-Sessionheader
Go-Live Checklist
Before declaring your integration production-ready:Infrastructure
- API key stored securely (environment variable or secrets manager)
- All API calls use HTTPS (HTTP is rejected)
- All API calls go through your backend server (never client-side)
- Retry logic implemented for
429rate limit responses - Error logging configured for API failures
Integration
- Webhook sending configured with correct URL and API key
- Customer lookup working for phone, email, and/or name search
- Points display integrated (if showing points to customers)
- OTP flow implemented (if required by your policy)
- Idempotency tested — duplicate webhooks return
"status": "duplicate"
Monitoring
- API error rates tracked (401, 403, 429, 5xx)
- Webhook delivery success rate monitored
- Support contact established with Zupy team
Communication
- Production API key received and deployed
- Rate limit tier confirmed with Zupy
- OTP policy confirmed with Zupy
- Support escalation path established (both sides)
Rate Limit Tiers
| Tier | Requests/min | Assigned To |
|---|---|---|
| Free | 60 | Default for new integrations |
| Standard | 300 | Active partners (Repediu, Saipos) |
| Enterprise | 3,000 | High-volume partners |
Support
| Channel | Contact |
|---|---|
| Technical support | webmaster@zupy.com.br |
| Documentation | This portal |
Next Steps
Getting Started
Make your first API call in under 15 minutes
Webhook Setup
Configure webhooks for automatic order processing
OTP Flow
Implement customer identity verification
API Reference
Browse all endpoints with request/response schemas