Consent Subscription
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
application/json
application/json
ID of the consent to be modified
12
Subscription consent successfully modified
POST /APIcardProcREST/v1.0.0/ConsentSubscription/Modify HTTP/1.1
Host: easypay5.com
SessKey: A1842D663E9A4A72XXXXXXXX303541303234373138
Content-Type: application/json
Accept: application/json
Content-Length: 254
{
"ConsentID": 12,
"ConsentMods": {
"ExpMonth": 10,
"ExpYear": 2022,
"Email": "[email protected]",
"Zip": "04106",
"RPGUID": "",
"CustomerRefID": "A123456",
"ServiceDescrip": "Test",
"PaymentAmt": 10,
"PaymentAdjustDate": "2019-04-29T11:26:11.093Z",
"OnHold": false
}
}
Subscription consent successfully modified
{
"ErrCode": 0,
"ErrMsg": "",
"FunctionOk": true,
"RespMsg": "Consent successfully modified"
}
Notes
In most cases you may only want to modify a single parameter such as PaymentAdjustDate or OnHold. You can supply a value of -1 or "-1" to any value which you do not want us to alter. The following example shows how to simply remove the hold from ConsentID 21.
{ "ConsentID": 21, "ConsentMods": { "ExpMonth": -1, "ExpYear": -1, "Email": "-1", "Zip": "-1", "RPGUID": "-1", "CustomerRefID": "-1", "ServiceDescrip": "-1", "PaymentAmt": -1, "PaymentAdjustDate": "-1", "OnHold": false } }
Last updated
Was this helpful?