Simple Order API

Validation and Authorization Request

This is a Payer Authentication Validation and Authorization request example and its corresponding response using the Hybrid implementation.
Validate and Authorization Request
payerAuthValidateService_run=true merchantID=patest merchantReferenceCode=23AEE8CB6B62EE2AF07 item_0_unitPrice=19.99 purchaseTotals_currency=USD card_expirationMonth=01 card_expirationYear=2020 card_accountNumber=xxxxxxxxxxxxxxxx card_cardType=001 payerAuthValidateService_authenticationTransactionID= UhGFMeW6IPZbgt9diHK0 referenceID=CybsTester-cc719e84
Validate and Authorization Response
requestID=0340290070000167905080 merchantReferenceCode=23AEE8CB6B62EE2AF07 purchaseTotals_currency=USD decision=ACCEPT reasonCode=100 payerAuthValidateReply_reasonCode=100 payerAuthValidateReply_authenticationResult=0 payerAuthValidateReply_authenticationStatusMessage=Success payerAuthValidateReply_cavv=Y2FyZGluYWxjb21tZXJjZWF1dGg= payerAuthValidateReply_commerceIndicator=vbv payerAuthValidateReply_eci=5 payerAuthValidateReply_eciRaw=05 payerAuthValidateReply_paresStatus=Y payerAuthValidateReply_reasonCode=100 payerAuthValidateReply_specificationVersion=2.0.1 request_token=AhjzbwSTHCfKtXsaE6elEQJP+BFNcZtIHTiD9au3tjijj5Uar+AuAAAAkAY5
This is an example of an Payer Authentication Validation and Authorization request and its corresponding response using Google Pay as the digital payment option. The Google Pay developer guide has additional information and code samples. There is a Google Pay developer guide available for each processor.
When requesting an authorization for a Google Pay transaction, be sure to:
  • Set the
    encryptedPayment_data
    field to the string value generated from the full wallet response.
  • Set the
    paymentNetworkToken_requestorID
    field to your token requestor ID.
  • Set the
    payment_solution
    field to
    012
    .
Request
merchantID=patest merchantReferenceCode=0001 purchaseTotals_currency=USD purchaseTotals_grandTotalAmount=30.00 ccAuthService_run=true payerAuthValidateService_authenticationTransactionID=T2335oS0o1FC65qav0xsx0 encryptedPayment_data=ABCDEFabcdefABCDEFabcdef0987654321234567 payerAuthValidateService_run=true paymentSolution=012
Response
ccAuthReply_amount=30.00 ccAuthReply_authorizationCode=888888 ccAuthReply_authorizedDateTime=2020-08-24T20:06:35Z ccAuthReply_avsCode=X ccAuthReply_avsCodeRaw=I1 ccAuthReply_cvCode=M ccAuthReply_cvCodeRaw=M ccAuthReply_paymentNetworkTransactionID=123456789619999 ccAuthReply_processorResponse=100 ccAuthReply_reasonCode=100 ccAuthReply_reconciliationID=734426477E432MHS merchantReferenceCode=0001 payerAuthValidateReply_acsTransactionID=8a947b83-04b4-4beb-a2b3-dcc1a5f94a12 payerAuthValidateReply_authenticationResult=0 payerAuthValidateReply_authenticationStatusMessage=Success payerAuthValidateReply_cardBin=40000000 payerAuthValidateReply_cardTypeName=VISA payerAuthValidateReply_cavv=MTIzNDU2Nzg5MDEyMzQ1Njc4OTA= payerAuthValidateReply_commerceIndicator=vbv payerAuthValidateReply_directoryServerTransactionID=395fb036-cfc6-462b-b28d-d6ed7c970cdd payerAuthValidateReply_eci=05 payerAuthValidateReply_eciRaw=05 payerAuthValidateReply_paresStatus=Y payerAuthValidateReply_reasonCode=100 payerAuthValidateReply_specificationVersion=2.2.0 payerAuthValidateReply_threeDSServerTransactionID=7432a600-8336-4f87-abe9-66f741708a1d payerAuthValidateReply_xid=MTIzNDU2Nzg5MDEyMzQ1Njc4OTA= purchaseTotals_currency=USD reasonCode=100 requestID=5982995945196028003011 requestToken=Axj/7wSTRFa/iOJ7uYLDABEg3ZtGjJs0bt4rRmymyKaiOEtVlSQFRHCWqypOkDLuA O1eDSTKuj0kshoD5NEVr+I4nu5gsMAA9ACm