{"_id":"5ab11995825cbc0077ab97c2","category":{"_id":"5ab11994825cbc0077ab979b","version":"5ab11994825cbc0077ab9792","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":true,"createdAt":"2016-05-17T12:18:45.712Z","from_sync":false,"order":8,"slug":"encrypt-parameters","title":"Encrypt/Decrypt Parameters"},"project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"user":"560d5913af97231900938124","version":{"_id":"5ab11994825cbc0077ab9792","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2018-03-20T14:24:20.891Z","releaseDate":"2018-03-20T14:24:20.891Z","categories":["5ab11994825cbc0077ab9793","5ab11994825cbc0077ab9794","5ab11994825cbc0077ab9795","5ab11994825cbc0077ab9796","5ab11994825cbc0077ab9797","5ab11994825cbc0077ab9798","5ab11994825cbc0077ab9799","5ab11994825cbc0077ab979a","5ab11994825cbc0077ab979b","5ab11994825cbc0077ab979c","5ab11994825cbc0077ab979d"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.25 Release","version_clean":"8976.0.0-Tools","version":"8976-Tools"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-06-23T17:55:24.050Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":true,"order":43,"body":"The `param-encryption` resource contains the parameters to be encrypted in the request and the encrypted string in the response. The encrypted string can then be included in the checkout page URL, as the value of the `enc` parameter.\n\n###Request\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Required\",\n    \"0-0\": \"`parameters`\",\n    \"0-1\": \"container\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"A container of [parameter](doc:parameter) properties.\",\n    \"0-2\": \"**Required**\"\n  },\n  \"cols\": 4,\n  \"rows\": 1\n}\n[/block]\n###Response\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Description\",\n    \"0-0\": \"`decrypted-token`\",\n    \"0-1\": \"*string*\",\n    \"0-2\": \"A string representing a collection of encrypted [BuyNow parameters](http://support.bluesnap.com/docs/buynow-parameters).\"\n  },\n  \"cols\": 3,\n  \"rows\": 1\n}\n[/block]","excerpt":"","slug":"param-encryption","type":"basic","title":"param-encryption (resource)"}

param-encryption (resource)


The param-encryption resource contains the parameters to be encrypted in the request and the encrypted string in the response. The encrypted string can then be included in the checkout page URL, as the value of the enc parameter.

Request

Property Name
Type
Required
Description

parameters

container

Required

A container of parameter properties.

Response

Property Name
Type
Description

decrypted-token

string

A string representing a collection of encrypted BuyNow parameters.