Back to Collection Items
load ./chilkat.dll
# This example assumes the Chilkat API to have been previously unlocked.
# See Global Unlock Sample for sample code.
set http [new_CkHttp]
CkHttp_put_BasicAuth $http 1
CkHttp_put_Login $http "{{secretId}}"
CkHttp_put_Password $http "{{secretPassword}}"
set queryParams [new_CkJsonObject]
CkJsonObject_UpdateInt $queryParams "page" 1
# resp is a CkHttpResponse
set resp [CkHttp_QuickRequestParams $http "GET" "https://domain.com/api/transactions/" $queryParams]
if {[CkHttp_get_LastMethodSuccess $http] == 0} then {
puts [CkHttp_lastErrorText $http]
delete_CkHttp $http
delete_CkJsonObject $queryParams
exit
}
set sbResponseBody [new_CkStringBuilder]
CkHttpResponse_GetBodySb $resp $sbResponseBody
set jResp [new_CkJsonObject]
CkJsonObject_LoadSb $jResp $sbResponseBody
CkJsonObject_put_EmitCompact $jResp 0
puts "Response Body:"
puts [CkJsonObject_emit $jResp]
set respStatusCode [CkHttpResponse_get_StatusCode $resp]
puts "Response Status Code = $respStatusCode"
if {$respStatusCode >= 400} then {
puts "Response Header:"
puts [CkHttpResponse_header $resp]
puts "Failed."
delete_CkHttpResponse $resp
delete_CkHttp $http
delete_CkJsonObject $queryParams
delete_CkStringBuilder $sbResponseBody
delete_CkJsonObject $jResp
exit
}
delete_CkHttpResponse $resp
# 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
set count [CkJsonObject_stringOf $jResp "count"]
set v_next [CkJsonObject_stringOf $jResp "next"]
set previous [CkJsonObject_stringOf $jResp "previous"]
set i 0
set count_i [CkJsonObject_SizeOfArray $jResp "results"]
while {$i < $count_i} {
CkJsonObject_put_I $jResp $i
set id [CkJsonObject_stringOf $jResp "results[i].id"]
set Id [CkJsonObject_stringOf $jResp "results[i].account.id"]
set Value [CkJsonObject_stringOf $jResp "results[i].account.link.value"]
set InstitutionValue [CkJsonObject_stringOf $jResp "results[i].account.institution.value"]
set Collected_atValue [CkJsonObject_stringOf $jResp "results[i].account.collected_at.value"]
set CategoryValue [CkJsonObject_stringOf $jResp "results[i].account.category.value"]
set TypeValue [CkJsonObject_stringOf $jResp "results[i].account.type.value"]
set NameValue [CkJsonObject_stringOf $jResp "results[i].account.name.value"]
set NumberValue [CkJsonObject_stringOf $jResp "results[i].account.number.value"]
set BalanceValue [CkJsonObject_stringOf $jResp "results[i].account.balance.value"]
set CurrencyValue [CkJsonObject_stringOf $jResp "results[i].account.currency.value"]
set Bank_product_idValue [CkJsonObject_stringOf $jResp "results[i].account.bank_product_id.value"]
set Internal_identificationValue [CkJsonObject_stringOf $jResp "results[i].account.internal_identification.value"]
set Public_identification_nameValue [CkJsonObject_stringOf $jResp "results[i].account.public_identification_name.value"]
set Public_identification_valueValue [CkJsonObject_stringOf $jResp "results[i].account.public_identification_value.value"]
set Last_accessed_atValue [CkJsonObject_stringOf $jResp "results[i].account.last_accessed_at.value"]
set Credit_dataValue [CkJsonObject_stringOf $jResp "results[i].account.credit_data.value"]
set Loan_dataValue [CkJsonObject_stringOf $jResp "results[i].account.loan_data.value"]
set Funds_dataValue [CkJsonObject_stringOf $jResp "results[i].account.funds_data.value"]
set Gig_payment_dataValue [CkJsonObject_stringOf $jResp "results[i].account.gig_payment_data.value"]
set collected_at [CkJsonObject_stringOf $jResp "results[i].collected_at"]
set value_date [CkJsonObject_stringOf $jResp "results[i].value_date"]
set accounting_date [CkJsonObject_stringOf $jResp "results[i].accounting_date"]
set amount [CkJsonObject_stringOf $jResp "results[i].amount"]
set balance [CkJsonObject_stringOf $jResp "results[i].balance"]
set v_currency [CkJsonObject_stringOf $jResp "results[i].currency"]
set description [CkJsonObject_stringOf $jResp "results[i].description"]
set observations [CkJsonObject_stringOf $jResp "results[i].observations"]
set category [CkJsonObject_stringOf $jResp "results[i].category"]
set reference [CkJsonObject_stringOf $jResp "results[i].reference"]
set v_type [CkJsonObject_stringOf $jResp "results[i].type"]
set status [CkJsonObject_stringOf $jResp "results[i].status"]
set Pickup_at [CkJsonObject_stringOf $jResp "results[i].gig_data.pickup_at"]
set Dropoff_at [CkJsonObject_stringOf $jResp "results[i].gig_data.dropoff_at"]
set Request_at [CkJsonObject_stringOf $jResp "results[i].gig_data.request_at"]
set Pickup_address [CkJsonObject_stringOf $jResp "results[i].gig_data.pickup_address"]
set Dropoff_address [CkJsonObject_stringOf $jResp "results[i].gig_data.dropoff_address"]
set Pickup_latitude [CkJsonObject_stringOf $jResp "results[i].gig_data.pickup_latitude"]
set Pickup_longitude [CkJsonObject_stringOf $jResp "results[i].gig_data.pickup_longitude"]
set Dropoff_latitude [CkJsonObject_stringOf $jResp "results[i].gig_data.dropoff_latitude"]
set Dropoff_longitude [CkJsonObject_stringOf $jResp "results[i].gig_data.dropoff_longitude"]
set Distance [CkJsonObject_stringOf $jResp "results[i].gig_data.distance"]
set Payment_method [CkJsonObject_stringOf $jResp "results[i].gig_data.payment_method"]
set Vehicle_type [CkJsonObject_stringOf $jResp "results[i].gig_data.vehicle_type"]
set Merchant_type [CkJsonObject_stringOf $jResp "results[i].gig_data.merchant_type"]
set Collected_at [CkJsonObject_stringOf $jResp "results[i].gig_data.collected_at"]
set Bill_name [CkJsonObject_stringOf $jResp "results[i].credit_card_data.bill_name"]
set j 0
set count_j [CkJsonObject_SizeOfArray $jResp "results[i].gig_data.breakdown"]
while {$j < $count_j} {
CkJsonObject_put_J $jResp $j
set value [CkJsonObject_stringOf $jResp "results[i].gig_data.breakdown[j].value"]
set j [expr $j + 1]
}
set i [expr $i + 1]
}
delete_CkHttp $http
delete_CkJsonObject $queryParams
delete_CkStringBuilder $sbResponseBody
delete_CkJsonObject $jResp
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]"
}
]
}