---
title: Retrieve the applicable receipt accounts for a transaction.
slug: fx-api/retrieve-the-applicable-receipt-accounts-for-a-transaction
docTags: 
createdAt: 2025-05-30T02:39:22.452Z
---

{
  "id": "aVOfwgRNoYgDtGfvB75kN",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://sand-api.monoova.com/global/v1/transactions/{id}/receipt_accounts",
    "servers": [
      {
        "url": "https://sand-api.monoova.com/global/v1/transactions/{id}/receipt_accounts",
        "description": "Monoova Global server"
      }
    ],
    "name": "Retrieve the applicable receipt accounts for a transaction.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "id",
          "type": "integer",
          "description": "Transaction ID"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "A list of receipt accounts.",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "schema": [
              {
                "name": "receipt_accounts",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/ReceiptAccount",
                "customType": "ReceiptAccount[]",
                "schema": []
              },
              {
                "name": "transaction",
                "kind": "optional",
                "type": "object",
                "description": "",
                "modelRef": "#/components/schemas/Transaction",
                "customType": "Transaction",
                "schema": []
              }
            ],
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "hdd3nMMplTWI8_s4z0OzK",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://sand-api.monoova.com/global/v1/transactions/{id}/receipt_accounts \\\n     --header 'accept: application/json'"
        },
        {
          "id": "OEs2idR-Jeb-CwH1sRtRj",
          "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/{id}/receipt_accounts\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "vzH9uWmRC3Sr1oVw7tfJi",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://sand-api.monoova.com/global/v1/transactions/{id}/receipt_accounts\")\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": "CJ_dzWyNLPJ_CanajQvZZ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://sand-api.monoova.com/global/v1/transactions/{id}/receipt_accounts\"\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": "hdd3nMMplTWI8_s4z0OzK"
    },
    "results": {
      "languages": [
        {
          "id": "YXSg_80fZFYT7bEfS74cA",
          "language": "200",
          "code": "// A list of receipt accounts.\n{\n  \"receipt_accounts\": [\n    \"\"\n  ],\n  \"transaction\": {}\n}"
        }
      ],
      "selectedLanguageId": "YXSg_80fZFYT7bEfS74cA"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}