Skip to main content
POST
Create a draft batch

Authorizations

x-api-key
string
header
required

API key for authentication

Authorization
string
header
required

ES256 JWT signed by the private key registered to the API key above. Claims: sub (=API key), uri, nbf, iat, exp, and bodyHash (HMAC-SHA512 of uri + rawBody + nbf using a shared secret, base64).

Body

application/json
orders
object[]
required
Minimum array length: 1
client_reference
string

Caller's own reference for the whole batch.

Response

Draft batch created

batch
object
required
orders
object[]
required