Required Fields for Authorizing a Payment Using Mastercard and the
Cybersource
Decryption Method

The following fields are required when submitting an authorization request using the
Cybersource
decryption method:
  • ccAuthService_commerceIndicator
    -set this field to
    spa
    .
  • encryptedPayment_data
    • Set the field to the value that was returned from Samsung Pay in the
      3ds.data
      block as follows:
      • Retrieve the payment data from Samsung Pay in JSON Web Encryption (JWE) format.
      • Encode it in Base64.
      • Add the value to the
        encryptedPayment_data
        field.
  • encryptedPayment_descriptor
    -set this field to
    RklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ=
    .
  • paymentNetworkToken_transactionType
    -set this field to
    1
    .
  • paymentSolution
    -set this field to
    008
    .

Authorizing a Payment

  1. Request the service. Set the
    ccAuthService_run
    field to
    true
    , and send the request to one of these endpoints:
  2. Include the required fields in the request.
  3. Include optional fields in the request as needed.
  4. Check the response message to make sure that the request was successful. A value of
    ACCEPT
    for the
    decision
    field indicates success. For information about reason codes, see Reason Codes for the Simple Order API.

Example:
Cybersource
Decryption with Mastercard Using the Simple Order API

Authorization Request
        
demomerchant demorefnum James Smith 1295 Charleston Road Test City CA 99999 US demo@example.com USD 5.00 spa ABCDEFabcdefABCDEFabcdef0987654321234567 RklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ= 008 1
Authorization Response
        
demorefnum 4465840340765000001541 ACCEPT 100 USD 100 5.00 888888 X I1 2015-11-03T20:53:54Z 100 11267051CGJSMQDC 128945 2398 08 2021