Last updated: 04-Jan-2022
The stop_lineitem_recurring call is used to attempt to stop a recurring line item for a specified sale. This call will send the RECURRING_STOPPED INS message.
HTTP Method: POST
|Line Item ID to stop recurring on. Required.
|Tells the user whether or not the operation was successful
|Tells the user why the operation was or was not successful
curl -X POST https://www.2checkout.com/api/sales/stop_lineitem_recurring -u \
'username:password' -d 'vendor_id=123456' -d 'lineitem_id=1234567890' \
-H 'Accept: application/json'
"response_code" : "OK",
"response_message" : "Recurring billing stopped for lineitem"
|Required parameter missing:
|Invalid value for parameter:
|Unable to find record.
|Access denied to sale.
Do you have a question? If you didn’t find the answer you are looking for in our documentation, you can contact our Support teams for more information. If you have a technical issue or question, please contact us. We are happy to help.