Skip to main content
POST
/
transactions
/
bulk
Create multiple transactions
curl --request POST \
  --url https://api.sandbox.monite.com/v1/transactions/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-monite-entity-id: <x-monite-entity-id>' \
  --header 'x-monite-version: <x-monite-version>' \
  --data '
{
  "data": [
    {
      "amount": 123,
      "currency": "EUR",
      "merchant_amount": 123,
      "merchant_currency": "AED",
      "merchant_location": "<string>",
      "merchant_name": "<string>",
      "payment_method": {
        "details": {
          "brand": "<string>",
          "card_type": "credit",
          "expiry_month": 6,
          "expiry_year": 123,
          "last4": "<string>"
        },
        "type": "card"
      },
      "type": "capture",
      "description": "<string>",
      "entity_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "external_id": "<string>",
      "partner_metadata": {},
      "started_at": "2023-11-07T05:31:56Z",
      "status": "created"
    }
  ]
}
'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
    }
  ],
  "status": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-monite-version
string<date>
required
x-monite-entity-id
string<uuid>
required

The ID of the entity that owns the requested resource.

Example:

"9d2b4c8f-2087-4738-ba91-7359683c49a4"

Body

application/json
data
object[]
required

A list of transactions to create.

Response

Successful Response

data
object[]
required
Required array length: 1 - 5000 elements
status
enum<string>
required

The overall status of the bulk creation operation.

Available options:
success,
partial_success,
error