For the complete documentation index, see llms.txt. This page is also available as Markdown.

Statement

Understand every movement of your primary balance

This query returns the same data as the Download CSV button on the Account Statement page of the Flash Connect.

The dates must be any ISO 8601 formatted dates.

If you want to see your latest data on the Account Statement output, please allow for about 60 seconds after the most recent transaction is recorded. This ensures the report is always in sync with the ledger and the Master Balance.

const bodyJSON = {
  variables: {
    input: {
        fromDate: "2023-08-28T00:00:00+03:00",
        currency: "USD",
    },
  },
  query: `
query ($input: StatementQueryInput!) {
  statement(input: $input) {
    succes code message fromDate toDate 
      rows {
        debit credit
    }
  }  
}`,
};
query($input: StatementQueryInput!) {
  statement(input: $input) {
    success
    code
    message
    fromDate
    toDate
    rows {
      debit
      credit
      # and many other fields
    }
  }
}

The response dates are aways UTC. Timezones are always taken into account.

Last updated

Was this helpful?