Hi nightyard,
It appears as though you have the email address in the wrong position in your request.
Submitted as the following, it is successful:
{
"createTransactionRequest": {
"merchantAuthentication": {
"name": "6Dzz7r9G9D8",
"transactionKey": "XXXXXXXXXXXXX"
},
"transactionRequest": {
"transactionType": "authCaptureTransaction",
"amount": "1.24",
"payment": {
"creditCard": {
"cardNumber": "XXXX1111",
"expirationDate": "2020-12",
"cardCode": "XXX"
}
},
"customer": {
"email": "test@visa.com"
},
"billTo": {
"firstName": "Test",
"lastName": "Test",
"address": "123 Main Street",
"city": "Kirkland",
"state": "WA",
"zip": "98004",
"country": "USA"
},
"shipTo": {
"firstName": "Test",
"lastName": "Testing",
"address": "456 Main St",
"city": "Kirkland",
"state": "WA",
"zip": "98004",
"country": "usa"
}
}
}
}
Response:
{
"transactionResponse": {
"responseCode": "1",
"authCode": "12CD56",
"avsResultCode": "Y",
"cvvResultCode": "M",
"cavvResultCode": "2",
"transId": "40016620236",
"refTransID": "",
"transHash": "8A705773E45826824276E0D3CD1C01F1",
"testRequest": "0",
"accountNumber": "XXXX1111",
"accountType": "Visa",
"messages": [
{
"code": "1",
"description": "This transaction has been approved."
}
],
"transHashSha2": "1094832A8DD6FBF5F6A08ECA1853057993D42249A4F38C1810CB4C4CD621A0BFC67E29C764037E6F7433D760A5A2E58DFE5C798CF595B6357FA985F6AD70A2A4",
"networkTransId": "123456789 NNN H"
},
"messages": {
"resultCode": "Ok",
"message": [
{
"code": "I00001",
"text": "Successful."
}
]
}
}
I hope this is helpful to you.
Regards,
Elaine