Skip to main content
GET
/
payment-coupons
/
{paymentCoupon}
Get payment coupon
curl --request GET \
  --url https://app.dilli.studio/api/v1/payment-coupons/{paymentCoupon} \
  --header 'X-Api-Key: <api-key>'
{
  "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. Path parameter is the coupon ULID.

Authorizations

X-Api-Key
string
header
required

Path Parameters

paymentCoupon
string
required

Response

200 - application/json

OK

id
string
code
string
type
enum<string>
Available options:
amount,
percent
value
number<float>
is_active
boolean
max_redemptions
integer | null
times_redeemed
integer
expires_at
string<date-time> | null
created_at
string<date-time>