API · List coupons of a plan
API v1POST /api/v1/getRepeatCouponsWhat it does#
Returns the coupons associated with a recurring plan.
Authentication#
Requires the API bearer token in the Authorization header — see authentication.
Parameters#
Tilopay integration key.
Recurring plan id.
Request example#
The <...> values are placeholders: replace them with your own credentials and data.
{
"key": "<api_key>",
"id": "1"
}Response#
{
"type": "200",
"message": "Success",
"data": [
{
"id": 10787,
"code": "TK7DPCHY",
"active_users": 1,
"type_discount": 1,
"discount": "30.00",
"expire": "2026-06-12",
"email_group": 2,
"email": null,
"usage": 1,
"renews": 1,
"renews_by_user": 1,
"usage_counter": 0,
"create": "2026-06-12 15:17:34"
}
]
}The list returns the creation date in the create field, in Y-m-d H:i:s format, and does not include recurrent_id, updated_at or deleted_at. Fetching a single coupon uses created_at in ISO format — see response conventions.
To interpret a response that is not a success, see how to read an error response.
Last verified: 2026-09-02 · Owner: equipo-integraciones