v1

latestOpenAPI 3.0.12026-07-26222700728.0 KB
Payments

Save payments

Save new (or update existing) payments

post/v6/payments

Request body

Example request

{
  "data": [
    {
      "id": "ptxn_158998869",
      "date": "2025-06-26",
      "amount": 273479,
      "notes": "June Payroll",
      "bankAccountId": "bka_7542850",
      "customerId": "cus_4852707",
      "vendorId": "vnd_28868401",
      "categoryId": "ctg_58932890",
      "glAccountId": "gla_38560327",
      "children": [
        {
          "id": "tli_349412",
          "amount": 134051
        }
      ],
      "customData": {
        "internal_key": "some_internal_key",
        "some_other_field": 23434
      }
    }
  ]
}

Response

Success

result'SUCCESS' | 'FAILURE'

The result of the action performed.