Developers · Caship Partner API
Build Caship Rewards into your checkout
Issue points, redeem them and run coupons and vouchers from inside your own billing software or app. Sandbox first, scoped keys, one signed contract.
The Partner API is being prepared and is not open yet. Register your interest below and we will contact you when the sandbox opens. Addresses shown as [domain] are placeholders.
The idea
Your software talks to Caship directly
Today partners use our app. With the API, your own software does the work.
- IssueA sale in your billing screen becomes Caship Rewards for the customer. No second screen, no re-typing.
- RedeemA customer pays part or all of a bill with Caship Points at your own checkout.
- SyncOutlets, offers, vouchers and reports stay identical in your system and in Caship.
Same rules as the app: 1 point = Rs 1. Rewards are earned and redeemed at partner stores, never paid out as cash.
Who it is for
Seven kinds of partner, one front door
No live keys until the partner is verified for their type. Each type has its own onboarding and KYC, and KYC for one type never counts for another.
Merchants
Add Caship to the billing software you already use.
Brands & chains
Issue unique coupon and voucher codes, redeem at every outlet.
Startups & apps
Embed rewards inside your own product.
Corporates
Reward staff or customers with Caship Points.
Institutions
Reward students, members and supporters.
Vendors
Supply products and vouchers, track every order.
Influencers & agencies
Campaign links with tracked results.
What a partner can do
Eight API families cover every vertical
1 · Identity & consent
Verify a ProCo, link a customer with their consent, read their plan level.
2 · Rewards
Issue on a sale, reverse on a return, read reward history.
3 · Redemption
Charge Caship Points at checkout, confirm, refund.
4 · Vouchers & coupons
Campaigns, unique codes, validate, redeem, void.
5 · Offers & Boost
Publish offers, read views, taps and verified visits.
6 · Outlets & catalogue
Stores, opening hours, categories and products.
7 · Reports & reimbursement
Transactions, reconciliation, GST statements, release status.
8 · Events
Signed webhooks for everything above.
Use case 1
Issue rewards from your billing screen
- 1 · IdentifyCashier scans the customer’s Caship QR or types the ProCo.
- 2 · Submit the saleBill number, amount and outlet go to Caship with an idempotency key.
- 3 · CheckCaship checks the customer, the outlet’s Rewards Budget and the category rate.
- 4 · ApproveAutomatic for trusted outlets, or the owner approves in the app.
- 5 · ConfirmThe customer sees points at once; you get a sale.approved event.
- The reward rate follows the outlet’s category and its own Reward % Meter.
- If the Rewards Budget is too low, the sale cannot be approved and the owner gets a top-up alert.
- You see only your own cost. How the reward is shared inside Caship stays private.
Use case 2
Let customers pay with Caship Points at your checkout
- 1 · Look upRead the customer’s available points (needs their consent link).
- 2 · Create the redemptionSend amount in points, bill number and outlet.
- 3 · Customer confirmsA prompt in the Caship app, protected by the app PIN.
- 4 · CompletePoints move to the outlet; redemption.completed reaches you.
- 5 · Refund if neededA returned bill reverses the redemption in full or in part.
- 1 point = Rs 1.
- No new rewards are earned on a redemption.
- Points are never converted to cash.
- Caship’s category share is deducted automatically and shown on the statement.
Use case 3
Vouchers & coupons: unique codes, redeemed in your own software
- 1 · Create the campaignValue or % off, minimum bill, dates, outlets, usage limit.
- 2 · Generate codesUnique, random codes: a few hundred or a million, in bulk or on demand.
- 3 · DistributeIn the Caship app, for points, by WhatsApp or SMS campaign, or your own channels.
- 4 · Validate at the counterYour billing software checks the code and holds it for 90 seconds.
- 5 · RedeemOne use only. Sending it twice returns the same answer, never a second discount.
- 6 · ReconcilePer-outlet report and events, with expired codes released.
- ISSUED
- HELD 90 s
- REDEEMED
- VOID
- EXPIRED
Example: a restaurant chain with 300 outlets runs a winter campaign, and every outlet’s billing software redeems the same codes. A brand can also supply gift-card codes to the Caship voucher store, bought with Caship Points.
Scopes
Each key gets only the scopes it needs
Risk is about what can go wrong if a key leaks, not about the partner. High-risk scopes need a signed contract, business verification, an IP allow-list and a go-live review. Scope names are a proposal.
| Scope | Lets the partner | Typical partner | Risk |
|---|---|---|---|
| profile.read | See a linked customer’s ProCo and plan | All partners | Low |
| rewards.read | Read reward history for own outlets | Merchants, brands | Low |
| rewards.issue | Submit a sale; reward issued on approval | Merchants, brands | Medium |
| redeem.charge | Charge Caship Points at checkout; refund | Merchants | High |
| vouchers.manage | Create campaigns, generate unique codes | Brands, startups | Medium |
| vouchers.redeem | Validate and redeem a code at an outlet | Brands, merchants | High |
| outlets.sync | Create and update stores, hours, products | Merchants, brands | Low |
| offers.manage | Publish offers and Boost, read results | Merchants, brands | Medium |
| reports.read | Transactions, reconciliation, GST statements | All partners | Low |
| webhooks.manage | Subscribe endpoints to events | All partners | Low |
Webhooks
Caship tells your system the moment something happens
Every event is signed, sent from a background queue and retried with growing gaps if your server is down. A test button replays any event in the sandbox.
| Event | Fires when | You usually |
|---|---|---|
| sale.approved | A reward is issued for a bill | Print points on the receipt |
| sale.reversed | A reward is taken back after a return | Update the bill |
| redemption.completed | Customer confirmed paying with points | Close the bill |
| redemption.refunded | Points are returned to the customer | Reopen the bill |
| voucher.issued | A code is created for a customer | Show it in their account |
| voucher.redeemed | A code is used at an outlet | Mark it as used |
| voucher.expired | A code passes its end date | Release its budget |
| reimbursement.released | A reimbursement batch is released | Reconcile the books |
Developer view · illustrative
What a redemption call looks like
Field names are illustrative. The real contract will be published as an OpenAPI file.
POST /v1/vouchers/redeem
Authorization: Bearer ck_live_••••
X-Caship-Signature: t=1733400000,v1=9f2c…
Idempotency-Key: bill-2041-r1
{
"code": "BRG-7K4M-92QX",
"outlet_id": "OUT-0231",
"bill_no": "2041",
"bill_amount": 54900
}
200 OK
{
"status": "redeemed",
"discount": 10000,
"campaign": "WINTER-100"
}
Amounts in paise
Whole numbers only: 54900 = Rs 549.00.
Same call twice
The idempotency key returns the first answer. Nothing is applied twice.
Signed
A timestamp and signature on every request, checked by Caship.
Trust
Every call is signed, scoped and logged
Three credentials
Partner ID, API key and secret. The secret is shown once and stored only as a hash.
Signed requests
Timestamp, one-time number and signature, valid for five minutes.
Least privilege
Scopes per key. A leaked read key cannot redeem.
Idempotency
Every write carries a key, so a retry never doubles anything.
IP allow-list
Required for high-risk scopes in live.
Rate limits
Per key and per scope, with clear error codes.
Audit & abuse review
Every call is logged. Odd patterns open a staff case.
Minimal personal data
ProCo and first name only. Phone and email never leave Caship.
Sandbox testing
Sandbox and live behave the same, with different data
One-click reset of all test data. Test everything, including failures, before a real customer is involved.
| Sandbox | Live | |
|---|---|---|
| Address | sandbox-api.[domain]/v1 | api.[domain]/v1 |
| Keys | ck_test_…, instant | ck_live_…, after review |
| Data | Made-up customers, outlets, ProCos | Real customers and outlets |
| Points | Test points with no value | Real points, real liability |
| Limits | Generous and free | By plan |
| Magic values | Amount ending .99 declines; code TEST-EXPIRED expires | None |
| Webhooks | Tester page, replay any event | Signed, retried |
| Rules | Same code path and checks as live | Same code path and checks |
Getting keys
From application to live keys
Order follows our partner rule: verified ProCo first, then WhatsApp, email and SMS OTPs, then the partner type’s own KYC.
- 1 · Apply on the websiteCompany, partner type, use case, scopes wanted.
- 2 · VerifyVerified ProCo, three OTPs, then the formalities of your partner type.
- 3 · Review and contractCaship staff approve the scopes in the Console.
- 4 · Sandbox keys, instantlyTest keys the moment the application is approved.
- 5 · Pass the test checklistAbout twelve scripted scenarios run in the sandbox.
- 6 · Go-live reviewSecurity check, signed contract, IP list for high-risk scopes.
- 7 · Live keys issuedShown once. Rotation and revoke any time.
- Partner ID · CP-4F9K2
- Key · ck_test_… / ck_live_…
- Secret · shown once
Documentation
What the developer site will list
The full guide is live as a section with a side menu: open the documentation, or jump to the quick start, the API reference or webhooks.
Overview & use cases
Issue, redeem, vouchers.
15-minute quick start
Your first sandbox call.
API reference
OpenAPI file with a Try it panel.
Sandbox & test data
Test ProCos, magic values.
Scopes & permissions
What each key can do.
Webhooks & events
Payloads, retries, signing.
Security & signing
Code samples in common languages.
SDKs & Postman
Ready-made starters.
Changelog & status
Versions and uptime.
Partner portal
Everything you need to run your integration
- Keys and rotation
- Usage, errors and request log (30 days)
- Webhook endpoints and tester
- Sandbox reset and test data
- Reports and statements
- Team members and roles
Plans
Three plans, prices to be announced
Reward economics stay as they are today: the category rate, Rewards Budget purchases and the voucher fee. The plan fee pays for API access only.
Sandbox
Free
All scopes on test data. Community support.
Growth
To be announced
Live keys, standard scopes. Webhooks and email support.
Enterprise
Custom
High-risk scopes, IP allow-list, own limits and a named contact. Service commitment in the contract.
Roadmap · indicative
Four phases, each useful on its own
- 1 · FoundationPartner accounts, keys, scopes, sandbox, read-only APIs, developer site.
- 2 · RewardsIssue, redeem, reverse, events. First pilot merchant.
- 3 · VouchersCampaigns, unique codes, validate and redeem, bulk. First pilot brand.
- 4 · ScaleSDKs, plans and metering, status page, partner directory.
Start small: one merchant, one brand, in the sandbox.
Tell us about your business and use case. Every partner starts with a verified ProCo.
