Unsubscribe from an Existing Webhook
DELETE
https://api.mpay.com.au/subscriptions/v1/delete/{id}
idstring<p><strong>Required.</strong> This is the Id of the Subscription you want to delete. Use the <code>id</code> returned by the create or list endpoints. Deletion is permanent and cannot be undone.</p>
acceptstringGenerated from available response content types
200Success. The subscription was deleted and its final details are returned.
400<p>Bad request. The request could not be processed because one or more fields are missing, malformed, or failed validation. Check the <code>statusDescription</code> for the field at fault, correct it and retry.</p>
401<p>Unauthorized. The request did not include valid basic authentication credentials, or the API key supplied is inactive or not permitted to use this endpoint. Confirm the API key is passed as the basic authentication username and retry.</p>
500<p>Internal server error. An unexpected error occurred while processing the request. The request may not have been completed — do not assume the subscription changed. Retry the request and, if the error persists, contact Monoova support quoting the <code>statusDescription</code>.</p>
curl --request DELETE \
--url https://api.mpay.com.au/subscriptions/v1/delete/{id} \
--header 'accept: application/json'