Cancel Subscription
Last updated
Last updated
The method allows you to disable a previously connected subscription
Public API-key
Signing the request body with a private API-key
Request content type
application/json
Unsubscribe request body
Subscription ID
acf68fc3-a964-42a2-83b9-55756acdd967
Merchant ID
86f1f78d-77c6-4bb1-b67c-8389218ce646
POST /api-gateway/recurrents/cancel-subscription HTTP/1.1
Host: app.apollopayment.io
Content-Type: application/json
Accept: */*
Content-Length: 97
{
"id": "acf68fc3-a964-42a2-83b9-55756acdd967",
"merchantId": "86f1f78d-77c6-4bb1-b67c-8389218ce646"
}
{
"success": true,
"response": {
"id": "acf68fc3-a964-42a2-83b9-55756acdd967",
"merchantId": "86f1f78d-77c6-4bb1-b67c-8389218ce646",
"billingLinkId": "9b0838e7-54ca-4da7-9634-d497a47f9381",
"title": "Premium",
"description": "Premium subscription. With premium subscription u can use premium functions",
"spendInterval": "-1",
"status": "PENDING",
"message": null,
"currency": "USD",
"amount": "7.99",
"webhookUrl": "https://merchant.domain/webhooks/subscription",
"createdAt": "2025-06-09T13:18:29.435Z",
"updatedAt": "2025-06-09T13:18:29.435Z"
}
}