Skip to main content
GET
/
payment-coupons
List payment coupons
curl --request GET \
  --url https://app.dilli.studio/api/v1/payment-coupons \
  --header 'X-Api-Key: <api-key>'
{
  "current_page": 123,
  "per_page": 123,
  "total": 123,
  "data": [
    {
      "id": "<string>",
      "payment_link_id": "<string>",
      "code": "<string>",
      "type": "amount",
      "value": 123,
      "is_active": true,
      "payment_link": {
        "id": "<string>",
        "name": "<string>"
      },
      "max_redemptions": 123,
      "times_redeemed": 123,
      "expires_at": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z"
    }
  ]
}
Use the API Playground below to send this request with your X-Api-Key. Filter by search (code) or is_active to narrow results.

Authorizations

X-Api-Key
string
header
required

Query Parameters

is_active
boolean

Response

200 - application/json

OK

current_page
integer
per_page
integer
total
integer
data
object[]