seQura Eyewear
This guide covers the steps for Optiqa merchants to integrate our services via API.
The Optiqa ecosystem includes POS software (a web application) to manage the subscription process. You can partially or fully replicate this using the API.
We suggest a hybrid integration approach:
- First, integrate the endpoints to create new subscriptions. This is the most time-consuming operation since you need to duplicate shopper data and cart information.
- Later, add endpoints for updates, cancellations, disbursements, and reporting.
Hybrid integration: Create a new subscription
The basic integration includes:
- A POST message with personal data, cart items, and discounts. This creates a record in Instore, accessible later through SalesApp.
- Request Instore to send the SMS to the shopper
- Webhook to confirm process status
- (Optional but recommended) Endpoint to activate the subscription
- (Optional but recommended) Preassessment check to assess whether the shopper will pass risk scoring
Full integration
Add more endpoints for other use cases:
- Subscription price simulatorA simple tool to calculate the monthly rent
- Get current subscription status and data To recover the status and data of a subscription
- Updates endpoint to add or exchange items in an active subscription
- Cancellation endpoint for exceptional cases
Authentication
The API uses basic auth. All requests must include authentication. Contact seQura staff for API account credentials—you'll receive a username and password reset link.
Updated about 1 month ago