{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"vendorInfo","type":"basic","slug":"vendorinfo-1","excerpt":"","body":"###Request\n[block:parameters]\n{\n \"data\": {\n \"h-0\": \"Property Name\",\n \"h-1\": \"Type\",\n \"h-2\": \"Required\",\n \"0-0\": \"vendorId\",\n \"1-0\": \"commissionPercent\",\n \"0-1\": \"*integer*\",\n \"1-1\": \"*decimal*\",\n \"0-2\": \"**Required**\\nFor transactions involving vendors\",\n \"1-2\": \"Optional\",\n \"2-0\": \"commissionAmount\",\n \"2-1\": \"*decimal*\",\n \"2-2\": \"Optional\",\n \"h-3\": \"Description\",\n \"0-3\": \"ID assigned by BlueSnap to the marketplace vendor.\",\n \"1-3\": \"Vendor's commission percent for the transaction. \\n\\nThis value should be between 0-100. If the parameter is not included, it will be set to 0.\\n\\n*Note:* Only commission percent or amount should be used, not both.\",\n \"2-3\": \"Vendor's commission amount for the transaction. \\n\\n\\nIf blank, the transaction will use the commission rate set during the creation of the vendor. \\n\\nIf specified, the currency will be the same as the transaction currency. \\n\\n*Note:* Only commission percent or amount should be used, not both.\"\n },\n \"cols\": 4,\n \"rows\": 3\n}\n[/block]","updates":[],"order":57,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"628531cd1258c8003f6dd218","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"JSON Objects","slug":"resources","order":16,"from_sync":false,"reference":false,"_id":"628531cd1258c8003f6dd1ca","version":"628531cd1258c8003f6dd27d","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T16:20:51.519Z","__v":0},"project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"user":"560d5913af97231900938124","version":{"version":"8976-JSON","version_clean":"8976.0.0-JSON","codename":"3.42 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["628531cd1258c8003f6dd1bf","628531cd1258c8003f6dd1c0","628531cd1258c8003f6dd1c1","628531cd1258c8003f6dd1c2","628531cd1258c8003f6dd1c3","628531cd1258c8003f6dd1c4","628531cd1258c8003f6dd1c5","628531cd1258c8003f6dd1c6","628531cd1258c8003f6dd1c7","628531cd1258c8003f6dd1c8","628531cd1258c8003f6dd1c9","628531cd1258c8003f6dd1ca","628531cd1258c8003f6dd1cb","628531cd1258c8003f6dd1cc","628531cd1258c8003f6dd1cd","628531cd1258c8003f6dd1ce","628531cd1258c8003f6dd1cf","628531cd1258c8003f6dd1d0","628531cd1258c8003f6dd1d1","628531cd1258c8003f6dd1d2"],"_id":"628531cd1258c8003f6dd27d","project":"57336fd5a6a9c40e00e13a0b","__v":0,"forked_from":"622783372cd60c003782d77e","createdAt":"2018-04-24T15:22:41.561Z","releaseDate":"2018-04-24T15:22:41.561Z"},"createdAt":"2016-12-06T18:54:04.249Z","githubsync":"","__v":0}
vendorInfo
vendorId
integer
Required
For transactions involving vendors
ID assigned by BlueSnap to the marketplace vendor.
commissionPercent
decimal
Optional
Vendor's commission percent for the transaction.
This value should be between 0-100. If the parameter is not included, it will be set to 0.
Note: Only commission percent or amount should be used, not both.
commissionAmount
decimal
Optional
Vendor's commission amount for the transaction.
If blank, the transaction will use the commission rate set during the creation of the vendor.
If specified, the currency will be the same as the transaction currency.
Note: Only commission percent or amount should be used, not both.