POST
/
api
/
transactions
/
create_batch
Authorization
Body
{
  "transactions": [
    {
      "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
      "amount": 0,
      "receipt": {},
      "notes": {}
    }
  ],
  "idempotency_key": "string"
}
{
  "success": true,
  "status": "pending",
  "batch_id": "b7fbcb62-ce52-4fdc-9d91-1c03ffab338f"
}

Authorizations

Authorizationheaderrequired
string

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
idempotency_key
string
transactionsrequired
object[]

Response

200 - application/json
batch_id
string

Batch ID for checking status. Use with /api/transactions/batch/<batch_id>.

status
enum<string>

The status of the batch request.

Available options:
pending,
completed,
failed,
unknown
success
boolean