REST Example: Custom Card Read

Request
{ "type" : "ReadCardRequest" }
Mid-Transaction Status Updates
During the transaction, you might receive one or more update responses indicating the current status of the transaction. You can choose to display these updates on your point-of-sale (POS) system.
{ "type": "OperationStatusResponse", "message": "Status update to display." }
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." }