Simple Order API | Visa Platform Connect

Simple Order Example: Google Pay Authorization

Request
<requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.121"> <merchantID>demomerchant</merchantID> <merchantReferenceCode>demorefnum</merchantReferenceCode> <billTo> <firstName>James</firstName> <lastName>Smith</lastName> <street1>1295 Charleston Road</street1> <city>Test City</city> <state>CA</state> <postalCode>99999</postalCode> <country>US</country> <email>demo@example.com</email> </billTo> <purchaseTotals> <currency>USD</currency> <grandTotalAmount>5.00</grandTotalAmount> </purchaseTotals> <encryptedPayment> <data>ABCDEFabcdefABCDEFabcdef0987654321234567</data> </encryptedPayment> <ccAuthService run="true"/> <paymentSolution>012</paymentSolution> </requestMessage>
Response for a Successful Request
<replyMessage> <merchantReferenceCode>demorefnum</merchantReferenceCode> <requestID>4465840340765000001541</requestID> <decision>ACCEPT</decision> <reasonCode>100</reasonCode> <requestToken>Ahj/7wSR5C/4Icd2fdAKakGLadfg5535r/ghx3Z90AoBj3u</requestToken> <purchaseTotals> <currency>USD</currency> </purchaseTotals> <ccAuthReply> <reasonCode>100</reasonCode> <amount>5.00</amount> <authorizationCode>888888</authorizationCode> <avsCode>X</avsCode> <avsCodeRaw>I1</avsCodeRaw> <authorizedDateTime>2015-11-03T20:53:54Z</authorizedDateTime> <processorResponse>100</processorResponse> <reconciliationID>11267051CGJSMQDC</reconciliationID> </ccAuthReply> <token> <prefix>294672</prefix> <suffix>4397</suffix> <expirationMonth>08</expirationMonth> <expirationYear>2021</expirationYear> </token> </replyMessage>