This API endpoint is required when a buyer or a support agent wants to enable/disable autocharge for a specific subscription.
autochargeStatus = true, then comment and reason are not provided (or are provided as null).autochargeStatus = false, then you may:reason
• provide both comment and reasonreason is not provided - Changed autocharge status by api — autocharge was changed manually.YYYY-MM-DDTHH:II:SS format (e.g., 2024-02-26T10:38:51)YYYY-MM-DDTHH:II:SS format (e.g., 2025-02-26T10:38:51)YYYY-MM-DDTHH:II:SS format (e.g., 2025-02-26T10:38:51){
"data": {
"id": "00004d62-c4c4-4876-b9c2-c74f32d32af3",
"buyerId": "9cd310ef-664f-406f-88cc-315889beb270",
"startDate": "2024-08-22T05:10:23+00:00",
"endDate": "2024-12-19T05:10:23+00:00",
"status": "active",
"autoChargeStatus": false,
"isManual": false,
"createdAt": "2024-08-22T05:10:23+00:00",
"statusInfo": [],
"freezeDetails": null
},
"meta": []
}{
"uuid": null,
"message": "Validation failed",
"code": 0,
"traceId": "c7bf277b9be94f5e713e9551a7af4fb5",
"errors": [
{
"field": "autochargeStatus",
"title": "Autocharge status should have \"disabled\" value when Reason/Comment provided.",
"values": {
"autochargeStatus": true,
"reason": "Just unfreeze",
"comment": null
}
}
]
}The list of possible errors for this endpoint, along with their types and interpretation, is provided in the general reference: Endpoint response errors.