{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"batch-transaction","type":"basic","slug":"batch-transaction","excerpt":"Contains information required to process a batch of transactions","body":"###Request\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Property Name\",\n    \"h-1\": \"Type\",\n    \"h-2\": \"Required\",\n    \"0-0\": \"`batch-id`\",\n    \"0-1\": \"*string*\",\n    \"h-3\": \"Description\",\n    \"0-3\": \"Unique ID provided by the merchant. Maximum 50 characters.\",\n    \"2-0\": \"`card-transaction`\",\n    \"2-2\": \"Optional\",\n    \"2-3\": \"Container of [card-transaction](doc:card-transaction) properties.\\nThis property may appear more than once within the given resource.\",\n    \"2-1\": \"container\",\n    \"1-0\": \"`callback-url`\",\n    \"1-1\": \"*string*\",\n    \"1-3\": \"URL where BlueSnap sends the full batch result once all transactions are processed. Maximum 1000 characters.\",\n    \"0-2\": \"**Required**\",\n    \"1-2\": \"**Required**\",\n    \"3-0\": \"`alt-transaction`\",\n    \"3-1\": \"container\",\n    \"3-2\": \"Optional\",\n    \"3-3\": \"Container of [alt-transaction](doc:alt-transaction) properties.\"\n  },\n  \"cols\": 4,\n  \"rows\": 4\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\": \"`batch-id`\",\n    \"5-0\": \"`processing-info`\",\n    \"0-1\": \"*string*\",\n    \"5-2\": \"Container of [processing-info](doc:processing-info) properties.\",\n    \"1-0\": \"`callback-url`\",\n    \"1-1\": \"*string*\",\n    \"3-0\": \"`card-transaction`\",\n    \"3-1\": \"container\",\n    \"5-1\": \"container\",\n    \"2-0\": \"`transaction-count`\",\n    \"2-1\": \"*integer*\",\n    \"3-2\": \"Container of [card-transaction](doc:card-transaction) properties.\",\n    \"0-2\": \"Unique ID provided by the merchant.\",\n    \"1-2\": \"URL where BlueSnap sends the full batch result once all transactions are processed.\",\n    \"2-2\": \"Number of transactions in the batch.\",\n    \"4-0\": \"`alt-transaction`\",\n    \"4-1\": \"container\",\n    \"4-2\": \"Container of [alt-transaction](doc:alt-transaction) properties.\"\n  },\n  \"cols\": 3,\n  \"rows\": 6\n}\n[/block]","updates":[],"order":4,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5f43d7f192d43e01ff6f112a","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Resources","slug":"resources","order":16,"from_sync":false,"reference":false,"_id":"5f43d7f192d43e01ff6f111c","version":"5f43d7f192d43e01ff6f11c2","project":"57336fd5a6a9c40e00e13a0b","createdAt":"2015-10-15T16:20:51.519Z","__v":0},"parentDoc":null,"project":"57336fd5a6a9c40e00e13a0b","user":"560d5913af97231900938124","version":{"version":"8976-XML","version_clean":"8976.0.0-XML","codename":"3.35 Release","is_stable":false,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5f43d7f192d43e01ff6f1110","5f43d7f192d43e01ff6f1111","5f43d7f192d43e01ff6f1112","5f43d7f192d43e01ff6f1113","5f43d7f192d43e01ff6f1114","5f43d7f192d43e01ff6f1115","5f43d7f192d43e01ff6f1116","5f43d7f192d43e01ff6f1117","5f43d7f192d43e01ff6f1118","5f43d7f192d43e01ff6f1119","5f43d7f192d43e01ff6f111a","5f43d7f192d43e01ff6f111b","5f43d7f192d43e01ff6f111c","5f43d7f192d43e01ff6f111d","5f43d7f192d43e01ff6f111e","5f43d7f192d43e01ff6f111f","5f43d7f192d43e01ff6f1120","5f43d7f192d43e01ff6f1121","5f47e410bd05ef0011069965"],"_id":"5f43d7f192d43e01ff6f11c2","project":"57336fd5a6a9c40e00e13a0b","__v":1,"forked_from":"5ed5174637c3c607440c0a3c","createdAt":"2018-04-24T15:24:22.608Z","releaseDate":"2018-04-24T15:24:22.608Z"},"createdAt":"2015-10-15T16:47:17.855Z","githubsync":"","__v":0}

batch-transaction

Contains information required to process a batch of transactions

Request

Property Name
Type
Required
Description

batch-id

string

Required

Unique ID provided by the merchant. Maximum 50 characters.

callback-url

string

Required

URL where BlueSnap sends the full batch result once all transactions are processed. Maximum 1000 characters.

card-transaction

container

Optional

Container of card-transaction properties.
This property may appear more than once within the given resource.

alt-transaction

container

Optional

Container of alt-transaction properties.

Response

Property Name
Type
Description

batch-id

string

Unique ID provided by the merchant.

callback-url

string

URL where BlueSnap sends the full batch result once all transactions are processed.

transaction-count

integer

Number of transactions in the batch.

card-transaction

container

Container of card-transaction properties.

alt-transaction

container

Container of alt-transaction properties.

processing-info

container

Container of processing-info properties.