Authorizing a Payment with Visa Using `Cybersource` Decryption Method {#samsungpay-auth-cybs-visa-intro}
========================================================================================================

This section provides the following information:

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

Required Fields for Authorizing a Payment Using Visa and the `Cybersource` Decryption Method {#samsungpay-auth-cybsdecypt-visa-mandatory}
=========================================================================================================================================

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

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

Related Information {#samsungpay-auth-cybsdecypt-visa-mandatory_section_abb_khn_b1c}
------------------------------------------------------------------------------------

[REST API Field Reference Guide](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/rest/api-fields/rest-api-fields-intro.md "")

Example: `Cybersource` Decryption with Visa Using the REST API {#samsungpay-auth-cybsdecrypt-ex-visa-rest}
==========================================================================================================

Authorization Request

```
{
    "clientReferenceInformation": {
        "code": "demorefnum"
    },
    "processingInformation": {
        "paymentSolution": "008",
        "commerceIndicator": "internet"
    },
    "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"
        }
    },
    "paymentInformation": {
         "tokenizedCard": {
            "prefix": "294672",
            "suffix": "4397",
            "expirationMonth": "08"
         }
    },
    "processingInformation": {
        "reconciliationID": "13209254CGJSMQCQ"
    },
    "processorInformation": {
        "approvalCode": "888888",
        "responseCode": "100",
        "avs": {
            "code": "I1"
        }
    }   
}    
```

