Skip to main content

Create a Batch

Create a batch as an authenticated issuer.

Endpoint Information

  • Method: POST
  • URL: /v1/{chain}/batch/create
  • Authentication Required: Yes

Authentication

An up-to-date Bearer PASETO token must be provided in the Authorization header.

Request body

The request body must include:

  • data – A JSON object containing the batch data

Example request

{
"issuerBusinessId": "1234567-8",
"data": {
"batchId": "5698754215",
"manufacturedDate": "Wed Aug 28 2024",
"provenance": [
{
"country": "FI",
"percentage": 100
}
],
},
}