v1

latestOpenAPI 3.1.02026-07-24360204.4 KB

Get Account Statement

Use this API to generate the account statement for an account.

get/v1/accounts/{account_id}/statements

Path parameters

account_idstring required

Unique identifier of the account for which you want to generate the statement.<br><br>Example: va_onMda9dobg5YYX0kHLoaMecpy

Query parameters

start_afterstring

The transaction_id after which details should be returned.<br><br>Use this with the results_per_page for pagination.<br><br>Example: vws_yz46P9hiRFlidS0RbNF0kwOXb

start_beforestring

The transaction_id before which details should be returned.<br><br>Use this with the results_per_page for pagination.<br><br>Example: vws_yz46P9hiRFlidS0RbNF0kwOXb

results_per_pagestring

The number of results you want to get per API call.<br><br>Use this with the start_before or start_after parameters for pagination.<br><ul><li>Default value 10.</li><li>Maximum value 100.</li></ul>Example: 15

from_datestring

Has to be used with to_date.<br><br>The UNIX timestamp after which details should be returned.<br><br>Use this with the results_per_page, start_after, and start_before for pagination.<br><br>Example: 1651052818

to_datestring

Has to be used with from_date.<br><br>The UNIX timestamp before which details should be returned.<br><br>Use this with the results_per_page, start_after, and start_before for pagination.<br><br>Example: 1651052818

Response

200

objectstring
has_moreboolean

Example response

{
  "object": "list",
  "data": [
    {
      "id": "vws_bB0S54cYNylYkkSGvC07lyLlj",
      "object": "statement",
      "debit": 1,
      "remark": "Debited for transfers id tr_rr8OkQ8yvWLVTO5yhU1JaxkJg",
      "transacted_at": 1661766659,
      "created_at": 1661766659,
      "currency": "inr",
      "source": "transfers",
      "source_details": {
        "id": "tr_rr8OkQ8yvWLVTO5yhU1JaxkJg",
        "object": "transfer",
        "type": "wallet",
        "amount": 1,
        "currency": "inr",
        "beneficiary_bank_account_number": "3636365956247516",
        "paid_to": "3636365956247516",
        "paid_mode": "wallet",
        "remark": "Lego Death Star",
        "merchant_reference_id": "1000623"
      }
    }
  ]
}