Process an ApplePay transaction.
Changed onpost/gateway/remote.json
Request
- Base URLhttps://secure.telr.com
- URLhttps://secure.telr.com/gateway/remote.json
- Authnone declared
Request body
Example request
{
"store": 12345,
"tran": {
"id": "1236100014",
"class": "ecom",
"type": "sale",
"description": "ApplePay transaction",
"amount": 1,
"currency": "AED",
"method": "applepay"
},
"applepay": {
"token": {
"paymentData": {
"header": {
"transactionId": "xxxxxxxx",
"ephemeralPublicKey": "xxxxxxxx"
},
"version": "EC_v1"
},
"paymentMethod": {
"network": "MasterCard 1234",
"type": "MasterCard"
}
}
},
"customer": {
"name": {
"forenames": "Test",
"surname": "User"
},
"email": "test@gmail.com",
"address": {
"line1": "Address",
"country": "AE",
"city": "Dubai"
},
"phone": "0123456789"
}
}Response
Response
Example response
{
"trace": "4001/5151/%ea6bba9",
"transaction": {
"ref": "040024871559",
"type": "sale",
"class": "ECom",
"status": "D",
"code": "31",
"message": "Not authorised"
},
"customer": {
"email": "abcfd@gmail.com",
"name": {
"forenames": "A bcd",
"surname": "sff"
},
"address": {
"line1": "No address",
"city": "Unknown",
"country": "AE"
}
}
}Changes
- breaking
added the new required request property
- breaking
removed
subschema #1: GooglePayTokenssubschema #2: NetworkTokenfrom the request bodyoneOflist - breaking
the request property
became required - breaking
removed the enum value
googlepayof the request property/ - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - warning
removed the optional property
////from the response with the status - info
added the new
applepayenum value to the request property/ - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status
- breaking