Process a Card Sale
Process a card sale with card present
post: https://easypay5.com/APIcardProcREST/v1.0.0/CardSale/CardPresent
For PCI compliant merchants only (AOC on file with Number required)
{
"Track": "%B4788250000028291^VISA TEST/GOOD^231010100733000000?;4895390000000013=151210100000733?",
"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"
},
"Amounts": {
"TotalAmt": 10,
"SalesTax": 0,
"Surcharge": 0,
"Tip": 0,
"CashBack": 0,
"ClinicAmount": 0,
"VisionAmount": 0,
"PrescriptionAmount": 0,
"DentalAmount": 0,
"TotalMedicalAmount": 0
},
"PurchItems": {
"ServiceDescrip": "FROM API TESTER",
"ClientRefID": "",
"RPGUID": "a8e2bbfc-e423-4a84-a9e9-2a6e08153368"
},
"MerchID": 1
}{
"CreditCardSale_CardPresentResult": {
"AVSresult": "Y",
"AcquirerResponseEMV": null,
"CVVresult": "",
"ErrCode": 0,
"ErrMsg": "",
"FunctionOk": true,
"IsPartialApproval": false,
"RequiresVoiceAuth": false,
"RespMsg": "APPROVED 092682",
"ResponseApprovedAmount": "-1Pl",
"ResponseAuthorizedAmount": -1,
"ResponseBalanceAmount": -1,
"TxApproved": true,
"TxID": 44,
"TxnCode": 92682
}
}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?
AcctHolder object optional
AccountNum string optional
The unique account number associated with the account holder.
Example:
wj8HlAYlMJI=jvje9l7qZuEFiDDeEDDym6ZdlL0DX8HXAcctMask string optional
The masked version of the account number for security purposes.
Example:
4111XXXXXXXX1111Address1 string optional
The primary address line of the account holder.
Example:
123 Fake StAddress2 string optional
The secondary address line of the account holder, if applicable.
CardType string optional
The type of card associated with the account (e.g., Visa, MasterCard).
Example:
VICity string optional
The city where the account holder resides.
Example:
PORTLANDCompany string optional
The name of the company associated with the account holder, if applicable.
CreatedOn string optional
Date and time in Microsoft JSON date format (Unix timestamp and timezone offset).
Example:
2024-12-01T11:19:01.000ZEmail string optional
The email address of the account holder.
Example:
[email protected]ExpDate string optional
The expiration date of the card in MMYY format.
Example:
1023Firstname string optional
The first name of the account holder.
Example:
SeanID integer optional
The unique identifier for the account holder in the system.
Example:
1LastChanged string optional
Date and time in Microsoft JSON date format (Unix timestamp and timezone offset).
Example:
2024-12-01T11:19:01.000ZLastName string optional
The last name of the account holder.
Example:
WoodMerchID integer optional
The unique identifier for the merchant associated with the account.
Example:
1Phone string optional
The phone number of the account holder.
Example:
8777248472State string optional
The state where the account holder resides.
Example:
MEZip string optional
The postal code for the account holder's address.
Example:
04106
EndCustomer object optional
AccountNum string optional
The unique account number associated with the account holder.
Example:
wj8HlAYlMJI=jvje9l7qZuEFiDDeEDDym6ZdlL0DX8HXAcctMask string optional
The masked version of the account number for security purposes.
Example:
4111XXXXXXXX1111Address1 string optional
The primary address line of the account holder.
Example:
123 Fake StAddress2 string optional
The secondary address line of the account holder, if applicable.
CardType string optional
The type of card associated with the account (e.g., Visa, MasterCard).
Example:
VICity string optional
The city where the account holder resides.
Example:
PORTLANDCompany string optional
The name of the company associated with the account holder, if applicable.
CreatedOn string optional
Date and time in Microsoft JSON date format (Unix timestamp and timezone offset).
Example:
2024-12-01T11:19:01.000ZEmail string optional
The email address of the account holder.
Example:
[email protected]ExpDate string optional
The expiration date of the card in MMYY format.
Example:
1023Firstname string optional
The first name of the account holder.
Example:
SeanID integer optional
The unique identifier for the account holder in the system.
Example:
1LastChanged string optional
Date and time in Microsoft JSON date format (Unix timestamp and timezone offset).
Example:
2024-12-01T11:19:01.000ZLastName string optional
The last name of the account holder.
Example:
WoodMerchID integer optional
The unique identifier for the merchant associated with the account.
Example:
1Phone string optional
The phone number of the account holder.
Example:
8777248472State string optional
The state where the account holder resides.
Example:
MEZip string optional
The postal code for the account holder's address.
Example:
04106
Amounts object optional
TotalAmt number optional
The total $ amount to be charged.
Example:
10SalesTax number optional
Example:
0Surcharge number optional
The surcharge $ amount added to the base amount, if applicable.
Example:
0Tip number optional
Example:
0CashBack number optional
Example:
0ClinicAmount number optional
Example:
0VisionAmount number optional
Example:
0PrescriptionAmount number optional
Example:
0DentalAmount number optional
Example:
0TotalMedicalAmount number optional
Example:
0
PurchItems object optional
ServiceDescrip string optional
A description of the service or item.
Example:
FROM API TESTERClientRefID string optional
A reference ID provided by the client for tracking purposes.
Example:
12456AARPGUID string optional
A custom, user-defined reference ID or value.
Example:
adf98580-b4ab-42fc-bb99-01c89964afe9
MerchID integer optional
Example: 1
Last updated
Was this helpful?