The following fields are required when submitting an authorization request using the
Cybersource
decryption method:- e_commerce_indicator-set this field tospa.
- encrypted_payment_data
- Set the field to the value that was returned from Samsung Pay in the3ds.datablock as follows:
- Retrieve the payment data from Samsung Pay in JSON Web Encryption (JWE) format.
- Encode it in Base64.
- Retrieve the corresponding Key ID (KID) with encryption and set the values as shown below:{ "publicKeyHash": "kid", "version": "100", "data": "encoded Base64 data from above" }
- Encode the structure in Base64.
- Add the value to theencrypted_payment_datafield.
- encrypted_payment_descriptor-set this field toRklEPUNPTU1PTi5TQU1TVU5HLklOQVBQLlBBWU1FTlQ=.
- payment_network_token_transaction_type-set this field to1.
- payment_solution-set this field to008.