signature parameter or contain an incorrectly calculated Signature will be rejected by ZEN.COM.paywallSecret){
"terminalUuid":"05b692d0-00b9-48f7-92ca-1509f055df2e",
"amount":1000,
"currency":"PLN",
"merchantTransactionId":"trasaction1",
"customer":{
"id":"CustomerId328642",
"firstName":"John",
"lastName":"Doe",
"email":"[email protected]"
},
"items":[
{
"code":"itemCode1",
"category":"itemCategory1",
"name":"itemName1",
"price":200,
"quantity":2,
"lineAmountTotal":400
},
{
"code":"itemCode2",
"category":"itemCategory2",
"name":"itemName2",
"price":300,
"quantity":2,
"lineAmountTotal":600
}
],
"billingAddress":{
"id":"bAId1",
"firstName":"John",
"lastName":"Doe",
"country":"PL",
"street":"streetName",
"city":"cityName",
"countryState":"stateName",
"province":"provinceName",
"buildingNumber":"1",
"roomNumber":"11",
"postcode":"23-232",
"companyName":"Company Name",
"phone":"+48555555555",
"taxId":"12345678"
},
"shippingAddress":{
"id":"sA1",
"firstName":"John",
"lastName":"Doe",
"country":"PL",
"street":"streetName",
"city":"cityName",
"countryState":"stateName",
"province":"provinceName",
"buildingNumber":"1",
"roomNumber":"11",
"postcode":"11",
"companyName":"Company Name",
"phone":"+48555555555"
},
"urlFailure":"https://backtoshop/failure",
"urlRedirect":"https://backtoshop/redirect",
"urlSuccess":"https://backtoshop/success",
"customIpnUrl":"https://backtoshop/notiify",
"language":"pl"
}<> null), a list of elements 'name=value' should be created by mapping as follows:& character, creating a single stringpaywallSecret parameter should be appended at the end.paywallSecret parameter; followed by the lowercase name of the hashing algorithm used. For described example it is sha256. This will result in the final value of the "signature" attribute.signature parametersignature attribute should be added to the input objectsignature parameter final value{
"terminalUuid":"05b692d0-00b9-48f7-92ca-1509f055df2e",
"amount":1000,
"currency":"PLN",
"merchantTransactionId":"trasaction1",
"customer":{
"id":"CustomerId328642",
"firstName":"John",
"lastName":"Doe",
"email":"[email protected]"
},
"items":[
{
"code":"itemCode1",
"category":"itemCategory1",
"name":"itemName1",
"price":200,
"quantity":2,
"lineAmountTotal":400
},
{
"code":"itemCode2",
"category":"itemCategory2",
"name":"itemName2",
"price":300,
"quantity":2,
"lineAmountTotal":600
}
],
"billingAddress":{
"id":"bAId1",
"firstName":"John",
"lastName":"Doe",
"country":"PL",
"street":"streetName",
"city":"cityName",
"countryState":"stateName",
"province":"provinceName",
"buildingNumber":"1",
"roomNumber":"11",
"postcode":"23-232",
"companyName":"Company Name",
"phone":"+48555555555",
"taxId":"12345678"
},
"shippingAddress":{
"id":"sA1",
"firstName":"John",
"lastName":"Doe",
"country":"PL",
"street":"streetName",
"city":"cityName",
"countryState":"stateName",
"province":"provinceName",
"buildingNumber":"1",
"roomNumber":"11",
"postcode":"11",
"companyName":"Company Name",
"phone":"+48555555555"
},
"urlFailure":"https://backtoshop/failure",
"urlRedirect":"https://backtoshop/redirect",
"urlSuccess":"https://backtoshop/success",
"customIpnUrl":"https://backtoshop/notiify",
"language":"pl",
"signature":"6a3493c9a0213fd8a33032bc268da8592218e4bfdfe33c139160369e125366e0;sha256"
}