Caship Sign in

Developers / Docs / Webhooks & events

Webhooks & events

Caship tells your system the moment something happens.

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.

Events

EventFires whenYou usually
sale.approvedA reward is issued for a billPrint points on the receipt
sale.reversedA reward is taken back after a returnUpdate the bill
redemption.completedCustomer confirmed paying with pointsClose the bill
redemption.refundedPoints are returned to the customerReopen the bill
voucher.issuedA code is created for a customerShow it in their account
voucher.redeemedA code is used at an outletMark it as used
voucher.expiredA code passes its end dateRelease its budget
reimbursement.releasedA reimbursement batch is releasedReconcile the books

Payload

POST https://your-server.example/caship-events
{
  "id": "evt_3Q9X",
  "type": "sale.approved",
  "created": "2026-12-04T10:30:00+05:30",
  "data": { "bill_no": "2041", "points": 275, "outlet_id": "OUT-0231" }
}

Verify every event

Each event carries a signature header. Compute it the same way you sign requests, with your secret, and reject anything that does not match or is older than five minutes.

Retries

Events are sent from a background queue. If your server does not answer with a 2xx status, Caship tries again with growing gaps. Always answer quickly and process in the background. Because an event can arrive more than once, use the event id to ignore repeats.

Testing

In the sandbox, a tester page lets you fire any event and replay old ones.