Transferencia bancaria
curl --request POST \
--url https://api.venepagos.com.ve/api/v1/bank/transfer \
--header 'Content-Type: application/json' \
--data '
{
"account_number": "<string>",
"destination_bank": "<string>",
"destination_account": "<string>",
"amount": 123,
"simulate": "<string>"
}
'import requests
url = "https://api.venepagos.com.ve/api/v1/bank/transfer"
payload = {
"account_number": "<string>",
"destination_bank": "<string>",
"destination_account": "<string>",
"amount": 123,
"simulate": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
account_number: '<string>',
destination_bank: '<string>',
destination_account: '<string>',
amount: 123,
simulate: '<string>'
})
};
fetch('https://api.venepagos.com.ve/api/v1/bank/transfer', 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/transfer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_number' => '<string>',
'destination_bank' => '<string>',
'destination_account' => '<string>',
'amount' => 123,
'simulate' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.venepagos.com.ve/api/v1/bank/transfer"
payload := strings.NewReader("{\n \"account_number\": \"<string>\",\n \"destination_bank\": \"<string>\",\n \"destination_account\": \"<string>\",\n \"amount\": 123,\n \"simulate\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.venepagos.com.ve/api/v1/bank/transfer")
.header("Content-Type", "application/json")
.body("{\n \"account_number\": \"<string>\",\n \"destination_bank\": \"<string>\",\n \"destination_account\": \"<string>\",\n \"amount\": 123,\n \"simulate\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venepagos.com.ve/api/v1/bank/transfer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_number\": \"<string>\",\n \"destination_bank\": \"<string>\",\n \"destination_account\": \"<string>\",\n \"amount\": 123,\n \"simulate\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "txn_01HQXK7P3T",
"status": "success",
"amount": 150.00,
"reference": "20260331000012345"
}
Operaciones Bancarias
Transferencia bancaria
Realiza una transferencia bancaria a otra cuenta en Venezuela.
POST
/
api
/
v1
/
bank
/
transfer
Transferencia bancaria
curl --request POST \
--url https://api.venepagos.com.ve/api/v1/bank/transfer \
--header 'Content-Type: application/json' \
--data '
{
"account_number": "<string>",
"destination_bank": "<string>",
"destination_account": "<string>",
"amount": 123,
"simulate": "<string>"
}
'import requests
url = "https://api.venepagos.com.ve/api/v1/bank/transfer"
payload = {
"account_number": "<string>",
"destination_bank": "<string>",
"destination_account": "<string>",
"amount": 123,
"simulate": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
account_number: '<string>',
destination_bank: '<string>',
destination_account: '<string>',
amount: 123,
simulate: '<string>'
})
};
fetch('https://api.venepagos.com.ve/api/v1/bank/transfer', 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/transfer",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'account_number' => '<string>',
'destination_bank' => '<string>',
'destination_account' => '<string>',
'amount' => 123,
'simulate' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.venepagos.com.ve/api/v1/bank/transfer"
payload := strings.NewReader("{\n \"account_number\": \"<string>\",\n \"destination_bank\": \"<string>\",\n \"destination_account\": \"<string>\",\n \"amount\": 123,\n \"simulate\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.venepagos.com.ve/api/v1/bank/transfer")
.header("Content-Type", "application/json")
.body("{\n \"account_number\": \"<string>\",\n \"destination_bank\": \"<string>\",\n \"destination_account\": \"<string>\",\n \"amount\": 123,\n \"simulate\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.venepagos.com.ve/api/v1/bank/transfer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"account_number\": \"<string>\",\n \"destination_bank\": \"<string>\",\n \"destination_account\": \"<string>\",\n \"amount\": 123,\n \"simulate\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"id": "txn_01HQXK7P3T",
"status": "success",
"amount": 150.00,
"reference": "20260331000012345"
}
Este endpoint requiere autenticación mediante Bearer token.
string
required
Número de cuenta origen registrada en tu cuenta de VenePagos.
string
required
Código del banco destino (4 dígitos). Consulta el endpoint de códigos de bancos para obtener los valores válidos.
string
required
Número de cuenta destino (20 dígitos).
number
required
Monto a transferir en bolívares.
string
Solo disponible en entorno sandbox. Permite simular el resultado de la transferencia. Valores posibles:
success, failed, pending.Respuesta
string
Identificador único de la transferencia.
string
Estado de la transferencia (
success, failed, pending).number
Monto transferido en bolívares.
string
Número de referencia bancaria de la transferencia.
{
"id": "txn_01HQXK7P3T",
"status": "success",
"amount": 150.00,
"reference": "20260331000012345"
}
⌘I