Chilkat Online Tools

DataFlex / Belvo API Docs / List

Back to Collection Items

Use ChilkatAx-win32.pkg

Procedure Test
    Handle hoHttp
    Boolean iSuccess
    Variant vQueryParams
    Handle hoQueryParams
    Variant vResp
    Handle hoResp
    Variant vSbResponseBody
    Handle hoSbResponseBody
    Handle hoJResp
    Integer iRespStatusCode
    String sId
    String sId
    String sValue
    String sInstitutionValue
    String sCollected_atValue
    String sCategoryValue
    String sTypeValue
    String sNameValue
    String sNumberValue
    String sBalanceValue
    String sCurrencyValue
    String sBank_product_idValue
    String sInternal_identificationValue
    String sPublic_identification_nameValue
    String sPublic_identification_valueValue
    String sLast_accessed_atValue
    String sCredit_dataValue
    String sLoan_dataValue
    String sFunds_dataValue
    String sGig_payment_dataValue
    String sCollected_at
    String sValue_date
    String sAccounting_date
    String sAmount
    String sBalance
    String sV_currency
    String sDescription
    String sObservations
    String sCategory
    String sReference
    String sV_type
    String sStatus
    String sPickup_at
    String sDropoff_at
    String sRequest_at
    String sPickup_address
    String sDropoff_address
    String sPickup_latitude
    String sPickup_longitude
    String sDropoff_latitude
    String sDropoff_longitude
    String sDistance
    String sPayment_method
    String sVehicle_type
    String sMerchant_type
    String sCollected_at
    String sBill_name
    Integer j
    Integer iCount_j
    String sValue
    String sCount
    String sV_next
    String sPrevious
    Integer i
    Integer iCount_i
    String sTemp1
    Boolean bTemp1

    // 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(cComChilkatJsonObject)) To hoQueryParams
    If (Not(IsComObjectCreated(hoQueryParams))) Begin
        Send CreateComObject of hoQueryParams
    End
    Get ComUpdateInt Of hoQueryParams "page" 1 To iSuccess

    Get pvComObject of hoQueryParams to vQueryParams
    Get ComQuickRequestParams Of hoHttp "GET" "https://domain.com/api/transactions/" vQueryParams To vResp
    If (IsComObject(vResp)) Begin
        Get Create (RefClass(cComChilkatHttpResponse)) To hoResp
        Set pvComObject Of hoResp To vResp
    End
    Get ComLastMethodSuccess Of hoHttp To bTemp1
    If (bTemp1 = False) Begin
        Get ComLastErrorText Of hoHttp To sTemp1
        Showln sTemp1
        Procedure_Return
    End

    Get Create (RefClass(cComChilkatStringBuilder)) To hoSbResponseBody
    If (Not(IsComObjectCreated(hoSbResponseBody))) Begin
        Send CreateComObject of hoSbResponseBody
    End
    Get pvComObject of hoSbResponseBody to vSbResponseBody
    Get ComGetBodySb Of hoResp vSbResponseBody To iSuccess

    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 ComStatusCode Of hoResp To iRespStatusCode
    Showln "Response Status Code = " iRespStatusCode
    If (iRespStatusCode >= 400) Begin
        Showln "Response Header:"
        Get ComHeader Of hoResp To sTemp1
        Showln sTemp1
        Showln "Failed."
        Send Destroy of hoResp
        Procedure_Return
    End

    Send Destroy of hoResp

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

    // {
    //   "count": "<integer>",
    //   "next": "<string>",
    //   "previous": "<string>",
    //   "results": [
    //     {
    //       "id": "<uuid>",
    //       "account": {
    //         "id": "<uuid>",
    //         "link": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "institution": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "collected_at": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "category": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "type": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "name": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "number": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "balance": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "currency": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "bank_product_id": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "internal_identification": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "public_identification_name": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "public_identification_value": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "last_accessed_at": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "credit_data": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "loan_data": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "funds_data": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "gig_payment_data": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         }
    //       },
    //       "collected_at": "<date>",
    //       "value_date": "<string>",
    //       "accounting_date": "<date>",
    //       "amount": "<number>",
    //       "balance": "<number>",
    //       "currency": "<string>",
    //       "description": "<string>",
    //       "observations": "<string>",
    //       "category": "<string>",
    //       "reference": "<string>",
    //       "type": "ipsum quis",
    //       "status": "nostrud",
    //       "gig_data": {
    //         "pickup_at": "<dateTime>",
    //         "dropoff_at": "<dateTime>",
    //         "request_at": "<dateTime>",
    //         "pickup_address": "<string>",
    //         "dropoff_address": "<string>",
    //         "pickup_latitude": "<number>",
    //         "pickup_longitude": "<number>",
    //         "dropoff_latitude": "<number>",
    //         "dropoff_longitude": "<number>",
    //         "distance": "<number>",
    //         "payment_method": "<string>",
    //         "vehicle_type": "<string>",
    //         "merchant_type": "<string>",
    //         "breakdown": [
    //           {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         ],
    //         "collected_at": "<dateTime>"
    //       },
    //       "credit_card_data": {
    //         "bill_name": "<string>"
    //       }
    //     },
    //     {
    //       "id": "<uuid>",
    //       "account": {
    //         "id": "<uuid>",
    //         "link": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "institution": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "collected_at": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "category": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "type": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "name": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "number": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "balance": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "currency": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "bank_product_id": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "internal_identification": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "public_identification_name": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "public_identification_value": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "last_accessed_at": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "credit_data": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "loan_data": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "funds_data": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         },
    //         "gig_payment_data": {
    //           "value": "<Error: Too many levels of nesting to fake this schema>"
    //         }
    //       },
    //       "collected_at": "<date>",
    //       "value_date": "<string>",
    //       "accounting_date": "<date>",
    //       "amount": "<number>",
    //       "balance": "<number>",
    //       "currency": "<string>",
    //       "description": "<string>",
    //       "observations": "<string>",
    //       "category": "<string>",
    //       "reference": "<string>",
    //       "type": "labore sunt ad",
    //       "status": "commodo",
    //       "gig_data": {
    //         "pickup_at": "<dateTime>",
    //         "dropoff_at": "<dateTime>",
    //         "request_at": "<dateTime>",
    //         "pickup_address": "<string>",
    //         "dropoff_address": "<string>",
    //         "pickup_latitude": "<number>",
    //         "pickup_longitude": "<number>",
    //         "dropoff_latitude": "<number>",
    //         "dropoff_longitude": "<number>",
    //         "distance": "<number>",
    //         "payment_method": "<string>",
    //         "vehicle_type": "<string>",
    //         "merchant_type": "<string>",
    //         "breakdown": [
    //           {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           },
    //           {
    //             "value": "<Error: Too many levels of nesting to fake this schema>"
    //           }
    //         ],
    //         "collected_at": "<dateTime>"
    //       },
    //       "credit_card_data": {
    //         "bill_name": "<string>"
    //       }
    //     }
    //   ]
    // }

    // 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].account.id" To sId
        Get ComStringOf Of hoJResp "results[i].account.link.value" To sValue
        Get ComStringOf Of hoJResp "results[i].account.institution.value" To sInstitutionValue
        Get ComStringOf Of hoJResp "results[i].account.collected_at.value" To sCollected_atValue
        Get ComStringOf Of hoJResp "results[i].account.category.value" To sCategoryValue
        Get ComStringOf Of hoJResp "results[i].account.type.value" To sTypeValue
        Get ComStringOf Of hoJResp "results[i].account.name.value" To sNameValue
        Get ComStringOf Of hoJResp "results[i].account.number.value" To sNumberValue
        Get ComStringOf Of hoJResp "results[i].account.balance.value" To sBalanceValue
        Get ComStringOf Of hoJResp "results[i].account.currency.value" To sCurrencyValue
        Get ComStringOf Of hoJResp "results[i].account.bank_product_id.value" To sBank_product_idValue
        Get ComStringOf Of hoJResp "results[i].account.internal_identification.value" To sInternal_identificationValue
        Get ComStringOf Of hoJResp "results[i].account.public_identification_name.value" To sPublic_identification_nameValue
        Get ComStringOf Of hoJResp "results[i].account.public_identification_value.value" To sPublic_identification_valueValue
        Get ComStringOf Of hoJResp "results[i].account.last_accessed_at.value" To sLast_accessed_atValue
        Get ComStringOf Of hoJResp "results[i].account.credit_data.value" To sCredit_dataValue
        Get ComStringOf Of hoJResp "results[i].account.loan_data.value" To sLoan_dataValue
        Get ComStringOf Of hoJResp "results[i].account.funds_data.value" To sFunds_dataValue
        Get ComStringOf Of hoJResp "results[i].account.gig_payment_data.value" To sGig_payment_dataValue
        Get ComStringOf Of hoJResp "results[i].collected_at" To sCollected_at
        Get ComStringOf Of hoJResp "results[i].value_date" To sValue_date
        Get ComStringOf Of hoJResp "results[i].accounting_date" To sAccounting_date
        Get ComStringOf Of hoJResp "results[i].amount" To sAmount
        Get ComStringOf Of hoJResp "results[i].balance" To sBalance
        Get ComStringOf Of hoJResp "results[i].currency" To sV_currency
        Get ComStringOf Of hoJResp "results[i].description" To sDescription
        Get ComStringOf Of hoJResp "results[i].observations" To sObservations
        Get ComStringOf Of hoJResp "results[i].category" To sCategory
        Get ComStringOf Of hoJResp "results[i].reference" To sReference
        Get ComStringOf Of hoJResp "results[i].type" To sV_type
        Get ComStringOf Of hoJResp "results[i].status" To sStatus
        Get ComStringOf Of hoJResp "results[i].gig_data.pickup_at" To sPickup_at
        Get ComStringOf Of hoJResp "results[i].gig_data.dropoff_at" To sDropoff_at
        Get ComStringOf Of hoJResp "results[i].gig_data.request_at" To sRequest_at
        Get ComStringOf Of hoJResp "results[i].gig_data.pickup_address" To sPickup_address
        Get ComStringOf Of hoJResp "results[i].gig_data.dropoff_address" To sDropoff_address
        Get ComStringOf Of hoJResp "results[i].gig_data.pickup_latitude" To sPickup_latitude
        Get ComStringOf Of hoJResp "results[i].gig_data.pickup_longitude" To sPickup_longitude
        Get ComStringOf Of hoJResp "results[i].gig_data.dropoff_latitude" To sDropoff_latitude
        Get ComStringOf Of hoJResp "results[i].gig_data.dropoff_longitude" To sDropoff_longitude
        Get ComStringOf Of hoJResp "results[i].gig_data.distance" To sDistance
        Get ComStringOf Of hoJResp "results[i].gig_data.payment_method" To sPayment_method
        Get ComStringOf Of hoJResp "results[i].gig_data.vehicle_type" To sVehicle_type
        Get ComStringOf Of hoJResp "results[i].gig_data.merchant_type" To sMerchant_type
        Get ComStringOf Of hoJResp "results[i].gig_data.collected_at" To sCollected_at
        Get ComStringOf Of hoJResp "results[i].credit_card_data.bill_name" To sBill_name
        Move 0 To j
        Get ComSizeOfArray Of hoJResp "results[i].gig_data.breakdown" To iCount_j
        While (j < iCount_j)
            Set ComJ Of hoJResp To j
            Get ComStringOf Of hoJResp "results[i].gig_data.breakdown[j].value" To sValue
            Move (j + 1) To j
        Loop

        Move (i + 1) To i
    Loop



