Endpoint Parameters

  • Request parameters

    Name Type Origin Description
    AccountGroupKey AccountGroupKey Query-String The key of the account group to which the resource belongs.
    AccountKey AccountKey Query-String The keys of the accounts to which the resource belongs.
    AmountTypeSource AmountTypeSource Query-String Specifies the response data granularity, providing access to source of AmountType.
    ClientKey ClientKey Query-String The key of the client to which the resource belongs.
    CurrencyCode CurrencyCode Query-String Data will be filtered for account currency
    Scope UnsettledAmountRequestType Query-String Specifies the response data granularity, providing access to either Currencies(default) or AmountTypes.
  • Response Parameters

    View Response Codes
    Name Type Description
    CashFlows CashFlow [] Cash flow for value date
    Currencies CurrencyBreakdown [] Contains total, and value dated cash flows for an owed currency along with associated information.
    Currency String The requester's primary currency
    Total Number Estimated total owed amount (converted to the requester's primary currency). Note: Amounts must be paid in the owed currency.
  • Request Example

    Request URL
    GET /hist/v1/unsettledamounts?AccountGroupKey=QEPWm2RyUefWudKFjRaJag==&AccountKey=7wfA7-TCgQ0ygd||aOXY0w==&AmountTypeSource=TransactionsNotBooked&ClientKey=AbSTLYSoo499JZpp|ckGFw==&CurrencyCode=USD&Scope=Currencies
  • Response Example

    Response body
    {
      "CashFlows": [
        {
          "Amount": -0.57,
          "ValueDate": "2024-04-25T00:00:00Z"
        },
        {
          "Amount": -15.40352205,
          "ValueDate": "2024-05-05T00:00:00Z"
        }
      ],
      "Currencies": [
        {
          "AmountTypes": [
            {
              "AmountType": "Unrealized CFD Finance",
              "AmountTypeId": "65",
              "AmountTypeSource": "Financing",
              "CashFlows": [
                {
                  "Amount": -0.57,
                  "ValueDate": "2024-04-25T00:00:00Z"
                }
              ],
              "Total": -0.57
            }
          ],
          "CashFlows": [
            {
              "Amount": -0.57,
              "ValueDate": "2024-04-25T00:00:00Z"
            }
          ],
          "Currency": "DKK",
          "Total": -0.57
        },
        {
          "AmountTypes": [
            {
              "AmountType": "Unr. Interest",
              "AmountTypeId": "42",
              "AmountTypeSource": "Financing",
              "CashFlows": [
                {
                  "Amount": -15.40352205,
                  "ValueDate": "2024-05-05T00:00:00Z"
                }
              ],
              "Total": -2.07
            }
          ],
          "CashFlows": [
            {
              "Amount": -15.40352205,
              "ValueDate": "2024-05-05T00:00:00Z"
            }
          ],
          "Currency": "EUR",
          "Total": -2.07
        }
      ],
      "Currency": "EUR",
      "Total": -15.97352205
    }