Active/Cancel Recurring

API Explorer
loading...
POST
/status

Allows partners to change the status of an existing recurring subscription between ACTIVE and CANCEL.

Header Parameters

token*string

Auth token must be included in the header for all API requests to authenticate and authorize access.

Request Body

application/json

Response Body

application/json

curl -X POST "https://example.com/status" \  -H "token: string" \  -H "Content-Type: application/json" \  -d '{    "subscription_id": "12345",    "status": "CANCELLED"  }'
{
  "message": "subscription canceled successfully",
  "response_code": "SUCCESS",
  "status_code": 200,
  "request_id": "TEST-20251112014000-ABCDE1",
  "timestamp": "2025-11-12T06:40:00.000Z"
}