Chilkat Online Tools

DataFlex / Belvo API Docs / List

Back to Collection Items

Use ChilkatAx-9.5.0-win32.pkg

Procedure Test
    Handle hoHttp
    Boolean iSuccess
    Variant vSbResponseBody
    Handle hoSbResponseBody
    Handle hoJResp
    Integer iRespStatusCode
    String sId
    String sLink
    String sId
    String sName
    String sCategory
    String sV_Currency
    String sCollected_at
    String sAccount_number
    String sClient_number
    String sRFC
    String sCLABE
    String sPeriod_start_date
    String sPeriod_end_date
    String sCut_date
    String sFinal_balance
    String sPrevious_balance
    String sTotal_inflow_amount
    String sTotal_outflow_amount
    String sTotal_inflow_transactions
    String sTotal_outflow_transactions
    String sPdf
    Integer j
    Integer iCount_j
    String sValue
    String sAccounting_dateValue
    String sValue_dateValue
    String sReferenceValue
    String sObservationsValue
    String sAdditional_dataValue
    String sBalanceValue
    String sStatusValue
    String sTypeValue
    String sCurrencyValue
    String sDescriptionValue
    String sInternal_identificationValue
    String sAccountValue
    String sCount
    String sV_next
    String sPrevious
    Integer i
    Integer iCount_i
    String sTemp1

    // This example assumes the Chilkat API to have been previously unlocked.
    // See Global Unlock Sample for sample code.

    Get Create (RefClass(cComChilkatHttp)) To hoHttp
    If (Not(IsComObjectCreated(hoHttp))) Begin
        Send CreateComObject of hoHttp
    End

    Set ComBasicAuth Of hoHttp To True
    Set ComLogin Of hoHttp To "{{secretId}}"
    Set ComPassword Of hoHttp To "{{secretPassword}}"

    Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
    If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
        Send CreateComObject of hoSbResponseBody
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComQuickGetSb Of hoHttp "https://domain.com/api/statements/" vSbResponseBody To iSuccess
    If (iSuccess = False) Begin
        Get ComLastErrorText Of hoHttp To sTemp1
        Showln sTemp1
        Procedure_Return
    End

    Get Create (RefClass(cComChilkatJsonObject)) To hoJResp
    If (Not(IsComObjectCreated(hoJResp))) Begin
        Send CreateComObject of hoJResp
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComLoadSb Of hoJResp vSbResponseBody To iSuccess
    Set ComEmitCompact Of hoJResp To False

    Showln "Response Body:"
    Get ComEmit Of hoJResp To sTemp1
    Showln sTemp1

    Get ComLastStatus Of hoHttp To iRespStatusCode
    Showln "Response Status Code = " iRespStatusCode
    If (iRespStatusCode >= 400) Begin
        Showln "Response Header:"
        Get ComLastHeader Of hoHttp To sTemp1
        Showln sTemp1
        Showln "Failed."
        Procedure_Return
    End

    // Sample JSON response:
    // (Sample code for parsing the JSON response is shown below)

    // {
    //   "count": "<integer>",
    //   "next": "<string>",
    //   "previous": "<string>",
    //   "results": [
    //     {
    //       "id": "<uuid>",
    //       "link": "<string>",
    //       "account": {
    //         "id": "<uuid>",
    //         "name": "<string>",
    //         "category": "minim amet pariatur",
    //         "currency": "<string>"
    //       },
    //       "collected_at": "<dateTime>",
    //       "account_number": "<string>",
    //       "client_number": "<string>",
    //       "RFC": "<string>",
    //       "CLABE": "<string>",
    //       "period_start_date": "<date>",
    //       "period_end_date": "<date>",
    //       "cut_date": "<string>",
    //       "final_balance": "<number>",
    //       "previous_balance": "<number>",
    //       "total_inflow_amount": "<number>",
    //       "total_outflow_amount": "<number>",
    //       "total_inflow_transactions": "<number>",
    //       "total_outflow_transactions": "<number>",
    //       "transactions": [
    //         {
    //           "collected_at": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "accounting_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "value_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "reference": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "observations": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "additional_data": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "balance": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "status": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "type": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "currency": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "description": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "internal_identification": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "account": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "collected_at": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "accounting_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "value_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "reference": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "observations": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "additional_data": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "balance": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "status": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "type": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "currency": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "description": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "internal_identification": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "account": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "pdf": "<binary>"
    //     },
    //     {
    //       "id": "<uuid>",
    //       "link": "<string>",
    //       "account": {
    //         "id": "<uuid>",
    //         "name": "<string>",
    //         "category": "veniam occaecat",
    //         "currency": "<string>"
    //       },
    //       "collected_at": "<dateTime>",
    //       "account_number": "<string>",
    //       "client_number": "<string>",
    //       "RFC": "<string>",
    //       "CLABE": "<string>",
    //       "period_start_date": "<date>",
    //       "period_end_date": "<date>",
    //       "cut_date": "<string>",
    //       "final_balance": "<number>",
    //       "previous_balance": "<number>",
    //       "total_inflow_amount": "<number>",
    //       "total_outflow_amount": "<number>",
    //       "total_inflow_transactions": "<number>",
    //       "total_outflow_transactions": "<number>",
    //       "transactions": [
    //         {
    //           "collected_at": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "accounting_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "value_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "reference": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "observations": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "additional_data": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "balance": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "status": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "type": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "currency": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "description": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "internal_identification": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "account": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         },
    //         {
    //           "collected_at": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "accounting_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "value_date": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "reference": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "observations": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "additional_data": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "balance": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "status": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "type": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "currency": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "description": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "internal_identification": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           "account": {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         }
    //       ],
    //       "pdf": "<binary>"
    //     }
    //   ]
    // }

    // Sample code for parsing the JSON response...
    // Use this online tool to generate parsing code from sample JSON: Generate JSON Parsing Code

    Get ComStringOf Of hoJResp "count" To sCount
    Get ComStringOf Of hoJResp "next" To sV_next
    Get ComStringOf Of hoJResp "previous" To sPrevious
    Move 0 To i
    Get ComSizeOfArray Of hoJResp "results" To iCount_i
    While (i < iCount_i)
        Set ComI Of hoJResp To i
        Get ComStringOf Of hoJResp "results[i].id" To sId
        Get ComStringOf Of hoJResp "results[i].link" To sLink
        Get ComStringOf Of hoJResp "results[i].account.id" To sId
        Get ComStringOf Of hoJResp "results[i].account.name" To sName
        Get ComStringOf Of hoJResp "results[i].account.category" To sCategory
        Get ComStringOf Of hoJResp "results[i].account.currency" To sV_Currency
        Get ComStringOf Of hoJResp "results[i].collected_at" To sCollected_at
        Get ComStringOf Of hoJResp "results[i].account_number" To sAccount_number
        Get ComStringOf Of hoJResp "results[i].client_number" To sClient_number
        Get ComStringOf Of hoJResp "results[i].RFC" To sRFC
        Get ComStringOf Of hoJResp "results[i].CLABE" To sCLABE
        Get ComStringOf Of hoJResp "results[i].period_start_date" To sPeriod_start_date
        Get ComStringOf Of hoJResp "results[i].period_end_date" To sPeriod_end_date
        Get ComStringOf Of hoJResp "results[i].cut_date" To sCut_date
        Get ComStringOf Of hoJResp "results[i].final_balance" To sFinal_balance
        Get ComStringOf Of hoJResp "results[i].previous_balance" To sPrevious_balance
        Get ComStringOf Of hoJResp "results[i].total_inflow_amount" To sTotal_inflow_amount
        Get ComStringOf Of hoJResp "results[i].total_outflow_amount" To sTotal_outflow_amount
        Get ComStringOf Of hoJResp "results[i].total_inflow_transactions" To sTotal_inflow_transactions
        Get ComStringOf Of hoJResp "results[i].total_outflow_transactions" To sTotal_outflow_transactions
        Get ComStringOf Of hoJResp "results[i].pdf" To sPdf
        Move 0 To j
        Get ComSizeOfArray Of hoJResp "results[i].transactions" To iCount_j
        While (j < iCount_j)
            Set ComJ Of hoJResp To j
            Get ComStringOf Of hoJResp "results[i].transactions[j].collected_at.value" To sValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].accounting_date.value" To sAccounting_dateValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].value_date.value" To sValue_dateValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].reference.value" To sReferenceValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].observations.value" To sObservationsValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].additional_data.value" To sAdditional_dataValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].balance.value" To sBalanceValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].status.value" To sStatusValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].type.value" To sTypeValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].currency.value" To sCurrencyValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].description.value" To sDescriptionValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].internal_identification.value" To sInternal_identificationValue
            Get ComStringOf Of hoJResp "results[i].transactions[j].account.value" To sAccountValue
            Move (j + 1) To j
        Loop

        Move (i + 1) To i
    Loop



