- Getting Started with the Acceptance Devices App
- Activating a Terminal in the Acceptance Devices App
- Local Mode Payment Services
- Cloud Mode Payment Services
On This Page
REST Example: Custom Card Read
Request
{ "serialNumber": "1850000000", "request": { "type" : "ReadCardRequest" } }
Response to a Successful Request
{ "type": "ReadCardResponse", "message": "Read Card Successfully", "cardDetails": { "expiryMonth": 12, "expiryYear": 2025, "track1": "%B4111111111111111^DOE/JOHN^2512101?", "track2": "4111111111111111=25121010000?", "cardNumber": "4111111111111111" } }
Response to an Unsuccessful Request
When the request is unsuccessful, you receive an error response with details.
{ "type": "ErrorResponse", "message": "Error message to display.", "developerDescription": "Detailed description of error." }