Create Annual Consent
Create an annual consent with card present
post: https://easypay5.com/APIcardProcREST/v1.0.0/ConsentAnnual/Create_CP
For PCI compliant merchants only (AOC on file with Number required)
{
"Track": "%B4788250000028291^VISA TEST/GOOD^231010100733000000?;4895390000000013=151210100000733?",
"ConsentCreator": {
"MerchID": 1,
"CustomerRefID": "A1523644",
"ServiceDescrip": "REST Test",
"RPGUID": "ad8c349f-a301-4fc8-956c-54b59a3f6440",
"StartDate": "/Date(1566406242284-0400)/",
"NumDays": 365,
"LimitPerCharge": 1000,
"LimitLifeTime": 100000
},
"AcctHolder": {
"Firstname": "Sean",
"Lastname": "Wood",
"Company": "",
"Title": "",
"Url": "",
"BillIngAdress": {
"Address1": "123 Fake St",
"Address2": "",
"City": "PORTLAND",
"State": "ME",
"ZIP": "04106",
"Country": "USA"
},
"Email": "[email protected]",
"Phone": "8777248472"
},
"EndCustomer": {
"Firstname": "Sean",
"Lastname": "Wood",
"Company": "",
"Title": "",
"Url": "",
"BillIngAdress": {
"Address1": "123 Fake St.",
"Address2": "",
"City": "PORTLAND",
"State": "ME",
"ZIP": "04106",
"Country": "USA"
},
"Email": "[email protected]",
"Phone": "8777248472"
}
}{
"ConsentAnnual_Create_CPResult": {
"ConsentID": 28,
"CreationSuccess": true,
"ErrCode": 0,
"ErrMsg": "",
"FunctionOk": true,
"PreConsentAuthMessage": "APPROVED 095710 ",
"PreConsentAuthSuccess": true,
"PreConsentAuthTxID": 84,
"RespMsg": "Success : Created Consent ID : 000028"
}
}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
Track string optional
Example: %B4788250000028291^VISA TEST/GOOD^231010100733000000?;4895390000000013=151210100000733?
ConsentCreator object optional
MerchID integer optional
Example:
1CustomerRefID string optional
Example:
A1523644ServiceDescrip string optional
Example:
REST TestRPGUID string optional
A custom, user-defined reference ID or value.
Example:
adf98580-b4ab-42fc-bb99-01c89964afe9StartDate string optional
Date and time in Microsoft JSON date format (Unix timestamp and timezone offset).
Example:
2024-12-01T11:19:01.000ZNumDays integer optional
Example:
365LimitPerCharge number · float optional
Example:
1000LimitLifeTime number · float optional
Example:
100000
AcctHolder object optional
Firstname string optional
Example:
SallyLastname string optional
Example:
APIACHCompany string optional
Title string optional
Url string optional
BillIngAddress object optional
Email string optional
Example:
[email protected]Phone string optional
Example:
8775558472
EndCustomer object optional
Firstname string optional
Example:
SallyLastname string optional
Example:
APIACHCompany string optional
Title string optional
Url string optional
BillIngAddress object optional
Email string optional
Example:
[email protected]Phone string optional
Example:
8775558472
Last updated
Was this helpful?