Skip to content
Docs
API 1.0.0 · 22 Nov 2026

Search the docs

    Română

    Transactions

    The lines of the statements: booked, pending or returned, each with the state of its match.

    On this page

    List transactions

    GET /banking/v1/transactions

    Returns the lines of an account in pages, newest first. status keeps one status, matchState keeps the lines whose match is in one state, for example open.

    Parameters

    NameInTypeRequiredMeaning
    accountId query string (uuid) Yesrequired The bank account whose records you want.
    status query string Nooptional Only transactions with this status. One of pending, booked, returned
    matchState query string Nooptional Only transactions whose match is in this state. One of open, suggested, split, accepted, left
    bookedFrom query string (date) Nooptional Only transactions booked on or after this day.
    bookedTo query string (date) Nooptional Only transactions booked on or before this day.
    limit query integer Nooptional Records per page, from 1 to 500. Default 100 Range 1 – 500
    cursor query string Nooptional The nextCursor of the previous page.

    Responses

    StatusMeaningBody
    200 A page of transactions. TransactionPage
    401 The token is missing, has expired or is not ours. Error
    403 The token does not give access to this company or operation. Error
    404 The bank account does not exist in your account. Error
    429 There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. Error
    503 Treasury cannot answer now. Error

    Request

    curl

    curl "$RDC_BASE_URL/banking/v1/transactions?accountId=258f8664-ff43-4e53-b688-ad5a4a97ede6&limit=20" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/banking/v1/transactions?accountId=258f8664-ff43-4e53-b688-ad5a4a97ede6&limit=20`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/banking/v1/transactions?accountId=258f8664-ff43-4e53-b688-ad5a4a97ede6&limit=20',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/banking/v1/transactions?accountId=258f8664-ff43-4e53-b688-ad5a4a97ede6&limit=20');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/banking/v1/transactions?accountId=258f8664-ff43-4e53-b688-ad5a4a97ede6&limit=20");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    JSON

    {
      "items": [
        {
          "id": "0dea7dcc-e56e-4654-bdf3-95fbedf34baf",
          "accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
          "statementId": "efdd0f10-eb9d-4569-837f-992ae1bdf44e",
          "bookedOn": "2026-11-18",
          "valueOn": "2026-11-18",
          "counterparty": "Hanul Ozana SRL",
          "reference": "FCT-2026-00418",
          "amount": "3168.42",
          "currency": "RON",
          "kind": "transfer",
          "status": "booked",
          "bankReference": "BK26111801",
          "returnOf": null,
          "returnReason": null,
          "attachments": [
            "FCT-2026-00418.pdf"
          ],
          "matchState": "suggested",
          "matchId": "d976e350-d423-4499-ac3d-207185a9bd4b",
          "revision": 1
        },
        {
          "id": "eb7c7917-db20-48ad-a29f-f3b08206f633",
          "accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
          "statementId": "efdd0f10-eb9d-4569-837f-992ae1bdf44e",
          "bookedOn": "2026-11-17",
          "valueOn": "2026-11-17",
          "counterparty": "Cofetăria Vălul Alb SRL",
          "reference": "PLATA PARTIALA 396",
          "amount": "3000.00",
          "currency": "RON",
          "kind": "transfer",
          "status": "booked",
          "bankReference": "BK26111701",
          "returnOf": null,
          "returnReason": null,
          "attachments": [],
          "matchState": "suggested",
          "matchId": "0a72c26f-af85-4602-857c-1b5a033e09f6",
          "revision": 1
        },
        {
          "id": "4d285753-c13f-44e2-a3fb-ab6043e969d7",
          "accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
          "statementId": "efdd0f10-eb9d-4569-837f-992ae1bdf44e",
          "bookedOn": "2026-11-16",
          "valueOn": "2026-11-16",
          "counterparty": "Market Trei Brazi SRL",
          "reference": "FACT 402 409",
          "amount": "20804.25",
          "currency": "RON",
          "kind": "transfer",
          "status": "booked",
          "bankReference": "BK26111601",
          "returnOf": null,
          "returnReason": null,
          "attachments": [],
          "matchState": "suggested",
          "matchId": "d3c1d37c-0bf1-4603-b3e7-5c5c5361ad00",
          "revision": 1
        }
      ],
      "nextCursor": null
    }

    Get a transaction

    GET /banking/v1/transactions/{transactionId}

    Parameters

    NameInTypeRequiredMeaning
    transactionId path string (uuid) Yesrequired The transaction.

    Responses

    StatusMeaningBody
    200 The transaction. A returned line carries the reason the bank gave. Transaction
    401 The token is missing, has expired or is not ours. Error
    403 The token does not give access to this company or operation. Error
    404 The transaction does not exist. Error
    429 There were too many requests. Nothing was processed. The header Retry-After gives the seconds to wait. Error
    503 Treasury cannot answer now. Error

    Request

    curl

    curl "$RDC_BASE_URL/banking/v1/transactions/0dea7dcc-e56e-4654-bdf3-95fbedf34baf" \
      -H "Authorization: Bearer $RDC_TOKEN"

    JavaScript

    const response = await fetch(`${process.env.RDC_BASE_URL}/banking/v1/transactions/0dea7dcc-e56e-4654-bdf3-95fbedf34baf`, {
      method: 'GET',
      headers: {
        Authorization: `Bearer ${process.env.RDC_TOKEN}`,
      },
    });
    const result = await response.json();

    Python

    import os
    import requests
    
    response = requests.request(
        'GET',
        f'{os.environ["RDC_BASE_URL"]}/banking/v1/transactions/0dea7dcc-e56e-4654-bdf3-95fbedf34baf',
        headers={
            'Authorization': f'Bearer {os.environ["RDC_TOKEN"]}',
        },
    )
    result = response.json()

    PHP

    <?php
    
    $curl = curl_init(getenv('RDC_BASE_URL') . '/banking/v1/transactions/0dea7dcc-e56e-4654-bdf3-95fbedf34baf');
    curl_setopt_array($curl, [
        CURLOPT_CUSTOMREQUEST => 'GET',
        CURLOPT_RETURNTRANSFER => true,
        CURLOPT_HTTPHEADER => [
            'Authorization: Bearer ' . getenv('RDC_TOKEN'),
        ],
    ]);
    $result = json_decode(curl_exec($curl), true);
    curl_close($curl);

    C#

    using System.Net.Http.Headers;
    
    var client = new HttpClient();
    var request = new HttpRequestMessage(HttpMethod.Get, $"{Environment.GetEnvironmentVariable("RDC_BASE_URL")}/banking/v1/transactions/0dea7dcc-e56e-4654-bdf3-95fbedf34baf");
    request.Headers.Authorization = new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("RDC_TOKEN"));
    var response = await client.SendAsync(request);
    var result = await response.Content.ReadAsStringAsync();

    Response 200

    JSON

    {
      "id": "58ba7b3a-6ba5-4483-9611-f93018eca7c9",
      "accountId": "258f8664-ff43-4e53-b688-ad5a4a97ede6",
      "statementId": "f5b1321e-fbb0-4771-8393-9e4090091108",
      "bookedOn": "2026-11-20",
      "valueOn": "2026-11-20",
      "counterparty": "Moara Vadului SRL",
      "reference": "RETUR MV-2026-1187 PP-1002",
      "amount": "24102.50",
      "currency": "RON",
      "kind": "transfer",
      "status": "returned",
      "bankReference": "BK26112001",
      "returnOf": "a8359bc8-f9a3-4af7-92ff-ba1394b9a787",
      "returnReason": "Beneficiary account closed",
      "attachments": [],
      "matchState": "suggested",
      "matchId": "0b6c6654-3c52-433d-9c1a-9c05716d1f6d",
      "revision": 1
    }