List Banks
curl --request GET \
--url https://pay-api.holdstation.com/api/v1/banksimport requests
url = "https://pay-api.holdstation.com/api/v1/banks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://pay-api.holdstation.com/api/v1/banks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pay-api.holdstation.com/api/v1/banks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pay-api.holdstation.com/api/v1/banks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pay-api.holdstation.com/api/v1/banks")
.asString();require 'uri'
require 'net/http'
url = URI("https://pay-api.holdstation.com/api/v1/banks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"message": "success",
"data": {
"banks": [
{
"id": 1,
"bank_name": "Vietcombank",
"short_name": "VCB",
"bin_code": "970436",
"image": "https://example.com/vcb.png",
"created_at": { "seconds": 1700000000, "nanos": 0 },
"updated_at": { "seconds": 1700000000, "nanos": 0 }
}
],
"page": 1,
"page_size": 20,
"total_count": 50
}
}
{
"error": "invalid request",
"error_code": "BAD_REQUEST",
"message": "Invalid parameters"
}
Banks
List Banks
Retrieve the list of banks supported for fiat withdrawals.
GET
/
api
/
v1
/
banks
List Banks
curl --request GET \
--url https://pay-api.holdstation.com/api/v1/banksimport requests
url = "https://pay-api.holdstation.com/api/v1/banks"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://pay-api.holdstation.com/api/v1/banks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pay-api.holdstation.com/api/v1/banks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://pay-api.holdstation.com/api/v1/banks"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://pay-api.holdstation.com/api/v1/banks")
.asString();require 'uri'
require 'net/http'
url = URI("https://pay-api.holdstation.com/api/v1/banks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"message": "success",
"data": {
"banks": [
{
"id": 1,
"bank_name": "Vietcombank",
"short_name": "VCB",
"bin_code": "970436",
"image": "https://example.com/vcb.png",
"created_at": { "seconds": 1700000000, "nanos": 0 },
"updated_at": { "seconds": 1700000000, "nanos": 0 }
}
],
"page": 1,
"page_size": 20,
"total_count": 50
}
}
{
"error": "invalid request",
"error_code": "BAD_REQUEST",
"message": "Invalid parameters"
}
Overview
Partners can retrieve the list of banks supported for fiat withdrawals. This endpoint is publicly accessible and does not require authentication.Page number for pagination.
Number of results per page.
Filter by specific bank IDs.
{
"message": "success",
"data": {
"banks": [
{
"id": 1,
"bank_name": "Vietcombank",
"short_name": "VCB",
"bin_code": "970436",
"image": "https://example.com/vcb.png",
"created_at": { "seconds": 1700000000, "nanos": 0 },
"updated_at": { "seconds": 1700000000, "nanos": 0 }
}
],
"page": 1,
"page_size": 20,
"total_count": 50
}
}
{
"error": "invalid request",
"error_code": "BAD_REQUEST",
"message": "Invalid parameters"
}
⌘I