Chilkat Online Tools

Foxpro / Belvo API Docs / List

Back to Collection Items

LOCAL loHttp
LOCAL lnSuccess
LOCAL loQueryParams
LOCAL loResp
LOCAL loSbResponseBody
LOCAL loJResp
LOCAL lnRespStatusCode
LOCAL lcId
LOCAL lcId
LOCAL lcValue
LOCAL lcInstitutionValue
LOCAL lcCollected_atValue
LOCAL lcCategoryValue
LOCAL lcTypeValue
LOCAL lcNameValue
LOCAL lcNumberValue
LOCAL lcBalanceValue
LOCAL lcCurrencyValue
LOCAL lcBank_product_idValue
LOCAL lcInternal_identificationValue
LOCAL lcPublic_identification_nameValue
LOCAL lcPublic_identification_valueValue
LOCAL lcLast_accessed_atValue
LOCAL lcCredit_dataValue
LOCAL lcLoan_dataValue
LOCAL lcFunds_dataValue
LOCAL lcGig_payment_dataValue
LOCAL lcCollected_at
LOCAL lcValue_date
LOCAL lcAccounting_date
LOCAL lcAmount
LOCAL lcBalance
LOCAL lcV_currency
LOCAL lcDescription
LOCAL lcObservations
LOCAL lcCategory
LOCAL lcReference
LOCAL lcV_type
LOCAL lcStatus
LOCAL lcPickup_at
LOCAL lcDropoff_at
LOCAL lcRequest_at
LOCAL lcPickup_address
LOCAL lcDropoff_address
LOCAL lcPickup_latitude
LOCAL lcPickup_longitude
LOCAL lcDropoff_latitude
LOCAL lcDropoff_longitude
LOCAL lcDistance
LOCAL lcPayment_method
LOCAL lcVehicle_type
LOCAL lcMerchant_type
LOCAL lcCollected_at
LOCAL lcBill_name
LOCAL j
LOCAL lnCount_j
LOCAL lcValue
LOCAL lcCount
LOCAL lcV_next
LOCAL lcPrevious
LOCAL i
LOCAL lnCount_i

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

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.Http')
loHttp = CreateObject('Chilkat.Http')

loHttp.BasicAuth = 1
loHttp.Login = "{{secretId}}"
loHttp.Password = "{{secretPassword}}"

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loQueryParams = CreateObject('Chilkat.JsonObject')
loQueryParams.UpdateInt("page",1)

loResp = loHttp.QuickRequestParams("GET","https://domain.com/api/transactions/",loQueryParams)
IF (loHttp.LastMethodSuccess = 0) THEN
    ? loHttp.LastErrorText
    RELEASE loHttp
    RELEASE loQueryParams
    CANCEL
ENDIF

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.StringBuilder')
loSbResponseBody = CreateObject('Chilkat.StringBuilder')
loResp.GetBodySb(loSbResponseBody)

* For versions of Chilkat < 10.0.0, use CreateObject('Chilkat_9_5_0.JsonObject')
loJResp = CreateObject('Chilkat.JsonObject')
loJResp.LoadSb(loSbResponseBody)
loJResp.EmitCompact = 0

? "Response Body:"
? loJResp.Emit()

lnRespStatusCode = loResp.StatusCode
? "Response Status Code = " + STR(lnRespStatusCode)
IF (lnRespStatusCode >= 400) THEN
    ? "Response Header:"
    ? loResp.Header
    ? "Failed."
    RELEASE loResp
    RELEASE loHttp
    RELEASE loQueryParams
    RELEASE loSbResponseBody
    RELEASE loJResp
    CANCEL
ENDIF

RELEASE loResp

* 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

