Listar cuentas bancarias
curl --request GET \
--url https://api.venepagos.com.ve/api/v1/bank/accountsimport requests
url = "https://api.venepagos.com.ve/api/v1/bank/accounts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.venepagos.com.ve/api/v1/bank/accounts', 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://api.venepagos.com.ve/api/v1/bank/accounts",
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://api.venepagos.com.ve/api/v1/bank/accounts"
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://api.venepagos.com.ve/api/v1/bank/accounts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venepagos.com.ve/api/v1/bank/accounts")
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[
{
"id": "acc_01HQXK3V2N",
"bankCode": "0102",
"bankName": "Banco de Venezuela",
"accountNumber": "01020100000000012345",
"type": "corriente",
"status": "active"
}
]
Operaciones Bancarias
Listar cuentas bancarias
Obtiene la lista de cuentas bancarias registradas en tu cuenta.
GET
/
api
/
v1
/
bank
/
accounts
Listar cuentas bancarias
curl --request GET \
--url https://api.venepagos.com.ve/api/v1/bank/accountsimport requests
url = "https://api.venepagos.com.ve/api/v1/bank/accounts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.venepagos.com.ve/api/v1/bank/accounts', 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://api.venepagos.com.ve/api/v1/bank/accounts",
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://api.venepagos.com.ve/api/v1/bank/accounts"
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://api.venepagos.com.ve/api/v1/bank/accounts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venepagos.com.ve/api/v1/bank/accounts")
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[
{
"id": "acc_01HQXK3V2N",
"bankCode": "0102",
"bankName": "Banco de Venezuela",
"accountNumber": "01020100000000012345",
"type": "corriente",
"status": "active"
}
]
Este endpoint requiere autenticación mediante Bearer token.
Respuesta
string
Identificador único de la cuenta bancaria.
string
Código del banco (4 dígitos).
string
Nombre del banco.
string
Número de cuenta bancaria (20 dígitos).
string
Tipo de cuenta (
corriente o ahorro).string
Estado de la cuenta (
active, inactive).[
{
"id": "acc_01HQXK3V2N",
"bankCode": "0102",
"bankName": "Banco de Venezuela",
"accountNumber": "01020100000000012345",
"type": "corriente",
"status": "active"
}
]
⌘I