Developers / Docs / API reference
API reference
Every call, grouped by family.
Illustrative. The Partner API is a proposal. Names, fields and numbers on this page show the intended shape; the final contract will be published as an OpenAPI file with the sandbox.
The full reference will be an OpenAPI file with a Try it panel. This is the planned shape. All routes live under /v1.
1 · Identity & consent
| Method and path | Purpose | Scope |
|---|
| GET /v1/ping | Check connection | any |
| GET /v1/customers/{proco} | Verify a ProCo, read plan level | profile.read |
| POST /v1/consents | Ask a customer to link | profile.read |
| GET /v1/customers/{proco}/balance | Available points | profile.read |
2 · Rewards
| Method and path | Purpose | Scope |
|---|
| POST /v1/sales | Submit a sale | rewards.issue |
| POST /v1/sales/{id}/reverse | Reverse a sale | rewards.issue |
| GET /v1/rewards | Reward history | rewards.read |
3 · Redemption
| Method and path | Purpose | Scope |
|---|
| POST /v1/redemptions | Create | redeem.charge |
| GET /v1/redemptions/{id} | Status | redeem.charge |
| POST /v1/redemptions/{id}/refund | Refund | redeem.charge |
4 · Vouchers & coupons
| Method and path | Purpose | Scope |
|---|
| POST /v1/campaigns | Create campaign | vouchers.manage |
| POST /v1/campaigns/{id}/codes | Generate codes | vouchers.manage |
| POST /v1/vouchers/validate | Validate and hold | vouchers.redeem |
| POST /v1/vouchers/redeem | Redeem | vouchers.redeem |
| POST /v1/vouchers/{code}/void | Void | vouchers.manage |
5 · Offers & Boost
| Method and path | Purpose | Scope |
|---|
| POST /v1/offers | Publish | offers.manage |
| GET /v1/offers/{id}/results | Results | offers.manage |
6 · Outlets & catalogue
| Method and path | Purpose | Scope |
|---|
| PUT /v1/outlets/{id} | Create or update | outlets.sync |
| PUT /v1/outlets/{id}/products | Sync products | outlets.sync |
7 · Reports & reimbursement
| Method and path | Purpose | Scope |
|---|
| GET /v1/reports/transactions | Transactions | reports.read |
| GET /v1/reports/reconciliation | Reconciliation | reports.read |
| GET /v1/reports/gst | GST statements | reports.read |
8 · Events
| Method and path | Purpose | Scope |
|---|
| POST /v1/webhooks | Add endpoint | webhooks.manage |
| GET /v1/events | List recent events | webhooks.manage |
| POST /v1/events/{id}/replay | Replay in sandbox | webhooks.manage |