Authorizing a Payment with Mastercard Using `Bank of America` Decryption Method {#samsungpay-auth-cybs-mc-intro}
================================================================================================================

This section provides the following information:

* [Required Fields for Authorizing a Payment Using Mastercard and the Bank of America Decryption Method](/docs/bofa/en-us/samsung-pay/developer/gpx/rest/samsungpay/samsungpay-services/samsungpay-auth-intro/samsungpay-auth-cybs-mc-intro/samsungpay-auth-cybsdecypt-mc-mandatory.md "")
* [Authorizing a Payment](/docs/bofa/en-us/samsung-pay/developer/gpx/rest/samsungpay/samsungpay-services/samsungpay-auth-intro/samsungpay-auth-cybs-jcb-intro/samsungpay-auth-procedure.md "")
* [Example: Bank of America Decryption with Mastercard Using the REST API](/docs/bofa/en-us/samsung-pay/developer/gpx/rest/samsungpay/samsungpay-services/samsungpay-auth-intro/samsungpay-auth-cybs-mc-intro/samsungpay-auth-cybsdecrypt-ex-mc-rest.md "")
  {#samsungpay-auth-cybs-mc-intro_ul_oj3_jtp_npb}

Required Fields for Authorizing a Payment Using Mastercard and the `Bank of America` Decryption Method {#samsungpay-auth-cybsdecypt-mc-mandatory}
=================================================================================================================================================

The following fields are required when submitting an authorization request using the `Bank of America` decryption method:

* descriptor-set this field under the fluidData object to `RklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ=`.
* processingInformation.commerceIndicator-set this field to `spa`.
* paymentInformation.tokenizedCard.transactionType-set this field to `1`.
* processingInformation.paymentSolution-set this field to `008`.

Example: `Bank of America` Decryption with Mastercard Using the REST API {#samsungpay-auth-cybsdecrypt-ex-mc-rest}
==================================================================================================================

Authorization Request

```
{
    "clientReferenceInformation": {
        "code": "demorefnum"
    },
    "processingInformation": {
        "paymentSolution": "008",
        "commerceIndicator": "spa"
    },
    "paymentInformation": {
        "tokenizedCard": {
            "transactionType": "1"
        }
    },
    "fluidData": {
      "descriptor": "ABCDEFabcdefABCDEFabcdef0987654321234567",
      "value": "RklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ="
    },
    "billTo": {
        "firstName": "James",
        "lastName": "Smith",
         "address1": "111 S. Division St.",
         "address2": "Suite 123",
         "locality": "Ann Arbor",
         "administrativeArea": "MI",
         "postalCode": "48104-2201",
         "country": "US",
         "email": "demo@example.com",
         "phoneNumber": "9999999999"
      },
      "orderInformation": {
         "amountDetails": {
             "currency": "USD",
             "totalAmount": "100.00"
         }
      }
}
```

Authorization Response

```
{
    "clientReferenceInformation": {
        "code": "demorefnum"
    },
    "orderInformation": {
        "amountDetails": {
            "currency": "USD",
            "authorizedAmount": "100.00"
        }
    },
    "processingInformation": {
        "reconciliationID": "13209255CGJSMQCR"
    },
    "processorInformation": {
        "approvalCode": "888888",
        "responseCode": "100",
        "avs": {
            "code": "I1"
        }
    },
    "submitTimeUtc": "2015-11-03T205035Z"
    }    
}    
```

