{"_id":"59dfa5868b51880010b74b22","category":{"_id":"59dfa5828b51880010b74ac2","version":"59dfa5828b51880010b74ab6","project":"57336fd5a6a9c40e00e13a0b","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2015-10-15T16:20:51.519Z","from_sync":false,"order":11,"slug":"resources","title":"JSON Objects"},"project":"57336fd5a6a9c40e00e13a0b","parentDoc":null,"user":"560d5913af97231900938124","version":{"_id":"59dfa5828b51880010b74ab6","project":"57336fd5a6a9c40e00e13a0b","__v":1,"createdAt":"2017-10-12T17:25:22.850Z","releaseDate":"2017-10-12T17:25:22.850Z","categories":["59dfa5828b51880010b74ab7","59dfa5828b51880010b74ab8","59dfa5828b51880010b74ab9","59dfa5828b51880010b74aba","59dfa5828b51880010b74abb","59dfa5828b51880010b74abc","59dfa5828b51880010b74abd","59dfa5828b51880010b74abe","59dfa5828b51880010b74abf","59dfa5828b51880010b74ac0","59dfa5828b51880010b74ac1","59dfa5828b51880010b74ac2","59dfa5828b51880010b74ac3","59dfa5828b51880010b74ac4","59dfa5828b51880010b74ac5"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":false,"codename":"3.23 Release","version_clean":"8976.0.0-JSON","version":"8976-JSON"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-12-06T18:54:04.249Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":41,"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. Value should be between 0 - 100. \\n\\nIf blank, the transaction will use the value set during the creation of the vendor\\n\\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]","excerpt":"","slug":"vendorinfo-1","type":"basic","title":"vendorInfo"}

Request

Property Name
Type
Required
Description

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. Value should be between 0 - 100.

If blank, the transaction will use the value set during the creation of the vendor

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.