Transaction activity

Get a card statement (legacy)

Legacy version of Get a card statement. See the Release 113 changelog for what changed and how to migrate.

Returns a statement for the managed card identified by the id path parameter — a settled view of posted transactions matching the criteria provided in the request.

get/deprecated/managed_cards/{id}/statement

Request

  • Base URL: https://sandbox.weavr.io/multi
  • URL: https://sandbox.weavr.io/multi/deprecated/managed_cards/{id}/statement
  • Auth: HTTP bearer and API key in header api-key

Path parameters

idstring required
Example:123456789

The unique identifier of a managed card.

Query parameters

offsetinteger

The offset value for paging, indicating the initial item number to be returned from the data set satisfying the given criteria. Leave out to fetch the first page of results.

statementLimitinteger

The limit of the results for statements paging, starting at the offset. Limit is capped at 500.

orderByTimestamp'ASC' | 'DESC'

Orders the result in ascending or descending order.

  • ASC: Ascending order, oldest transactions first.
  • DESC: Descending order, most recent transactions first.

If not specified, the transactions will be returned in descending order.

fromTimestampinteger

Filter for transactions having transaction timestamp after fromTimestamp. Timestamp is expressed in Epoch timestamp using millisecond precision. If omitted, all matching transactions up to the present will be included.

toTimestampinteger

Filter for transactions having transaction timestamp before toTimestamp. Timestamp is expressed in Epoch timestamp using millisecond precision. If omitted, all matching transactions up to the present will be included. If both fromTimestamp and toTimestamp are provided, toTimestamp must be greater than fromTimestamp.

singleEntryPerTransactionboolean

Returns transactions that span multiple movements as a single entry. Only includes transactions that have been completed. Defaults to true for PDF statements, false otherwise. Note: due to the fact that only completed transactions are included, some transactions that are in progress and have modified the balance of the instrument will not be shown, which could lead to seemingly inconsistent balance being displayed.

transactionTypeStatementTransactionType[]

Filter by the transaction type. Leave out to fetch all entries.

Headers

accept'application/json' | 'text/csv' | 'application/pdf'
Example:application/json

A request parameter specifying the type of response the client would like. Must be one of application/json, application/pdf or text/csv.

The default response type (application/json) will be returned if specified incorrectly or not specified.

Response

Success

countinteger

The total number of records (excluding the paging limit).

responseCountinteger

The total number of records returned in this response.

footerstring

The footer description for the current statement

Example response

{
  "entry": [
    {
      "transactionId": {
        "type": "TRANSFER",
        "id": "2468013579"
      },
      "originalAmount": {
        "currency": "GBP",
        "amount": 1250
      },
      "forexRate": {
        "value": 1250,
        "scale": 2
      },
      "transactionAmount": {
        "currency": "GBP",
        "amount": 1250
      },
      "availableBalanceAdjustment": {
        "currency": "GBP",
        "amount": 1250
      },
      "actualBalanceAdjustment": {
        "currency": "GBP",
        "amount": 1250
      },
      "balanceAfter": {
        "currency": "GBP",
        "amount": 1250
      },
      "availableBalanceAfter": {
        "currency": "GBP",
        "amount": 1250
      },
      "actualBalanceAfter": {
        "currency": "GBP",
        "amount": 1250
      },
      "transactionFee": {
        "currency": "GBP",
        "amount": 1250
      },
      "cardholderFee": {
        "currency": "GBP",
        "amount": 1250
      },
      "processedTimestamp": 1786118401250,
      "sourceAmount": {
        "currency": "GBP",
        "amount": 1250
      },
      "userCurrencyTransactionDetails": {
        "userTransactionAmount": {
          "currency": "GBP",
          "amount": 1250
        },
        "userExchangeRate": "1.1750"
      }
    }
  ],
  "count": 42,
  "responseCount": 10,
  "startBalance": {
    "currency": "GBP",
    "amount": 1250
  },
  "endBalance": {
    "currency": "GBP",
    "amount": 1250
  },
  "footer": "Statement generated for information purposes only."
}

Changes

No recorded changes to this operation across all 1 revision of this API.