JSON API: Batch request

Routes: batch

If transaction is omitted, the default is true.

{
  "list": [
    {
      "method": "currency/get",
      "payload": {
        "code": "EUR"
      }
    }
  ],
  "transaction": false
}

Either the errors or batch attribute will be present, not both.

{
  "batch": [
    {
      "currency": {
        "code": "EUR",
        "decimals": 2,
        "revision": "c2d4784425930ad7b477c3043f56c7d85eff425b93c46a499175069f6b887201",
        "createdAt": "2021-07-03T00:05:08.922719Z",
        "updatedAt": "2021-07-03T00:05:08.922719Z"
      }
    }
  ],
  "time": "2021-12-28T07:35:48.056256Z"
}