Subscription cancellation
When buyers no longer need a particular service, they can freely cancel their subscription and decide whether to renew it based on their own needs, providing more flexibility and control in account management.
Call the cancel API to terminate a subscription. After a successful call, any unpaid subscription content will become invalid. Once the subscription is terminated, Antom will send you an asynchronous notification, and the buyer’s wallet access token will also expire. Refer to the sample code below:
copy
{
"cancellationType": "TERMINATE",
"subscriptionId": "20250824190000000000000900000168143",
"subscriptionRequestId": "SGD76541016930012312"
}If subscription cancellation involves a refund, for example, when a buyer requests a refund due to a complaint, you can call the refund API to process the refund.