Transaction activity

Get a single activity by type and ID

Returns a single activity (transaction, payment, order, or transaction box) for a given account, type, and ID.

get/activity/{type}/{id}

Request

Path parameters

type'transaction' | 'payment' | 'order' | 'boxTransaction' required

The type of activity to retrieve.

idstring required

The ID of the activity to retrieve (transactionId for transaction, paymentId for payment, originOrderId for order, boxTransactionId for boxTransaction).

Query parameters

accountIdstring required

The ID of the account to work with.

Example:F50091
'bankFeedDetails' | 'annotations' | 'attachments' | 'forwardDetails' | 'swiftGpi'
OR
string[]
string
OR
string[]

Response

OK

OR
OR
OR
OR

Example response

{
  "resourceType": "payment",
  "id": 42782085,
  "orderId": 1380,
  "userId": "34edaf73-49be-4669-83ee-1b1f8c680d26",
  "companyId": "F50072",
  "originId": "9a623439-8275-4230-a157-6c623a2ea7b8",
  "originOrderId": "EKOBEPVFJ",
  "budgetId": "775596ae-2624-40af-a9dc-9756110a4a03",
  "status": "orderCancelled",
  "beneficiaryId": "ben90944601",
  "beneficiaryName": "Nichole Grant",
  "beneficiaryAddress": "46315 Bailey MillSouth CamilleNiue",
  "beneficiaryAccountNumber": "10387899",
  "beneficiarySortCode": "12-34-56",
  "beneficiaryIban": "PT72105510150936500020992",
  "beneficiaryBankCode": "QHKEMKK1",
  "beneficiaryBankAddress": "883 Bernie MountainNew EstachesterVietnam",
  "beneficiaryCountryCode": "GB",
  "beneficiaryRoutingInfo": "Payment will be routed from Barclays Bank and then through Lloyds bank",
  "remitterName": "Joseph Bloggs",
  "reference": "withdrawal transaction at Osinski, Zboncak and Bayer using card ending with ***3963 for IDR 670.50 in account ***32418758",
  "amount": 773.08,
  "currency": "USD",
  "sellCurrency": "USD",
  "buyCurrency": "USD",
  "settlementAmount": 33920.34,
  "settlementFee": 1.34,
  "settlementAmountWithoutFee": 33920.34,
  "customerRate": 0.8637052,
  "customerInverseRate": 0.71942446043,
  "confirmationKey": "F36555/pdf/F36555-000265963.pdf",
  "uniqueId": "69e4a1e8-db35-4301-b5a8-67a2cb063609",
  "order": {
    "id": 1380,
    "companyId": "F50072",
    "originId": "9a623439-8275-4230-a157-6c623a2ea7b8",
    "status": "complete",
    "type": "payment",
    "userId": "34edaf73-49be-4669-83ee-1b1f8c680d26",
    "userName": "John Doe",
    "initiator": "John Doe"
  },
  "transactionGroupId": "1c0547bd-30e6-4d14-b82e-78cd128fbfd9",
  "transactionBoxes": [
    {
      "id": "2af0e603-0c72-4a7c-8020-52916d7a9960",
      "accountId": "F50091",
      "budgetId": "775596ae-2624-40af-a9dc-9756110a4a03",
      "transactionId": "42782085",
      "transactionBoxableId": "42782085",
      "transactionBoxableType": "payment",
      "paymentId": 42782085,
      "orderId": "E61BG8PJCXQ4-Fee",
      "eventSource": "Orders",
      "blockId": "454",
      "blockTag": "abd8d22e-d701-45c4-960a-d198e0e16a14",
      "blockFriendlyId": "abd8d22e-d701-45c4-960a-d198e0e16a14",
      "paymentType": "UK.OBIE.BalanceTransfer",
      "creditDebitIndicator": "Debit",
      "thirdPartyReference": "abd8d22e-d701-45c4-960a-d198e0e16a14-FEE",
      "internalAccountTransferId": "BR89",
      "runningBalance": "957.92",
      "debtorAccount": {
        "id": "ed8388b1-4d01-41e7-a04a-2be9a56adb68",
        "ownerId": "d6061bbee6",
        "accountId": "F50091",
        "schemeName": "UK.OBIE.SortCodeAccountNumber",
        "identification": "23188474064478",
        "name": "Joe Bloggs 202106171735",
        "address": "21 test street",
        "institutionAddress": "29 test street",
        "institutionBic": "1",
        "institutionName": "Test Name",
        "transactionBoxId": "1ee51a67-d6ba-480e-9686-f2fadb1fa1ef",
        "sourceBudgetName": "Marketing budget",
        "destinationBudgetName": "Travel budget"
      },
      "creditorAccount": {
        "id": "ed8388b1-4d01-41e7-a04a-2be9a56adb68",
        "ownerId": "d6061bbee6",
        "accountId": "F50091",
        "schemeName": "UK.OBIE.SortCodeAccountNumber",
        "identification": "23188474064478",
        "name": "Joe Bloggs 202106171735",
        "address": "21 test street",
        "institutionAddress": "29 test street",
        "institutionBic": "1",
        "institutionName": "Test Name",
        "transactionBoxId": "1ee51a67-d6ba-480e-9686-f2fadb1fa1ef",
        "sourceBudgetName": "Marketing budget",
        "destinationBudgetName": "Travel budget"
      },
      "fx": {
        "sourceCurrency": "USD",
        "sourceAmount": "1.16",
        "destinationCurrency": "USD",
        "destinationAmount": "1.00",
        "rate": "0.8621"
      },
      "debitId": 1097,
      "creditId": 1098,
      "boxTransactionId": 17098,
      "budget": {
        "accountId": "F50091",
        "budgetId": "775596ae-2624-40af-a9dc-9756110a4a03",
        "budgetName": "Account Balance",
        "boxId": "5426d2ca50"
      },
      "type": "credit",
      "marqetaTransactionToken": "34edaf73-49be-4669-83ee-1b1f8c680d26",
      "boxId": "34edaf73-49be-4669-83ee-1b1f8c680d26",
      "marqetaTransactionIdentifier": "940",
      "amount": 20,
      "currency": "USD",
      "valueDateTime": "2021-01-30T08:30:00Z",
      "transactionCreditorAccount": {
        "id": "ed8388b1-4d01-41e7-a04a-2be9a56adb68",
        "ownerId": "d6061bbee6",
        "accountId": "F50091",
        "schemeName": "UK.OBIE.SortCodeAccountNumber",
        "identification": "23188474064478",
        "name": "Joe Bloggs 202106171735",
        "address": "21 test street",
        "institutionAddress": "29 test street",
        "institutionBic": "1",
        "institutionName": "Test Name",
        "transactionBoxId": "1ee51a67-d6ba-480e-9686-f2fadb1fa1ef",
        "sourceBudgetName": "Marketing budget",
        "destinationBudgetName": "Travel budget"
      },
      "transactionDebtorAccount": {
        "id": "ed8388b1-4d01-41e7-a04a-2be9a56adb68",
        "ownerId": "d6061bbee6",
        "accountId": "F50091",
        "schemeName": "UK.OBIE.SortCodeAccountNumber",
        "identification": "23188474064478",
        "name": "Joe Bloggs 202106171735",
        "address": "21 test street",
        "institutionAddress": "29 test street",
        "institutionBic": "1",
        "institutionName": "Test Name",
        "transactionBoxId": "1ee51a67-d6ba-480e-9686-f2fadb1fa1ef",
        "sourceBudgetName": "Marketing budget",
        "destinationBudgetName": "Travel budget"
      }
    }
  ],
  "annotationGroup": {
    "id": "c32ba075-f6e9-45db-aae8-a8f1aeaa13b6",
    "accountId": "F50091",
    "transactionGroupId": "c32ba075-f6e9-45db-aae8-a8f1aeaa13b6",
    "paymentId": 1234,
    "status": "draft",
    "annotations": [
      {
        "id": "c32ba075-f6e9-45db-aae8-a8f1aeaa13b6",
        "annotationGroupId": "c32ba075-f6e9-45db-aae8-a8f1aeaa13b6",
        "accountId": "F50091",
        "amount": 100,
        "createdBy": "f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8",
        "updatedBy": "f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8"
      }
    ]
  },
  "attachment": {
    "id": "c32ba075-f6e9-45db-aae8-a8f1aeaa13b6",
    "accountId": "F50091",
    "note": "I did not lose the file to attach so I do not need to fill in this field.",
    "transactionGroupId": "c32ba075-f6e9-45db-aae8-a8f1aeaa13b6",
    "paymentId": 1234,
    "count": 2,
    "attachmentFiles": [
      {
        "id": "c32ba075-f6e9-45db-aae8-a8f1aeaa13b6",
        "accountId": "F50091",
        "attachmentId": "c32ba075-f6e9-45db-aae8-a8f1aeaa14b3",
        "productId": "3ef24d53-6e22-4103-a16b-d268e4f7346d",
        "fileName": "2021-09-01T13:04:57Z_288946aa-0469-4518-a962-40e9be858d1e_2.pdf",
        "year": "2021",
        "month": "9",
        "file": {
          "url": "http://127.0.0.1:8080/v1/transactions-api/accounts/F50091/transactions/group/288946aa-0469-4518-a962-40e9be858d1e/attachment/files/8ae07ba6-d2b0-4665-9158-2f33d0852a4f"
        },
        "type": "pdf",
        "createdBy": "f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8",
        "updatedBy": "f7aa80c9-4d4a-4a52-8ae2-b73638b3f2d8"
      }
    ]
  },
  "swiftGpi": {
    "uetr": "eb6305c9-1f7f-49de-aed0-16487c27b42d",
    "status": "ACCC",
    "initiatedAt": "2026-06-16T10:00:00.000Z",
    "lastUpdatedAt": "2026-06-16T10:12:00.000Z",
    "instructedAmount": "1000.00",
    "instructedCurrencyCode": "USD",
    "events": [
      {
        "trackerEventType": "CRED",
        "fromBankIdentifier": "BANKGB2L",
        "toBankIdentifier": "BANKDEFF",
        "status": "ACSP",
        "amount": "1000.00",
        "currencyCode": "USD",
        "eventTimestamp": "2026-06-16T10:09:00.000Z"
      }
    ]
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.