Obtener listado de clabes
curl --request GET \
--url https://rest.yafacture.com/clabes-emisores \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://rest.yafacture.com/clabes-emisores', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://rest.yafacture.com/clabes-emisores"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://rest.yafacture.com/clabes-emisores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://rest.yafacture.com/clabes-emisores")
.header("x-api-key", "<api-key>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://rest.yafacture.com/clabes-emisores"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"emisorId": "<string>",
"clabeId": "<string>",
"clabe": "<string>",
"saldoClabeEmisor": 123,
"cargoPendienteClabeEmisor": 123,
"codiEmpresa": "<string>",
"nombre": "<string>",
"notificaciones": {
"emails": [
"<string>"
],
"telefonos": [
"<string>"
]
},
"autorizantes": [
{
"nombre": "<string>",
"email": "<string>"
}
],
"fechaCreacion": "2023-11-07T05:31:56Z",
"fechaActualizacion": "2023-11-07T05:31:56Z",
"status": true
}
]{
"message": "Forbidden resource",
"error": "Forbidden",
"statusCode": 403
}Clabes de emisores
Obtener listado de clabes
GET
/
clabes-emisores
Obtener listado de clabes
curl --request GET \
--url https://rest.yafacture.com/clabes-emisores \
--header 'x-api-key: <api-key>'const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://rest.yafacture.com/clabes-emisores', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://rest.yafacture.com/clabes-emisores"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://rest.yafacture.com/clabes-emisores",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}HttpResponse<String> response = Unirest.get("https://rest.yafacture.com/clabes-emisores")
.header("x-api-key", "<api-key>")
.asString();package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://rest.yafacture.com/clabes-emisores"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}[
{
"emisorId": "<string>",
"clabeId": "<string>",
"clabe": "<string>",
"saldoClabeEmisor": 123,
"cargoPendienteClabeEmisor": 123,
"codiEmpresa": "<string>",
"nombre": "<string>",
"notificaciones": {
"emails": [
"<string>"
],
"telefonos": [
"<string>"
]
},
"autorizantes": [
{
"nombre": "<string>",
"email": "<string>"
}
],
"fechaCreacion": "2023-11-07T05:31:56Z",
"fechaActualizacion": "2023-11-07T05:31:56Z",
"status": true
}
]{
"message": "Forbidden resource",
"error": "Forbidden",
"statusCode": 403
}Authorizations
x-api-keybearerx-api-keybearer
X-API-Key authentication header for the development token generated in Yafacture
Response
Identificador del emisor relacionado
Identificador de la CLABE relacionada
Número de CLABE asignado al emisor
Saldo disponible en la CLABE del emisor
Saldo pendiente de cargos en la CLABE del emisor
ID de empresa asociada a CoDi
Nombre del emisor CLABE
Listado de notificaciones por email y teléfono
Show child attributes
Show child attributes
Listado de personas autorizadas para confirmar transferencias
Show child attributes
Show child attributes
Fecha de creación del registro
Fecha de última actualización del registro
Estado del registro