End_Procedure

Curl Command

curl -X GET
	-u '{{secretId}}:{{secretPassword}}'
https://domain.com/api/statements/

Postman Collection Item JSON

{
  "name": "List",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{baseUrl}}/api/statements/",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "statements",
        ""
      ]
    },
    "description": "Get a paginated list of all existing statements in your Belvo account. We return up to 100 results per page."
  },
  "response": [
    {
      "name": "Ok",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/statements",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "statements"
          ]
        }
      },
      "status": "OK",
      "code": 200,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "{\n\t\"count\": \"<integer>\",\n\t\"next\": \"<string>\",\n\t\"previous\": \"<string>\",\n\t\"results\": [\n\t\t{\n\t\t\t\"id\": \"<uuid>\",\n\t\t\t\"link\": \"<string>\",\n\t\t\t\"account\": {\n\t\t\t\t\"id\": \"<uuid>\",\n\t\t\t\t\"name\": \"<string>\",\n\t\t\t\t\"category\": \"minim amet pariatur\",\n\t\t\t\t\"currency\": \"<string>\"\n\t\t\t},\n\t\t\t\"collected_at\": \"<dateTime>\",\n\t\t\t\"account_number\": \"<string>\",\n\t\t\t\"client_number\": \"<string>\",\n\t\t\t\"RFC\": \"<string>\",\n\t\t\t\"CLABE\": \"<string>\",\n\t\t\t\"period_start_date\": \"<date>\",\n\t\t\t\"period_end_date\": \"<date>\",\n\t\t\t\"cut_date\": \"<string>\",\n\t\t\t\"final_balance\": \"<number>\",\n\t\t\t\"previous_balance\": \"<number>\",\n\t\t\t\"total_inflow_amount\": \"<number>\",\n\t\t\t\"total_outflow_amount\": \"<number>\",\n\t\t\t\"total_inflow_transactions\": \"<number>\",\n\t\t\t\"total_outflow_transactions\": \"<number>\",\n\t\t\t\"transactions\": [\n\t\t\t\t{\n\t\t\t\t\t\"collected_at\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"accounting_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"value_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"reference\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"observations\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"additional_data\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"balance\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"status\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"currency\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"description\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"internal_identification\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"account\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"collected_at\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"accounting_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"value_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"reference\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"observations\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"additional_data\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"balance\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"status\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"currency\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"description\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"internal_identification\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"account\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"pdf\": \"<binary>\"\n\t\t},\n\t\t{\n\t\t\t\"id\": \"<uuid>\",\n\t\t\t\"link\": \"<string>\",\n\t\t\t\"account\": {\n\t\t\t\t\"id\": \"<uuid>\",\n\t\t\t\t\"name\": \"<string>\",\n\t\t\t\t\"category\": \"veniam occaecat\",\n\t\t\t\t\"currency\": \"<string>\"\n\t\t\t},\n\t\t\t\"collected_at\": \"<dateTime>\",\n\t\t\t\"account_number\": \"<string>\",\n\t\t\t\"client_number\": \"<string>\",\n\t\t\t\"RFC\": \"<string>\",\n\t\t\t\"CLABE\": \"<string>\",\n\t\t\t\"period_start_date\": \"<date>\",\n\t\t\t\"period_end_date\": \"<date>\",\n\t\t\t\"cut_date\": \"<string>\",\n\t\t\t\"final_balance\": \"<number>\",\n\t\t\t\"previous_balance\": \"<number>\",\n\t\t\t\"total_inflow_amount\": \"<number>\",\n\t\t\t\"total_outflow_amount\": \"<number>\",\n\t\t\t\"total_inflow_transactions\": \"<number>\",\n\t\t\t\"total_outflow_transactions\": \"<number>\",\n\t\t\t\"transactions\": [\n\t\t\t\t{\n\t\t\t\t\t\"collected_at\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"accounting_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"value_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"reference\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"observations\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"additional_data\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"balance\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"status\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"currency\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"description\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"internal_identification\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"account\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"collected_at\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"accounting_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"value_date\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"reference\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"observations\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"additional_data\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"balance\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"status\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"currency\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"description\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"internal_identification\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t},\n\t\t\t\t\t\"account\": {\n\t\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t],\n\t\t\t\"pdf\": \"<binary>\"\n\t\t}\n\t]\n}"
    },
    {
      "name": "Unauthorized",
      "originalRequest": {
        "method": "GET",
        "header": [
          {
            "description": "Added as a part of security scheme: basic",
            "key": "Authorization",
            "value": "Basic <credentials>"
          }
        ],
        "url": {
          "raw": "{{baseUrl}}/api/statements",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "statements"
          ]
        }
      },
      "status": "Unauthorized",
      "code": 401,
      "_postman_previewlanguage": "json",
      "header": [
        {
          "key": "Content-Type",
          "value": "application/json"
        }
      ],
      "cookie": [
      ],
      "body": "[\n\t{\n\t\t\"code\": \"<string>\",\n\t\t\"message\": \"<string>\",\n\t\t\"request_id\": \"<string>\"\n\t},\n\t{\n\t\t\"code\": \"<string>\",\n\t\t\"message\": \"<string>\",\n\t\t\"request_id\": \"<string>\"\n\t}\n]"
    }
  ]
}