lcCount = loJResp.StringOf("count")
lcV_next = loJResp.StringOf("next")
lcPrevious = loJResp.StringOf("previous")
i = 0
lnCount_i = loJResp.SizeOfArray("results")
DO WHILE i < lnCount_i
    loJResp.I = i
    lcId = loJResp.StringOf("results[i].id")
    lcId = loJResp.StringOf("results[i].account.id")
    lcValue = loJResp.StringOf("results[i].account.link.value")
    lcInstitutionValue = loJResp.StringOf("results[i].account.institution.value")
    lcCollected_atValue = loJResp.StringOf("results[i].account.collected_at.value")
    lcCategoryValue = loJResp.StringOf("results[i].account.category.value")
    lcTypeValue = loJResp.StringOf("results[i].account.type.value")
    lcNameValue = loJResp.StringOf("results[i].account.name.value")
    lcNumberValue = loJResp.StringOf("results[i].account.number.value")
    lcBalanceValue = loJResp.StringOf("results[i].account.balance.value")
    lcCurrencyValue = loJResp.StringOf("results[i].account.currency.value")
    lcBank_product_idValue = loJResp.StringOf("results[i].account.bank_product_id.value")
    lcInternal_identificationValue = loJResp.StringOf("results[i].account.internal_identification.value")
    lcPublic_identification_nameValue = loJResp.StringOf("results[i].account.public_identification_name.value")
    lcPublic_identification_valueValue = loJResp.StringOf("results[i].account.public_identification_value.value")
    lcLast_accessed_atValue = loJResp.StringOf("results[i].account.last_accessed_at.value")
    lcCredit_dataValue = loJResp.StringOf("results[i].account.credit_data.value")
    lcLoan_dataValue = loJResp.StringOf("results[i].account.loan_data.value")
    lcFunds_dataValue = loJResp.StringOf("results[i].account.funds_data.value")
    lcGig_payment_dataValue = loJResp.StringOf("results[i].account.gig_payment_data.value")
    lcCollected_at = loJResp.StringOf("results[i].collected_at")
    lcValue_date = loJResp.StringOf("results[i].value_date")
    lcAccounting_date = loJResp.StringOf("results[i].accounting_date")
    lcAmount = loJResp.StringOf("results[i].amount")
    lcBalance = loJResp.StringOf("results[i].balance")
    lcV_currency = loJResp.StringOf("results[i].currency")
    lcDescription = loJResp.StringOf("results[i].description")
    lcObservations = loJResp.StringOf("results[i].observations")
    lcCategory = loJResp.StringOf("results[i].category")
    lcReference = loJResp.StringOf("results[i].reference")
    lcV_type = loJResp.StringOf("results[i].type")
    lcStatus = loJResp.StringOf("results[i].status")
    lcPickup_at = loJResp.StringOf("results[i].gig_data.pickup_at")
    lcDropoff_at = loJResp.StringOf("results[i].gig_data.dropoff_at")
    lcRequest_at = loJResp.StringOf("results[i].gig_data.request_at")
    lcPickup_address = loJResp.StringOf("results[i].gig_data.pickup_address")
    lcDropoff_address = loJResp.StringOf("results[i].gig_data.dropoff_address")
    lcPickup_latitude = loJResp.StringOf("results[i].gig_data.pickup_latitude")
    lcPickup_longitude = loJResp.StringOf("results[i].gig_data.pickup_longitude")
    lcDropoff_latitude = loJResp.StringOf("results[i].gig_data.dropoff_latitude")
    lcDropoff_longitude = loJResp.StringOf("results[i].gig_data.dropoff_longitude")
    lcDistance = loJResp.StringOf("results[i].gig_data.distance")
    lcPayment_method = loJResp.StringOf("results[i].gig_data.payment_method")
    lcVehicle_type = loJResp.StringOf("results[i].gig_data.vehicle_type")
    lcMerchant_type = loJResp.StringOf("results[i].gig_data.merchant_type")
    lcCollected_at = loJResp.StringOf("results[i].gig_data.collected_at")
    lcBill_name = loJResp.StringOf("results[i].credit_card_data.bill_name")
    j = 0
    lnCount_j = loJResp.SizeOfArray("results[i].gig_data.breakdown")
    DO WHILE j < lnCount_j
        loJResp.J = j
        lcValue = loJResp.StringOf("results[i].gig_data.breakdown[j].value")
        j = j + 1
    ENDDO
    i = i + 1
ENDDO

RELEASE loHttp
RELEASE loQueryParams
RELEASE loSbResponseBody
RELEASE loJResp

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]"
    }
  ]
}