API · List coupons of a plan
API v1An MCP tool wraps this operation: Recurring billing.
POST /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"
}
]
}To interpret a response that is not a success, see how to read an error response.
Last verified: 2026-10-20