curl --request GET \
--url https://app.flowglad.com/api/v1/discounts \
--header 'Authorization: <api-key>'{
"data": [
{
"id": "<string>",
"createdAt": 0,
"updatedAt": 0,
"livemode": true,
"organizationId": "<string>",
"name": "<string>",
"code": "<string>",
"amount": 123,
"amountType": "percent",
"active": true,
"duration": "<string>",
"numberOfPayments": null
}
],
"currentCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"total": 123
}curl --request GET \
--url https://app.flowglad.com/api/v1/discounts \
--header 'Authorization: <api-key>'{
"data": [
{
"id": "<string>",
"createdAt": 0,
"updatedAt": 0,
"livemode": true,
"organizationId": "<string>",
"name": "<string>",
"code": "<string>",
"amount": 123,
"amountType": "percent",
"active": true,
"duration": "<string>",
"numberOfPayments": null
}
],
"currentCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"total": 123
}Was this page helpful?