Decrypt Parameters

Definition

https://sandbox.bluesnap.com/services/2/tools/param-decryption


The Encrypt Parameters request enables you to send in an encrypted string and decrypt it into plain text.

Request Content

param-decryption container    required, contains the following property (see param-decryption):

  • encrypted-token string    required

Response Details

If successful, the response HTTP status code is 200 OK.
The decrypted string is returned within the decrypted-token property.


Examples

Request Examples

curl -v -X POST https://sandbox.bluesnap.com/services/2/tools/param-decryption \
-H 'Content-Type: application/xml' \
-H 'Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=' \
-d '
<param-decryption xmlns="http://ws.plimus.com">
  <encrypted-token>XC9VdW0NVMnb%2FZdF1xccFwMulRrHqC2gurtDIrxRhHUFUqZAXA6Flwv3iR84oSVf</encrypted-token>
</param-decryption>'

Response Example

HTTP/ 1.1 200 OK

<?xml version="1.0" encoding="UTF-8"?>
<param-decryption xmlns="http://ws.plimus.com">
  <decrypted-token>sku2125148=1&currency=USD&language=ENGLISH</decrypted-token>
</param-decryption>

Back to Top