Simple Order XML Example: `Cybersource` Decryption for Mastercard {#applepay-auth-ex-xml-cybs-mc-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;encryptedPayment&gt;
        &lt;descriptor&gt;RklEPUNPTU1PTi5BUFBMRS5JTkFQUC5QQVlNRU5U&lt;/descriptor&gt;
        &lt;data&gt;ABCDEFabcdefABCDEFabcdef0987654321234567&lt;/data&gt;
        &lt;encoding&gt;Base64&lt;/encoding&gt;
    &lt;/encryptedPayment&gt;
    &lt;card&gt;
        &lt;cardType&gt;002&lt;/cardType&gt;
    &lt;/card&gt;
    &lt;ccAuthService run="true"/&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:token&gt;
        &lt;c:expirationMonth&gt;07&lt;/c:expirationMonth&gt;
        &lt;c:expirationYear&gt;2025&lt;/c:expirationYear&gt;
        &lt;c:prefix&gt;239845&lt;/c:prefix&gt;
        &lt;c:suffix&gt;2947&lt;/c:suffix&gt;
    &lt;/c:token&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;/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; 
```

