KashierDevelopersKashier Developers

List your discount campaigns

curl -X GET "https://test-api.kashier.io/v2/discounts"
{  "data": [    {      "id": "string",      "discountName": "string",      "active": true    }  ]}

Returns the names of the discount campaigns configured on the merchant account and whether each one is currently active. This is a read-only view.

Authorization

secretKey
Authorization<token>

Your secret key from the Kashier dashboard. Send the raw key value in the Authorization header, without a Bearer prefix.

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

GET
/v2/discounts