curl --request POST \
--url https://api.example.com/cabinet/gift/activate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>"
}
'{
"status": "<string>",
"tariff_name": "<string>",
"period_days": 123
}Activate a gift subscription by its code (token).
curl --request POST \
--url https://api.example.com/cabinet/gift/activate \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>"
}
'{
"status": "<string>",
"tariff_name": "<string>",
"period_days": 123
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
1 - 100