API Endpoints
Banks
List all banks
1 min
code examples curl location '/client/v1/bank' \\ \ header 'accept application/json' \\ \ header 'content type application/json' \\ \ header 'x client id string' \\ \ header 'x signature string' \\ \ header 'x timestamp string' \\ \ header 'x nonce string'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); myheaders append("x client id", "string"); myheaders append("x signature", "string"); myheaders append("x timestamp", "string"); myheaders append("x nonce", "string"); var requestoptions = { method 'get', headers myheaders, redirect 'follow' }; fetch("/client/v1/bank", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("/client/v1/bank") http = net http new(url host, url port); request = net http get new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" request\["x client id"] = "string" request\["x signature"] = "string" request\["x timestamp"] = "string" request\["x nonce"] = "string" response = http request(request) puts response read body import requests import json url = "/client/v1/bank" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json', 'x client id' 'string', 'x signature' 'string', 'x timestamp' 'string', 'x nonce' 'string' } response = requests request("get", url, headers=headers, data=payload) print(response text) responses // banks retrieved { "data" \[ { "bank name" "", "bank code" "", "country" "" } ], "message" "" }