curl --request POST \
--url https://api.example.com/cabinet/gift/purchase \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 123,
"payment_mode": "<string>",
"recipient_type": "<string>",
"recipient_value": "<string>",
"gift_message": "<string>",
"payment_method": "<string>"
}
'{
"status": "<string>",
"purchase_token": "<string>",
"payment_url": "<string>",
"warning": "<string>"
}Create a gift subscription purchase from the cabinet.
curl --request POST \
--url https://api.example.com/cabinet/gift/purchase \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"tariff_id": 123,
"period_days": 123,
"payment_mode": "<string>",
"recipient_type": "<string>",
"recipient_value": "<string>",
"gift_message": "<string>",
"payment_method": "<string>"
}
'{
"status": "<string>",
"purchase_token": "<string>",
"payment_url": "<string>",
"warning": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
x <= 3650^(balance|gateway)$^(email|telegram)$255100050