Transaction

Get transaction details

Returns the transaction details for a given transaction ID or transactions associated with an order

get/transaction

Query parameters

idstring string

The transaction ID to get the details for

orderIdstring string

The order ID to get the transactions for

hashstring string

The payment hash of the transaction to get the details for

Response

Transaction response

statusstring string

Example response

{
  "status": "ok",
  "data": {
    "id": "10cda92f-db32-4f69-ae30-af32a0055caf",
    "ref": "142a39e0bb85c45b06a9657f56156",
    "hash": "89d7fd6571c8bdf4242091953553c26228dd5b7679729d20aaf2cc84f000d1bc",
    "amount": 10000,
    "autopayout": true,
    "createdAt": "2025-01-23T10:46:01.050Z",
    "updatedAt": "2025-01-23T10:46:04.590Z",
    "metadata": {
      "id": "f2bf7bf8-9fe9-4afd-9ebb-cf3abae8cb19",
      "merchantId": "f77986d6-75df-4979-85a9-8acedcfca392",
      "merchantName": "Ricki Allardice",
      "bankName": "CAPITEC BANK",
      "bankAccountNumber": "1352906218",
      "reference": "2bNkqVDLER7n65O7RrcV",
      "order": {
        "id": "22723-5636",
        "settledQuoteId": "e3d3cb1c-3206-40bb-81a9-8dfd9d69a853",
        "amount": 10000,
        "quote": {
          "exchangeRate": 1874805.7499999998,
          "usdToTargetCurrencyRate": 18.4977,
          "totalAmount": 6474,
          "equivalentAmount": 10000
        }
      }
    }
  }
}

Changes

Changed in 5 of the 32 revisions of this API.856

    • added the new USDT enum value to the data/currency response property for the response status 200

      response-property-enum-value-added

    • removed the TRANSFER enum value from the data/type response property for the response status 200

      response-property-enum-value-removed

  • 7b7e4fa5fe46823See the full diff
    • the data/amount response's property type/format changed from number/number to number/ for status 200

      response-property-type-changed

    • the data/autopayout response's property type/format changed from boolean/boolean to boolean/ for status 200

      response-property-type-changed

    • the data/currency response's property type/format changed from string/string to string/ for status 200

      response-property-type-changed

    • the data/fees response's property type/format changed from number/number to number/ for status 200

      response-property-type-changed

    • the data/hash response's property type/format changed from string/string to string/ for status 200

      response-property-type-changed

    • the data/ref response's property type/format changed from string/string to string/ for status 200

      response-property-type-changed

    • the data/status response's property type/format changed from string/string to string/ for status 200

      response-property-type-changed

    • the data/type response's property type/format changed from string/string to string/ for status 200

      response-property-type-changed

    • removed the optional property data/transactionMetadata from the response with the 200 status

      response-optional-property-removed

    • removed the optional property data/walletId from the response with the 200 status

      response-optional-property-removed

    • added the new optional query request parameter hash

      new-optional-request-parameter

    • the query request parameter id became optional

      request-parameter-became-optional

    • added the optional property data/metadata to the response with the 200 status

      response-optional-property-added

    • removed the optional property data/transactionMetadata/eProviderRef from the response with the 200 status

      response-optional-property-removed

    • added the new ZAR enum value to the data/currency response property for the response status 200

      response-property-enum-value-added

    • removed the USD enum value from the data/currency response property for the response status 200

      response-property-enum-value-removed

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

    • endpoint added

      endpoint-added