On This Page

{#jumplink-list}  
[Markdown](/content/cybsdeveloper2021/amer/en/docs/cybs/en-us/apple-pay/developer/ctv/so/applepay/applepay-txns-intro/applepay-auth-merch-intro-jcb/applepay-auth-ex-xml-merch-jcb-so.md)

Simple Order XML Example: Merchant Decryption and JCB {#applepay-auth-ex-xml-merch-jcb-so}
==========================================================================================

Request

```
&lt;requestMessage xmlns="urn:schemas-cybersource-com:transaction-data-1.121"&gt;
   &lt;merchantID&gt;demomerchant&lt;/merchantID&gt;
   &lt;merchantReferenceCode&gt;demorefnum&lt;/merchantReferenceCode&gt;
   &lt;billTo&gt;
      &lt;firstName&gt;Jane&lt;/firstName&gt;
      &lt;lastName&gt;Smith&lt;/lastName&gt;
      &lt;street1&gt;123 Main Street&lt;/street1&gt;
      &lt;city&gt;Small Town&lt;/city&gt;
      &lt;state&gt;CA&lt;/state&gt;
      &lt;postalCode&gt;98765&lt;/postalCode&gt;
      &lt;country&gt;US&lt;/country&gt;
      &lt;email&gt;jsmith@example.com&lt;/email&gt;
   &lt;/billTo&gt;
   &lt;purchaseTotals&gt;
      &lt;currency&gt;USD&lt;/currency&gt;
      &lt;grandTotalAmount&gt;5.00&lt;/grandTotalAmount&gt;
   &lt;/purchaseTotals&gt;
   &lt;card&gt;
      &lt;accountNumber&gt;356611111111xxxx&lt;/accountNumber&gt;
      &lt;expirationMonth&gt;12&lt;/expirationMonth&gt;
      &lt;expirationYear&gt;2020&lt;/expirationYear&gt;
      &lt;cvNumber&gt;123&lt;/cvNumber&gt;
      &lt;cardType&gt;001&lt;/cardType&gt;
   &lt;/card&gt;
   &lt;ccAuthService run="true"&gt;
      &lt;cavv&gt;ABCDEFabcdefABCDEFabcdef0987654321234567&lt;/cavv&gt;
      &lt;eciRaw&gt;5&lt;/eciRaw&gt;
   &lt;/ccAuthService&gt;
   &lt;paymentNetworkToken&gt;
      &lt;transactionType&gt;1&lt;/transactionType&gt;
   &lt;/paymentNetworkToken&gt;
   &lt;paymentSolution&gt;001&lt;/paymentSolution&gt;
&lt;/requestMessage&gt;  
```

Response to a Successful Request

```
&lt;c:replyMessage&gt;
   &lt;c:merchantReferenceCode&gt;demorefnum&lt;/c:merchantReferenceCode&gt;
   &lt;c:requestID&gt;4465840340765000001541&lt;/c:requestID&gt;
   &lt;c:decision&gt;ACCEPT&lt;/c:decision&gt;
   &lt;c:reasonCode&gt;100&lt;/c:reasonCode&gt;
   &lt;c:requestToken&gt;
      Ahj/7wSR5C/4Icd2fdAKakGLadfg5535r/ghx3Z90AoBj3u
   &lt;/c:requestToken&gt;
   &lt;c:purchaseTotals&gt;
      &lt;c:currency&gt;USD&lt;/c:currency&gt;
   &lt;/c:purchaseTotals&gt;
   &lt;c:ccAuthReply&gt;
      &lt;c:reasonCode&gt;100&lt;/c:reasonCode&gt;
      &lt;c:amount&gt;5.00&lt;/c:amount&gt;
      &lt;c:authorizationCode&gt;888888&lt;/c:authorizationCode&gt;
      &lt;c:avsCode&gt;X&lt;/c:avsCode&gt;
      &lt;c:avsCodeRaw&gt;I1&lt;/c:avsCodeRaw&gt;
      &lt;c:authorizedDateTime&gt;2015-11-03T20:53:54Z&lt;/      
      &lt;c:authorizedDateTime&gt;
      &lt;c:processorResponse&gt;100&lt;/c:processorResponse&gt;
      &lt;c:reconciliationID&gt;11267051CGJSMQDC&lt;/c:reconciliationID&gt;
   &lt;/c:ccAuthReply&gt;
&lt;/c:replyMessage&gt;  
```

RELATED TO THIS PAGE

* <>

