Kupon Plus

The API, as it answers today.

Two headers, one envelope. Try the calls against the sandbox from this page. Tokens stay in this tab and nowhere else.

No tokens yet? Request an integration review: it is free before any agreement, and we arrange sandbox access.

  1. You get three things from the dataset owner: the dataset name, X-API-TOKEN and X-DATA-TOKEN.
  2. Run ping/200 first. It needs no token and returns the IP address the owner must allow.
  3. Press Authorize, paste the two tokens, then open a call, press Try it out and Execute. The server variable dataset defaults to sandbox, the shared test dataset; in your own dataset every call is real.

The API has five calls. Every path begins with https://kupon.plus/api; the reference below and the YAML file describe each call with its parameters and responses.

  • getVoucherByValue GET /{dataset}/getVoucherByValue/{value} – issue one voucher of the given value.
  • getVoucherByValueWithMetadata POST /{dataset}/getVoucherByValue/{value} – issue one voucher and store your metadata with it.
  • cancelVoucher PUT /{dataset}/cancelVoucher/{voucherid} – cancel a voucher you were issued.
  • reportJson1 GET /{dataset}/report:json1/{requested_date} – daily report of your issued and cancelled vouchers.
  • ping GET /{dataset}/ping/{requested_response} – test the connection and see your IP address.

Specification version 2.0 Download KuponPlus-developer.API.yaml No measurement of any kind runs on this page.

Loading the API description…