Integrate Revifly with your store. Create offers, manage vouchers, and validate redemptions.
All Brand API requests require your API Key and Secret in headers:
X-API-Key: your_brand_api_key
X-API-Secret: your_brand_api_secret
Your API credentials are available on the Dashboard. Keep them secure!
View API Credentialshttps://revifly.com/api/v1/brand/
| Method | Path | Description |
|---|---|---|
| POST | /api/v1/brand/offers | Create offer |
| GET | /api/v1/brand/offers | List offers |
| GET | /api/v1/brand/offers/{id} | Get single offer |
| PATCH | /api/v1/brand/offers/{id} | Update offer |
Create body: title, description, discount_type, discount_value, start_date, end_date, optional max_uses, min_purchase_amount, currency, limit_one_per_customer.
| Method | Path | Description |
|---|---|---|
| GET | /api/v1/brand/vouchers | List vouchers |
| GET | /api/v1/brand/vouchers/check?code=XXX | Check voucher status |
| POST | /api/v1/brand/vouchers/validate | Validate for checkout |
| POST | /api/v1/brand/vouchers/apply | Mark voucher as applied |
| POST | /api/v1/brand/vouchers/confirm | Confirm use after order |
POST https://revifly.com/api/v1/brand/vouchers/validate
Content-Type: application/json
X-API-Key: your_api_key
X-API-Secret: your_api_secret
{
"voucher_code": "RV-ABC123",
"order_amount": 1000.00,
"currency": "INR"
}