v1

latestOpenAPI 3.1.02026-08-04103211436.0 KB
Payments

Create payments in bulk

Creates several payments in a single call, following the same rules as the single payment creation endpoint. Payments sharing the same customId within the request are deduplicated and only the first occurrence is processed.

post/payments/{companyId}/bulk

Path parameters

companyIdstring required

Request body

Example request

{
  "data": [
    {
      "method": "bank-transaction",
      "operations": [
        {
          "amount": 500,
          "customId": "invoice-2024-001"
        }
      ],
      "concept": "Invoice #2024-001 payment",
      "amount": 1250.5,
      "accountingAmount": 1250.5,
      "exchangeRate": 1,
      "attributes": [
        {
          "customId": "cost-center",
          "value": "Marketing",
          "valueCustomId": "marketing"
        }
      ],
      "customId": "erp-payment-001"
    }
  ]
}

Response

Successful Response