Skip to content

Search API reference

Find an endpoint or a guide of the Sovgate API reference and jump straight to it.

Retrieve a coupon

Get a coupon by its ID.

GET/v1/coupons/{id}

Get a coupon by its ID.

Endpoint

http
GET /v1/coupons/{id}

Path parameters

NameTypeDescription
idstringThe coupon's ID, cpn_....

Example request

bash
curl https://api.sovgate.com/v1/coupons/cpn_20b5e71de063737f5f3e2920 \  -H "Authorization: Bearer sov_sk_test_your_key"

Example response

json
{  "id": "cpn_20b5e71de063737f5f3e2920",  "object": "coupon",  "livemode": false,  "name": "Launch 20% off",  "discount": {    "type": "percent",    "percent_bps": 2000  },  "duration": "repeating",  "duration_months": 3,  "products": null,  "max_redemptions": 100,  "redeem_by": "2026-12-31T23:59:59Z",  "times_redeemed": 12,  "status": "active",  "created": "2026-11-20T09:30:00Z"}