Cancel a consent (Card On File)
post: https://easypay5.com/APIcardProcREST/v1.0.0/ConsentAnnual/Cancel
Use this call to Cancel a consent (Card On File). You will need the ConsentID in order to execute this method.
{
"ConsentID": 20
}{
"ConsentAnnual_CancelResult": {
"CancelSuccess": true,
"CancelledConsentID": 20,
"ErrCode": 0,
"ErrMsg": "",
"FunctionOk": true,
"RespMsg": "Successfully DISBALED ConsentID 20 : Card Number Removed"
}
}SessKey string required
A unique session key used for authentication in API calls. This key is generated upon successful authentication and must be included in all subsequent requests.
Example: A1842D663E9A4A72XXXXXXXX303541303234373138
Content-Type string required
Example: application/json
Accept string required
Example: application/json
ConsentID integer optional
ID of the consent to be canceled
Example: 20
Last updated
Was this helpful?