End_Procedure

Curl Command

curl -G -d "page=1"
	-u '{{secretId}}:{{secretPassword}}'
https://domain.com/api/transactions/

Postman Collection Item JSON

{
  "name": "List",
  "request": {
    "method": "GET",
    "header": [
    ],
    "url": {
      "raw": "{{baseUrl}}/api/transactions/?page=1",
      "host": [
        "{{baseUrl}}"
      ],
      "path": [
        "api",
        "transactions",
        ""
      ],
      "query": [
        {
          "key": "page",
          "value": "1",
          "description": "A page number within the paginated result set."
        }
      ]
    },
    "description": "Get a paginated list of all existing transactions 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/transactions?page=<integer>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "transactions"
          ],
          "query": [
            {
              "key": "page",
              "value": "<integer>"
            }
          ]
        }
      },
      "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\"account\": {\n\t\t\t\t\"id\": \"<uuid>\",\n\t\t\t\t\"link\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"institution\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"collected_at\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"category\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"type\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"name\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"number\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"balance\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"currency\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"bank_product_id\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"internal_identification\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"public_identification_name\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"public_identification_value\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"last_accessed_at\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"credit_data\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"loan_data\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"funds_data\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"gig_payment_data\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"collected_at\": \"<date>\",\n\t\t\t\"value_date\": \"<string>\",\n\t\t\t\"accounting_date\": \"<date>\",\n\t\t\t\"amount\": \"<number>\",\n\t\t\t\"balance\": \"<number>\",\n\t\t\t\"currency\": \"<string>\",\n\t\t\t\"description\": \"<string>\",\n\t\t\t\"observations\": \"<string>\",\n\t\t\t\"category\": \"<string>\",\n\t\t\t\"reference\": \"<string>\",\n\t\t\t\"type\": \"ipsum quis\",\n\t\t\t\"status\": \"nostrud\",\n\t\t\t\"gig_data\": {\n\t\t\t\t\"pickup_at\": \"<dateTime>\",\n\t\t\t\t\"dropoff_at\": \"<dateTime>\",\n\t\t\t\t\"request_at\": \"<dateTime>\",\n\t\t\t\t\"pickup_address\": \"<string>\",\n\t\t\t\t\"dropoff_address\": \"<string>\",\n\t\t\t\t\"pickup_latitude\": \"<number>\",\n\t\t\t\t\"pickup_longitude\": \"<number>\",\n\t\t\t\t\"dropoff_latitude\": \"<number>\",\n\t\t\t\t\"dropoff_longitude\": \"<number>\",\n\t\t\t\t\"distance\": \"<number>\",\n\t\t\t\t\"payment_method\": \"<string>\",\n\t\t\t\t\"vehicle_type\": \"<string>\",\n\t\t\t\t\"merchant_type\": \"<string>\",\n\t\t\t\t\"breakdown\": [\n\t\t\t\t\t{\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{\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\"collected_at\": \"<dateTime>\"\n\t\t\t},\n\t\t\t\"credit_card_data\": {\n\t\t\t\t\"bill_name\": \"<string>\"\n\t\t\t}\n\t\t},\n\t\t{\n\t\t\t\"id\": \"<uuid>\",\n\t\t\t\"account\": {\n\t\t\t\t\"id\": \"<uuid>\",\n\t\t\t\t\"link\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"institution\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"collected_at\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"category\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"type\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"name\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"number\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"balance\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"currency\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"bank_product_id\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"internal_identification\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"public_identification_name\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"public_identification_value\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"last_accessed_at\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"credit_data\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"loan_data\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"funds_data\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t},\n\t\t\t\t\"gig_payment_data\": {\n\t\t\t\t\t\"value\": \"<Error: Too many levels of nesting to fake this schema>\"\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"collected_at\": \"<date>\",\n\t\t\t\"value_date\": \"<string>\",\n\t\t\t\"accounting_date\": \"<date>\",\n\t\t\t\"amount\": \"<number>\",\n\t\t\t\"balance\": \"<number>\",\n\t\t\t\"currency\": \"<string>\",\n\t\t\t\"description\": \"<string>\",\n\t\t\t\"observations\": \"<string>\",\n\t\t\t\"category\": \"<string>\",\n\t\t\t\"reference\": \"<string>\",\n\t\t\t\"type\": \"labore sunt ad\",\n\t\t\t\"status\": \"commodo\",\n\t\t\t\"gig_data\": {\n\t\t\t\t\"pickup_at\": \"<dateTime>\",\n\t\t\t\t\"dropoff_at\": \"<dateTime>\",\n\t\t\t\t\"request_at\": \"<dateTime>\",\n\t\t\t\t\"pickup_address\": \"<string>\",\n\t\t\t\t\"dropoff_address\": \"<string>\",\n\t\t\t\t\"pickup_latitude\": \"<number>\",\n\t\t\t\t\"pickup_longitude\": \"<number>\",\n\t\t\t\t\"dropoff_latitude\": \"<number>\",\n\t\t\t\t\"dropoff_longitude\": \"<number>\",\n\t\t\t\t\"distance\": \"<number>\",\n\t\t\t\t\"payment_method\": \"<string>\",\n\t\t\t\t\"vehicle_type\": \"<string>\",\n\t\t\t\t\"merchant_type\": \"<string>\",\n\t\t\t\t\"breakdown\": [\n\t\t\t\t\t{\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{\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\"collected_at\": \"<dateTime>\"\n\t\t\t},\n\t\t\t\"credit_card_data\": {\n\t\t\t\t\"bill_name\": \"<string>\"\n\t\t\t}\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/transactions?page=<integer>",
          "host": [
            "{{baseUrl}}"
          ],
          "path": [
            "api",
            "transactions"
          ],
          "query": [
            {
              "key": "page",
              "value": "<integer>"
            }
          ]
        }
      },
      "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]"
    }
  ]
}