curl --request POST \
--url https://api.unibee.top/merchant/subscription/cancel_last_cancel_at_period_end \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"productId": 123,
"subscriptionId": "<string>",
"userId": 123
}'
{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
This action should be request before subscription’s period end, If subscription’s flag ‘cancelAtPeriodEnd’ is enabled, this action will resume it to disable, and subscription will continue cycle recurring seems no cancelAtPeriod action be setting
curl --request POST \
--url https://api.unibee.top/merchant/subscription/cancel_last_cancel_at_period_end \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"productId": 123,
"subscriptionId": "<string>",
"userId": 123
}'
{
"code": 123,
"data": {},
"message": "<string>",
"redirect": "<string>",
"requestId": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
This action should be request before subscription's period end, If subscription's flag 'cancelAtPeriodEnd' is enabled, this action will resume it to disable, and subscription will continue cycle recurring seems no cancelAtPeriod action be setting
The response is of type object
.