Transactions

Searches transaction allocations.

post/transactions/allocations/search

Request body

Example request

{
  "filter": {
    "invoice_id": {
      "any": [
        "inv_abc123"
      ]
    }
  }
}

Response

Success

Example response

{
  "data": [
    {
      "invoice_id": "inv_abc123",
      "amount": "1000",
      "type": "invoice_payin",
      "user": {
        "id": "user_abc123",
        "external_id": "user_ext_001"
      },
      "id": "alloc_abc123",
      "posted": "2024-01-13T00:00:00Z",
      "transaction": {
        "id": "txn_dHhuX2ZyYWdfMDAx",
        "external_id": "bank_txn_123"
      }
    }
  ]
}

Changes

Changed in 4 of the 38 revisions of this API.4

    • the response property data/items/allOf[TransactionAllocationResponse]/user/external_id became required for the status 200

      response-property-became-required

    This revision also has 18 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • added the required property data/items/allOf[subschema #2]/posted to the response with the 200 status

      response-required-property-added

    • added the optional property data/items/allOf[TransactionAllocationResponse]/user/external_id to the response with the 200 status

      response-optional-property-added

    • endpoint added

      endpoint-added