---
title: Retrieve transactions.
slug: fx-api/retrieve-transactions
docTags: 
createdAt: 2025-05-30T02:39:22.451Z
---

{
  "id": "xTvxtNlRS0s7vEfgwHG4P",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://sand-api.monoova.com/global/v1/transactions",
    "servers": [
      {
        "url": "https://sand-api.monoova.com/global/v1/transactions",
        "description": "Monoova Global server"
      }
    ],
    "name": "Retrieve transactions.",
    "description": "<p>This retrieves all transactions for the customer. Can be filtered by base or counter currency, or status. Results can be sorted by created_date or updated_date using the <code>sort</code> parameter. Use a minus prefix (e.g., <code>-created_date</code>) for descending order.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "status",
          "type": "object",
          "description": "<p>Filter transactions by status. Prefix with a minus sign (e.g., <code>-created</code>) to exclude transactions with that status (inverse filtering).</p>",
          "customType": "TransactionStatus",
          "schema": [],
          "modelRef": "#/components/schemas/TransactionStatus"
        },
        {
          "kind": "optional",
          "name": "base_currency_id",
          "type": "integer",
          "description": ""
        },
        {
          "kind": "optional",
          "name": "base_currency_code",
          "type": "object",
          "description": "",
          "customType": "CurrencyCode",
          "schema": [],
          "modelRef": "#/components/schemas/CurrencyCode"
        },
        {
          "kind": "optional",
          "name": "counter_currency_id",
          "type": "integer",
          "description": ""
        },
        {
          "kind": "optional",
          "name": "counter_currency_code",
          "type": "object",
          "description": "",
          "customType": "CurrencyCode",
          "schema": [],
          "modelRef": "#/components/schemas/CurrencyCode"
        },
        {
          "kind": "optional",
          "name": "sort",
          "type": "string",
          "description": "<p>Sort results by created_date or updated_date. Use minus prefix for descending order (e.g., <code>-created_date</code>).</p>",
          "enum": [
            "created_date",
            "updated_date",
            "-created_date",
            "-updated_date"
          ]
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "A list of transactions.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "transactions",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/Transaction",
                "customType": "Transaction[]",
                "schema": []
              },
              {
                "name": "pagination",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/Pagination",
                "customType": "Pagination",
                "schema": []
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "sgupRMc_S4P0ZKwjQBHmy",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url 'https://sand-api.monoova.com/global/v1/transactions?status=object&base_currency_code=object&counter_currency_code=object' \\\n     --header 'accept: application/json'"
        },
        {
          "id": "oz23g5mAJ9NrWMFdSPl-G",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://sand-api.monoova.com/global/v1/transactions?status=object&base_currency_code=object&counter_currency_code=object\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "QBsBP8x-nfwHAmOyR0uZI",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sand-api.monoova.com/global/v1/transactions?status=object&base_currency_code=object&counter_currency_code=object\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "8tlNzlWCQI2bDVxxxHp30",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://sand-api.monoova.com/global/v1/transactions?status=object&base_currency_code=object&counter_currency_code=object\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "sgupRMc_S4P0ZKwjQBHmy"
    },
    "results": {
      "languages": [
        {
          "id": "7dzQpH8QjGyMIoZkAcPOm",
          "language": "200",
          "code": "// A list of transactions.\n{\n  \"transactions\": [\n    \"\"\n  ],\n  \"pagination\": {}\n}"
        }
      ],
      "selectedLanguageId": "7dzQpH8QjGyMIoZkAcPOm"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}