Modify an annual consent
post: https://easypay5.com/APIcardProcREST/v1.0.0/ConsentAnnual/Modify
{
"ConsentID": 10,
"ConsentMods": {
"ExpMonth": 10,
"ExpYear": 22,
"Email": "[email protected]",
"Zip": "04106",
"CustomerRefID": "A1235456",
"ServiceDescrip": "REST API Testor",
"RPGUID": "adf98580-b4ab-42fc-bb99-01c89964afe9",
"NumDays": 365,
"LimitPerCharge": 10000,
"LimitLifeTime": 100000
}
}{
"ConsentAnnual_ModifyResult": {
"ErrCode": 0,
"ErrMsg": "",
"FunctionOk": true,
"ModifySuccess": true,
"RespMsg": "Success : Modified Consent ID : 10"
}
}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 modified
Example: 10
ConsentMods object optional
ExpMonth integer optional
Expiration month of the card
Example:
10ExpYear integer optional
Full expiration year of the card or the last 2 digits
Example:
22Email string · email optional
Email address associated with the consent
Example:
[email protected]Zip string optional
ZIP code associated with the consent
Example:
04106CustomerRefID string optional
Customer reference ID
Example:
A1235456ServiceDescrip string optional
Description of the service
Example:
REST API TestorRPGUID string optional
A custom, user-defined reference ID or value.
Example:
adf98580-b4ab-42fc-bb99-01c89964afe9NumDays integer optional
Number of days for the consent
Example:
365LimitPerCharge number · float optional
Limit per charge
Example:
10000LimitLifeTime number · float optional
Lifetime limit
Example:
100000
Last updated
Was this helpful?