Consent Recurring
Header parameters
SessKeystringRequiredExample:
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.
A1842D663E9A4A72XXXXXXXX303541303234373138
Content-TypestringRequiredExample:
application/json
AcceptstringRequiredExample:
application/json
Body
ConsentIDintegerOptionalExample:
ID of the consent to be cancelled
23
Responses
200
Recurring consent successfully cancelled
application/json
post
POST /APIcardProcREST/v1.0.0/ConsentRecurring/Cancel HTTP/1.1
Host: easypay5.com
SessKey: A1842D663E9A4A72XXXXXXXX303541303234373138
Content-Type: application/json
Accept: application/json
Content-Length: 16
{
"ConsentID": 23
}
200
Recurring consent successfully cancelled
{
"ConsentRecurring_CancelResult": {
"CancelSuccess": true,
"CancelledConsentID": 23,
"ErrCode": 0,
"ErrMsg": "",
"FunctionOk": true,
"RespMsg": "Successfully DISBALED ConsentID 23 : Card Number Removed"
}
}
For values which should not be altered use value 1 or “1”
Header parameters
SessKeystringRequiredExample:
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.
A1842D663E9A4A72XXXXXXXX303541303234373138
Content-TypestringRequiredExample:
application/json
AcceptstringRequiredExample:
application/json
Body
ConsentIDintegerOptionalExample:
ID of the consent to be modified
42
Responses
200
Recurring consent successfully modified
application/json
post
POST /APIcardProcREST/v1.0.0/ConsentRecurring/Modify HTTP/1.1
Host: easypay5.com
SessKey: A1842D663E9A4A72XXXXXXXX303541303234373138
Content-Type: application/json
Accept: application/json
Content-Length: 173
{
"ConsentID": 42,
"ConsentMods": {
"ExpMonth": 10,
"ExpYear": 2028,
"Email": "[email protected]",
"Zip": "04101",
"CustomerRefID": "A123456",
"ServiceDescrip": "Test",
"RPGUID": ""
}
}
200
Recurring consent successfully modified
{
"ConsentRecurring_ModifyResult": {
"ErrCode": 0,
"ErrMsg": "",
"FunctionOk": true,
"ModifySuccess": true,
"RespMsg": "Success : Modified Consent ID : 42"
}
}
Last updated
Was this helpful?