Introducción
Bienvenido(a) a la documentación del API de Gateway. Aquí encontrarás los endpoints junto con ejemplos para integrarse a nuestra API.
Tenemos ejemplos para Shell, Ruby, Python y JavaScript. Puedes ver los ejemplos de código en la zona oscura de la derecha. Y puedes cambiar el lenguaje en los tabs de arriba a la derecha.
Autenticación
Ejemplo de invocación de API con el uso de un token JWT
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702 \
--header 'Authorization: Bearer [TOKEN]'
var axios = require("axios").default;
var options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
Asegúrate de usar el token JWT correspondiente al ambiente que quieres invocar.
Solo debes incluir el token JWT que les fue entregado por correo en cada request a cualesquiera de los endpoints. Por cada ambiente existe un token diferente. Asegúrate de usar el correcto.
Activo
Obtener un Activo determinado
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702 \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"activo": {
"tipoDueDiligence": "TIPO A",
"estado": "CREADO",
"paymentReportsIniciales": [
{
"PlazoRemanente": "46",
"PagoCapitalML": "0",
"EscrowGastosCobranzaML": "0",
"EscrowGastosCobranza": "0",
"FechaMora": "2022-11-15T03:00:00.000Z",
"PrepagoInteresDev": "0",
"EstadoCredito": "INSCRITO",
"VecesSobre30": "0",
"EscrowSeguros": "0",
"CostosPrepago": "0",
"MasterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"VecesSobre90": "0",
"PagoInteresMora": "0",
"IssuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OwnerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"CuotasMorosas": "0",
"VecesSobre180": "0",
"FechaUltimoPago": "2022-11-03T03:00:00.000Z",
"SaldoInsolutoActual": "18828522",
"FechaReporte": "2022-11-13T03:00:00.000Z",
"EscrowOtrosML": "0",
"PrepagoML": "0",
"DtiActual": 63.21,
"MontoDividendo": "691821",
"FechaPublicacion": "2022-11-14T19:50:40.000Z",
"EstadoCobranza": "90",
"Prepago": "0",
"CustodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"UltimaCuotaPagada": "2",
"OperationNumber": "2702",
"PagoInteresMoraML": "0",
"RecupreroCobJudicial": "0",
"VecesSobre60": "0",
"Seasoning": "2",
"CauId": "54040",
"LtvActual": 75.31,
"PrepagoInteresDevML": "0",
"EscrowSegurosML": "0",
"RecupreroCobJudicialML": "0",
"PagoInteres": "0",
"PagoInteresML": "0",
"PagoCapital": "0",
"VencimientoCuotaPagada": "2022-10-15T03:00:00.000Z",
"CostosPrepagoML": "0",
"Clasificacion": "S/I",
"ServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"PagosPorAplicar": "0",
"EscrowOtros": "0"
}
],
"vigente": true,
"servicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"masterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"developmentChart": [
{
"amortizationAmount": 0,
"interestAmount": 691821,
"paymentDate": "2022-09-15T03:00:00.000Z",
"paymentNumber": "1"
},
{
"amortizationAmount": 0,
"interestAmount": 691821,
"paymentDate": "2022-10-15T03:00:00.000Z",
"paymentNumber": "2"
},
{
"amortizationAmount": 138573,
"interestAmount": 553248,
"paymentDate": "2022-11-15T03:00:00.000Z",
"paymentNumber": "3"
},
{
"amortizationAmount": 237655,
"interestAmount": 454166,
"paymentDate": "2022-12-15T03:00:00.000Z",
"paymentNumber": "4"
},
{
"amortizationAmount": 228484,
"interestAmount": 463337,
"paymentDate": "2023-01-15T03:00:00.000Z",
"paymentNumber": "5"
},
{
"amortizationAmount": 234221,
"interestAmount": 457600,
"paymentDate": "2023-02-15T03:00:00.000Z",
"paymentNumber": "6"
}
],
"ownerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": "2702",
"custodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"fechaCreacion": "2023-04-06T03:14:21.768Z",
"files": [
{
"fileExtension": "PDF",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Contrato de Compra venta y/o Certificado de Transferencia\t\t\t",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22972",
"nombre": "AUT_54040_ ACAE_CCVT.PDF",
"fecha_carga": "2022-11-08T11:57:35.589Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4"
},
{
"fileExtension": "PDF",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Fotocopia Cédula de Identidad, por ambos lados",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22973",
"nombre": "AUT_54040_ ACAE_FCAL.PDF",
"fecha_carga": "2022-11-08T11:57:36.712Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4"
},
{
"fileExtension": "PDF",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Mandato para constituir Prenda Notariado a Favor del Adm. Primario",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22974",
"nombre": "AUT_54040_ ACAE_MCPNAP.PDF",
"fecha_carga": "2022-11-08T11:57:37.645Z",
"md5": "24ad4300fd265d1ee90dba1f8b1d5e56"
},
{
"fileExtension": "PDF",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - PRENDA - NOTARIADA O CERTIFICADO DE INSCRIPCIONES Y ANOTACIONES VIGENTES (INSCRITO A FAVOR DEL ADM. PRIMARIO)",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22975",
"nombre": "AUT_54040_ ACAE_PCAV.PDF",
"fecha_carga": "2022-11-08T11:57:37.826Z",
"md5": "85fd1fb41941ef51055adc8df5578baa"
},
{
"fileExtension": "pdf",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Condiciones generales de cobranza externa y CAE",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22976",
"nombre": "AUT_54040_ACAE_CCCAE.pdf",
"fecha_carga": "2022-11-08T11:57:39.254Z",
"md5": "b6b8792e4db9c03ba95b15e48f87ccfc"
},
{
"fileExtension": "PDF",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Pagaré del crédito - Notariado",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22977",
"nombre": "AUT_54040_ACAE_PCN.PDF",
"fecha_carga": "2022-11-08T11:57:40.970Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4"
},
{
"fileExtension": "xlsx",
"description": "CHECKLIST DUE DILIGENCE - Checklist Etapa 1",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/23041",
"nombre": "AUT_54040_CHDD_CHEU.xlsx",
"fecha_carga": "2022-11-14T09:43:13.193Z",
"md5": "af1ddfce263fc00c4c6688613e5be8a5"
},
{
"fileExtension": "PDF",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Contrato de Compra venta y/o Certificado de Transferencia",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22972",
"nombre": "AUT_54040_ ACAE_CCVT.PDF",
"fecha_carga": "2022-11-08T11:57:35.589Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4"
},
{
"fileExtension": "PDF",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Contrato de Compra venta y/o Certificado de Transferencia",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22972",
"nombre": "AUT_54040_ ACAE_CCVT.PDF",
"fecha_carga": "2022-11-08T11:57:35.589Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4"
},
{
"fileExtension": "PDF",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Contrato de Compra venta y/o Certificado de Transferencia",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22972",
"nombre": "AUT_54040_ ACAE_CCVT.PDF",
"fecha_carga": "2022-11-08T11:57:35.589Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4"
}
],
"header": {
"situacionLaboral": "S/I",
"claseVehiculo": "AUTOMOVIL",
"fechaNacimiento": "1989-04-13T03:00:00.000Z",
"valorTasacion": "25000000",
"valorComercial": "25000000",
"anoFabricacion": "2015",
"ownerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"aval": "NO",
"paymentAmount": "691821",
"nacionalidad": "CHILENA",
"rut": "17.248.999-0",
"marca": "JAGUAR",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": "2702",
"downPayment": "0",
"custodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"codigoRegion": "21157",
"currency": "CLP",
"issueDate": "2022-07-21T03:00:00.000Z",
"capitalAmount": "18828523",
"cargaFinanciera": "0",
"interestRate": 2.43,
"numberOfPayments": "48",
"persona": "FEMENINO",
"servicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"masterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"modelo": "XF 2.0",
"codigoPais": "31642",
"codigoComuna": "109758",
"ltv": 75.31,
"patente": "HHDB96",
"cauId": "54040",
"nuevo": "USADA",
"responsabilidadPrepago": "0",
"comuna": "VALPARAÍSO",
"region": "V",
"renta": "0"
},
"paymentReports": {
"0": {
"PlazoRemanente": "46",
"PagoCapitalML": "0",
"EscrowGastosCobranzaML": "0",
"EscrowGastosCobranza": "0",
"FechaMora": "2022-11-15T03:00:00.000Z",
"PrepagoInteresDev": "0",
"EstadoCredito": "INSCRITO",
"VecesSobre30": "0",
"EscrowSeguros": "0",
"CostosPrepago": "0",
"MasterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"VecesSobre90": "0",
"PagoInteresMora": "0",
"IssuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OwnerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"CuotasMorosas": "0",
"VecesSobre180": "0",
"FechaUltimoPago": "2022-11-03T03:00:00.000Z",
"SaldoInsolutoActual": "18828522",
"FechaReporte": "2023-04-06T03:00:00.000Z",
"EscrowOtrosML": "0",
"PrepagoML": "0",
"DtiActual": 63.21,
"MontoDividendo": "691821",
"FechaPublicacion": "2022-11-14T19:50:40.000Z",
"EstadoCobranza": "90",
"Prepago": "0",
"CustodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"UltimaCuotaPagada": "2",
"OperationNumber": "2702",
"PagoInteresMoraML": "0",
"RecupreroCobJudicial": "0",
"VecesSobre60": "0",
"Seasoning": "2",
"CauId": "54040",
"LtvActual": 75.31,
"PrepagoInteresDevML": "0",
"EscrowSegurosML": "0",
"RecupreroCobJudicialML": "0",
"PagoInteres": "0",
"PagoInteresML": "0",
"PagoCapital": "0",
"VencimientoCuotaPagada": "2022-10-15T03:00:00.000Z",
"CostosPrepagoML": "0",
"Clasificacion": "S/I",
"ServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"PagosPorAplicar": "0",
"EscrowOtros": "0",
"depositoCapital": "0",
"depositoInteres": "0",
"depositoIntpen": "0",
"depositoGascob": "0",
"depositoEscrow": "0",
"saldoAvaCapitalInicial": "0",
"saldoAvaInteresInicial": "0",
"saldoAvaIntPenInicial": "0",
"saldoAvaGascobInicial": "0",
"saldoAvaEscrowInicial": "0",
"saldoAvaCapitalFinal": "0",
"saldoAvaInteresFinal": "0",
"saldoAvaIntPenFinal": "0",
"saldoAvaGascobFinal": "0",
"saldoAvaEscrowFinal": "0",
"ajustePesosInvUf": "0",
"smdAjustePesosInvMl": "0",
"ajustePesosAdpUf": "0",
"ajustePesosAdpMl": "0",
"depositoRespPpgMl": "0",
"depositoRespPpgUf": "0",
"pagoAvanceCapital": "0",
"pagoAvanceInteres": "0",
"pagoAvanceInteresPenal": "0",
"pagoAvanceEscrow": "0",
"pagoAvanceGascob": "0"
},
"1": {
"PlazoRemanente": "46",
"PagoCapitalML": "0",
"EscrowGastosCobranzaML": "0",
"EscrowGastosCobranza": "0",
"FechaMora": "2022-11-15T03:00:00.000Z",
"PrepagoInteresDev": "0",
"EstadoCredito": "INSCRITO",
"VecesSobre30": "0",
"EscrowSeguros": "0",
"CostosPrepago": "0",
"MasterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"VecesSobre90": "0",
"PagoInteresMora": "0",
"IssuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OwnerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"CuotasMorosas": "0",
"VecesSobre180": "0",
"FechaUltimoPago": "2022-11-03T03:00:00.000Z",
"SaldoInsolutoActual": "18828522",
"FechaReporte": "2023-04-06T03:00:00.000Z",
"EscrowOtrosML": "0",
"PrepagoML": "0",
"DtiActual": 63.21,
"MontoDividendo": "691821",
"FechaPublicacion": "2022-11-14T19:50:40.000Z",
"EstadoCobranza": "90",
"Prepago": "0",
"CustodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"UltimaCuotaPagada": "2",
"OperationNumber": "2702",
"PagoInteresMoraML": "0",
"RecupreroCobJudicial": "0",
"VecesSobre60": "0",
"Seasoning": "2",
"CauId": "54040",
"LtvActual": 75.31,
"PrepagoInteresDevML": "0",
"EscrowSegurosML": "0",
"RecupreroCobJudicialML": "0",
"PagoInteres": "0",
"PagoInteresML": "0",
"PagoCapital": "0",
"VencimientoCuotaPagada": "2022-10-15T03:00:00.000Z",
"CostosPrepagoML": "0",
"Clasificacion": "S/I",
"ServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"PagosPorAplicar": "0",
"EscrowOtros": "0",
"depositoCapital": "0",
"depositoInteres": "0",
"depositoIntpen": "0",
"depositoGascob": "0",
"depositoEscrow": "0",
"saldoAvaCapitalInicial": "0",
"saldoAvaInteresInicial": "0",
"saldoAvaIntPenInicial": "0",
"saldoAvaGascobInicial": "0",
"saldoAvaEscrowInicial": "0",
"saldoAvaCapitalFinal": "0",
"saldoAvaInteresFinal": "0",
"saldoAvaIntPenFinal": "0",
"saldoAvaGascobFinal": "0",
"saldoAvaEscrowFinal": "0",
"ajustePesosInvUf": "0",
"smdAjustePesosInvMl": "0",
"ajustePesosAdpUf": "0",
"ajustePesosAdpMl": "0",
"depositoRespPpgMl": "0",
"depositoRespPpgUf": "0",
"pagoAvanceCapital": "0",
"pagoAvanceInteres": "0",
"pagoAvanceInteresPenal": "0",
"pagoAvanceEscrow": "0",
"pagoAvanceGascob": "0"
},
"2": {
"PlazoRemanente": "46",
"PagoCapitalML": "0",
"EscrowGastosCobranzaML": "0",
"EscrowGastosCobranza": "0",
"FechaMora": "2022-11-15T03:00:00.000Z",
"PrepagoInteresDev": "0",
"EstadoCredito": "INSCRITO",
"VecesSobre30": "0",
"EscrowSeguros": "0",
"CostosPrepago": "0",
"MasterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"VecesSobre90": "0",
"PagoInteresMora": "0",
"IssuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OwnerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"CuotasMorosas": "0",
"VecesSobre180": "0",
"FechaUltimoPago": "2022-11-03T03:00:00.000Z",
"SaldoInsolutoActual": "18828522",
"FechaReporte": "2023-04-06T03:00:00.000Z",
"EscrowOtrosML": "0",
"PrepagoML": "0",
"DtiActual": 63.21,
"MontoDividendo": "691821",
"FechaPublicacion": "2022-11-14T19:50:40.000Z",
"EstadoCobranza": "90",
"Prepago": "0",
"CustodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"UltimaCuotaPagada": "2",
"OperationNumber": "2702",
"PagoInteresMoraML": "0",
"RecupreroCobJudicial": "0",
"VecesSobre60": "0",
"Seasoning": "2",
"CauId": "54040",
"LtvActual": 75.31,
"PrepagoInteresDevML": "0",
"EscrowSegurosML": "0",
"RecupreroCobJudicialML": "0",
"PagoInteres": "0",
"PagoInteresML": "0",
"PagoCapital": "0",
"VencimientoCuotaPagada": "2022-10-15T03:00:00.000Z",
"CostosPrepagoML": "0",
"Clasificacion": "S/I",
"ServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"PagosPorAplicar": "0",
"EscrowOtros": "0",
"depositoCapital": "0",
"depositoInteres": "0",
"depositoIntpen": "0",
"depositoGascob": "0",
"depositoEscrow": "0",
"saldoAvaCapitalInicial": "0",
"saldoAvaInteresInicial": "0",
"saldoAvaIntPenInicial": "0",
"saldoAvaGascobInicial": "0",
"saldoAvaEscrowInicial": "0",
"saldoAvaCapitalFinal": "0",
"saldoAvaInteresFinal": "0",
"saldoAvaIntPenFinal": "0",
"saldoAvaGascobFinal": "0",
"saldoAvaEscrowFinal": "0",
"ajustePesosInvUf": "0",
"smdAjustePesosInvMl": "0",
"ajustePesosAdpUf": "0",
"ajustePesosAdpMl": "0",
"depositoRespPpgMl": "0",
"depositoRespPpgUf": "0",
"pagoAvanceCapital": "0",
"pagoAvanceInteres": "0",
"pagoAvanceInteresPenal": "0",
"pagoAvanceEscrow": "0",
"pagoAvanceGascob": "0"
},
"3": {
"PagoCapitalML": "0",
"EscrowGastosCobranzaML": "0",
"EscrowGastosCobranza": "0",
"PrepagoInteresDev": "0",
"EscrowSeguros": "0",
"CostosPrepago": "0",
"MasterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"VecesSobre90": "0",
"VecesSobre180": "0",
"FechaUltimoPago": "2022-11-03T03:00:00.000Z",
"SaldoInsolutoActual": "18828522",
"EscrowOtrosML": "0",
"PrepagoML": "0",
"DtiActual": 63.21,
"FechaPublicacion": "2022-11-14T19:50:40.000Z",
"Prepago": "0",
"CustodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OperationNumber": "2702",
"PagoInteresMoraML": "0",
"RecupreroCobJudicial": "0",
"VecesSobre60": "0",
"Seasoning": "2",
"RecupreroCobJudicialML": "0",
"PagosPorAplicar": "0",
"EscrowOtros": "0",
"PlazoRemanente": "46",
"FechaMora": "2022-11-15T03:00:00.000Z",
"EstadoCredito": "INSCRITO",
"EscrowOtros2": "0",
"VecesSobre30": "0",
"PagoInteresMora": "0",
"IssuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OwnerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"CuotasMorosas": "0",
"FechaReporte": "2023-04-06T03:00:00.000Z",
"MontoDividendo": "691821",
"EstadoCobranza": "90",
"UltimaCuotaPagada": "2",
"CauId": "54040",
"LtvActual": 75.31,
"PrepagoInteresDevML": "0",
"EscrowSegurosML": "0",
"PagoInteres": "0",
"PagoInteresML": "0",
"PagoCapital": "0",
"VencimientoCuotaPagada": "2022-10-15T03:00:00.000Z",
"CostosPrepagoML": "0",
"Clasificacion": "S/I",
"ServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"depositoCapital": "0",
"depositoInteres": "0",
"depositoIntpen": "0",
"depositoGascob": "0",
"depositoEscrow": "0",
"saldoAvaCapitalInicial": "0",
"saldoAvaInteresInicial": "0",
"saldoAvaIntPenInicial": "0",
"saldoAvaGascobInicial": "0",
"saldoAvaEscrowInicial": "0",
"saldoAvaCapitalFinal": "0",
"saldoAvaInteresFinal": "0",
"saldoAvaIntPenFinal": "0",
"saldoAvaGascobFinal": "0",
"saldoAvaEscrowFinal": "0",
"ajustePesosInvUf": "0",
"smdAjustePesosInvMl": "0",
"ajustePesosAdpUf": "0",
"ajustePesosAdpMl": "0",
"depositoRespPpgMl": "0",
"depositoRespPpgUf": "0",
"pagoAvanceCapital": "0",
"pagoAvanceInteres": "0",
"pagoAvanceInteresPenal": "0",
"pagoAvanceEscrow": "0",
"pagoAvanceGascob": "0"
},
"4": {
"PlazoRemanente": "46",
"PagoCapitalML": "0",
"EscrowGastosCobranzaML": "0",
"EscrowGastosCobranza": "0",
"FechaMora": "2022-11-15T03:00:00.000Z",
"PrepagoInteresDev": "0",
"EstadoCredito": "INSCRITO",
"VecesSobre30": "0",
"EscrowSeguros": "0",
"CostosPrepago": "0",
"MasterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"VecesSobre90": "0",
"PagoInteresMora": "0",
"IssuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OwnerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"CuotasMorosas": "0",
"VecesSobre180": "0",
"FechaUltimoPago": "2022-11-03T03:00:00.000Z",
"SaldoInsolutoActual": "18828522",
"FechaReporte": "2023-04-06T03:00:00.000Z",
"EscrowOtrosML": "0",
"PrepagoML": "0",
"DtiActual": 63.21,
"MontoDividendo": "691821",
"FechaPublicacion": "2022-11-14T19:50:40.000Z",
"EstadoCobranza": "90",
"Prepago": "0",
"CustodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"UltimaCuotaPagada": "2",
"OperationNumber": "2702",
"PagoInteresMoraML": "0",
"RecupreroCobJudicial": "0",
"VecesSobre60": "0",
"Seasoning": "2",
"CauId": "54040",
"LtvActual": 75.31,
"PrepagoInteresDevML": "0",
"EscrowSegurosML": "0",
"RecupreroCobJudicialML": "0",
"PagoInteres": "0",
"PagoInteresML": "0",
"PagoCapital": "0",
"VencimientoCuotaPagada": "2022-10-15T03:00:00.000Z",
"CostosPrepagoML": "0",
"Clasificacion": "S/I",
"ServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"PagosPorAplicar": "0",
"EscrowOtros": "0",
"depositoCapital": "0",
"depositoInteres": "0",
"depositoIntpen": "0",
"depositoGascob": "0",
"depositoEscrow": "0",
"saldoAvaCapitalInicial": "0",
"saldoAvaInteresInicial": "0",
"saldoAvaIntPenInicial": "0",
"saldoAvaGascobInicial": "0",
"saldoAvaEscrowInicial": "0",
"saldoAvaCapitalFinal": "0",
"saldoAvaInteresFinal": "0",
"saldoAvaIntPenFinal": "0",
"saldoAvaGascobFinal": "0",
"saldoAvaEscrowFinal": "0",
"ajustePesosInvUf": "0",
"smdAjustePesosInvMl": "0",
"ajustePesosAdpUf": "0",
"ajustePesosAdpMl": "0",
"depositoRespPpgMl": "0",
"depositoRespPpgUf": "0",
"pagoAvanceCapital": "0",
"pagoAvanceInteres": "0",
"pagoAvanceInteresPenal": "0",
"pagoAvanceEscrow": "0",
"pagoAvanceGascob": "0"
}
},
"identificador": "54040",
"tipoIdentificador": "cauId",
"id": 5655043902537728
},
"ambiente": "dev",
"tipoActivo": "cau"
}
Este endpoint devuelve un Activo por su Tipo, Issuer y OperationNumber.
HTTP Request
GET https://api.gatewayzone.online/bcp1/activo/<tipo>/<issuerId>/<operationNumber>
URL Parameters
Parameter | Description |
---|---|
tipo | Tipo del Activo a consultar (ej. cau o mhe) |
issuerId | El ID del Issuer del Activo a consultar |
operationNumber | El operationNumber del Activo a consultar |
Calcular Valor Presente
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activos/consultaValoresPresente")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"fecha\": \"2023-08-11\",\n\t\"activos\": [\n\t\t{\n\t\t\t\"issuerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\"operationNumber\": 2702,\n\t\t\t\"tasaCompra\": 0.5\n\t\t},\n\t\t{\n\t\t\t\"issuerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\"operationNumber\": 877,\n\t\t\t\"tasaCompra\": 0.5\n\t\t},\n\t\t{\n\t\t\t\"issuerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\"operationNumber\": 2936,\n\t\t\t\"tasaCompra\": 0.5\n\t\t}\n\t]\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activos/consultaValoresPresente"
payload = {
"fecha": "2023-08-11",
"numeroCuotaDesde": 2,
"activos": [
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2702,
"tasaCompra": 0.5
},
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 877,
"tasaCompra": 0.5
},
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2936,
"tasaCompra": 0.5
}
]
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/activos/consultaValoresPresente \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"fecha": "2023-08-11",
"activos": [
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2702,
"tasaCompra": 0.5
},
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 877,
"tasaCompra": 0.5
},
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2936,
"tasaCompra": 0.5
}
]
}'
import axios from "axios";
const options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/activos/consultaValoresPresente',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {
fecha: '2023-08-11',
numeroCuotaDesde: 2,
activos: [
{
issuerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
operationNumber: 2702,
tasaCompra: 0.5
},
{
issuerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
operationNumber: 877,
tasaCompra: 0.5
},
{
issuerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
operationNumber: 2936,
tasaCompra: 0.5
}
]
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"activos": [
{
"resultadoIndividual": "OK",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2702,
"tasaCompra": 0.5,
"fecha": "2023-08-11",
"valorPresente": {
"360": 14791239.272937654,
"365": 14777940.198324362
},
"mora": {
"cantidadCuotas": 11,
"monto": 7610031
}
},
{
"resultadoIndividual": "OK",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 877,
"tasaCompra": 0.5,
"fecha": "2023-08-11",
"valorPresente": {
"360": 1824588.8869549402,
"365": 1823046.212618073
},
"mora": {
"cantidadCuotas": 35,
"monto": 6132105
}
},
{
"resultadoIndividual": "OK",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2936,
"tasaCompra": 0.5,
"fecha": "2023-08-11",
"valorPresente": {
"360": 2803416.8202915383,
"365": 2800401.8618133883
},
"mora": {
"cantidadCuotas": 9,
"monto": 1439244
}
}
],
"ambiente": "qa"
}
Este endpoint calcula el Valor Presente junto con la Mora para uno o más Activos, para una fecha y tasa de compra proporcionados. Si no se envía la fecha, se toma la fecha al momento de la consulta. Opcionalmente se puede especificar un número de cuota a partir de la cual considerar en el cálculo.
HTTP Request
POST https://api.gatewayzone.online/bcp1/activos/consultaValoresPresente
Body Parameters
Parameter | Description |
---|---|
fecha | Fecha para la que se desea que se calcule el Valor Presente |
activos | Un arreglo con los activos y tasas de compra para los que se desea consultar (issuerId, operationNumber y tasaCompra) |
numeroCuotaDesde | (Opcional) Número de la cuota a partir de la cual considerar en el cálculo |
Calcular Valor Par
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activos/consultaValoresPar")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"fecha\": \"2023-07-23\",\n\t\"activos\": [\n\t\t{\n\t\t\t\"issuerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\"operationNumber\": 877\n\t\t},\n\t\t{\n\t\t\t\"issuerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\"operationNumber\": 2702\n\t\t}\n\t]\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activos/consultaValoresPar"
payload = {
"fecha": "2023-07-23",
"activos": [
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 877
},
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2702
}
]
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/activos/consultaValoresPar \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"fecha": "2023-07-23",
"activos": [
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 877
},
{
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2702
}
]
}'
import axios from "axios";
const options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/activos/consultaValoresPar',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {
fecha: '2023-07-23',
activos: [
{issuerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774', operationNumber: 877},
{issuerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774', operationNumber: 2702}
]
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"activos": [
{
"resultadoIndividual": "OK",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 877,
"valorPar": 2202483.6774193547,
"mora": {
"cantidadCuotas": 34,
"monto": 5956902
}
},
{
"resultadoIndividual": "OK",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"operationNumber": 2702,
"valorPar": 16758301.709677419,
"mora": {
"cantidadCuotas": 11,
"monto": 7610031
}
}
],
"fecha": "2023-07-23",
"ambiente": "qa"
}
Este endpoint calcula el Valor Par junto con la Mora para uno o más Activos, para una fecha proporcionada.
HTTP Request
POST https://api.gatewayzone.online/bcp1/activos/consultaValoresPar
Body Parameters
Parameter | Description |
---|---|
fecha | Fecha para la que se desea que se calcule el Valor Presente |
activos | Un arreglo con los activos para los que se desea consultar (issuerId, operationNumber) |
Crear Activo
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activo/cau")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"data\": {\n\t\t\"renta\": \"0\",\n\t\t\"paymentReports\": [\n\t\t\t{\n\t\t\t\t\"EscrowOtros\": \"0\",\n\t\t\t\t\"PagosPorAplicar\": \"0\",\n\t\t\t\t\"Clasificacion\": \"S/I\",\n\t\t\t\t\"CostosPrepagoML\": \"0\",\n\t\t\t\t\"VencimientoCuotaPagada\": \"2022-10-15T03:00:00.000Z\",\n\t\t\t\t\"PagoInteresML\": \"0\",\n\t\t\t\t\"PagoCapital\": \"0\",\n\t\t\t\t\"RecupreroCobJudicialML\": \"0\",\n\t\t\t\t\"PagoInteres\": \"0\",\n\t\t\t\t\"EscrowSegurosML\": \"0\",\n\t\t\t\t\"PrepagoInteresDevML\": \"0\",\n\t\t\t\t\"LtvActual\": 75.31,\n\t\t\t\t\"Seasoning\": \"2\",\n\t\t\t\t\"CauId\": \"54040\",\n\t\t\t\t\"RecupreroCobJudicial\": \"0\",\n\t\t\t\t\"VecesSobre60\": \"0\",\n\t\t\t\t\"PagoInteresMoraML\": \"0\",\n\t\t\t\t\"OperationNumber\": \"2702\",\n\t\t\t\t\"UltimaCuotaPagada\": \"2\",\n\t\t\t\t\"Prepago\": \"0\",\n\t\t\t\t\"EstadoCobranza\": \"90\",\n\t\t\t\t\"MontoDividendo\": \"691821\",\n\t\t\t\t\"FechaPublicacion\": \"2022-11-14T19:50:40.000Z\",\n\t\t\t\t\"EscrowOtrosML\": \"0\",\n\t\t\t\t\"PrepagoML\": \"0\",\n\t\t\t\t\"DtiActual\": 63.21,\n\t\t\t\t\"FechaReporte\": \"2022-11-13T03:00:00.000Z\",\n\t\t\t\t\"FechaUltimoPago\": \"2022-11-03T03:00:00.000Z\",\n\t\t\t\t\"SaldoInsolutoActual\": \"18828522\",\n\t\t\t\t\"VecesSobre180\": \"0\",\n\t\t\t\t\"CuotasMorosas\": \"0\",\n\t\t\t\t\"IssuerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\t\"MasterServicerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\t\"ServicerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\t\"OwnerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\t\"CustodyAccountId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\t\t\"PagoInteresMora\": \"0\",\n\t\t\t\t\"VecesSobre90\": \"0\",\n\t\t\t\t\"EscrowSeguros\": \"0\",\n\t\t\t\t\"CostosPrepago\": \"0\",\n\t\t\t\t\"VecesSobre30\": \"0\",\n\t\t\t\t\"EstadoCredito\": \"INSCRITO\",\n\t\t\t\t\"PrepagoInteresDev\": \"0\",\n\t\t\t\t\"EscrowGastosCobranzaML\": \"0\",\n\t\t\t\t\"EscrowGastosCobranza\": \"0\",\n\t\t\t\t\"FechaMora\": \"2022-11-15T03:00:00.000Z\",\n\t\t\t\t\"PagoCapitalML\": \"0\",\n\t\t\t\t\"PlazoRemanente\": \"46\"\n\t\t\t}\n\t\t],\n\t\t\"region\": \"V\",\n\t\t\"files\": [\n\t\t\t{\n\t\t\t\t\"fecha_carga\": \"2022-11-08T11:57:35.589Z\",\n\t\t\t\t\"md5\": \"2ff10226e2b4bc5f1c2990c5ff1996d4\",\n\t\t\t\t\"nombre\": \"AUT_54040_ ACAE_CCVT.PDF\",\n\t\t\t\t\"fileUrl\": \"https://apidd.acfin.cl:9000/archivo/22972\",\n\t\t\t\t\"description\": \"SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Contrato de Compra venta y/o Certificado de Transferencia\\t\\t\\t\",\n\t\t\t\t\"fileExtension\": \"PDF\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"fecha_carga\": \"2022-11-08T11:57:36.712Z\",\n\t\t\t\t\"md5\": \"2ff10226e2b4bc5f1c2990c5ff1996d4\",\n\t\t\t\t\"nombre\": \"AUT_54040_ ACAE_FCAL.PDF\",\n\t\t\t\t\"fileUrl\": \"https://apidd.acfin.cl:9000/archivo/22973\",\n\t\t\t\t\"description\": \"SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Fotocopia Cédula de Identidad, por ambos lados\",\n\t\t\t\t\"fileExtension\": \"PDF\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"fecha_carga\": \"2022-11-08T11:57:37.645Z\",\n\t\t\t\t\"md5\": \"24ad4300fd265d1ee90dba1f8b1d5e56\",\n\t\t\t\t\"nombre\": \"AUT_54040_ ACAE_MCPNAP.PDF\",\n\t\t\t\t\"fileUrl\": \"https://apidd.acfin.cl:9000/archivo/22974\",\n\t\t\t\t\"description\": \"SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Mandato para constituir Prenda Notariado a Favor del Adm. Primario\",\n\t\t\t\t\"fileExtension\": \"PDF\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"fecha_carga\": \"2022-11-08T11:57:37.826Z\",\n\t\t\t\t\"md5\": \"85fd1fb41941ef51055adc8df5578baa\",\n\t\t\t\t\"nombre\": \"AUT_54040_ ACAE_PCAV.PDF\",\n\t\t\t\t\"fileUrl\": \"https://apidd.acfin.cl:9000/archivo/22975\",\n\t\t\t\t\"description\": \"SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - PRENDA - NOTARIADA O CERTIFICADO DE INSCRIPCIONES Y ANOTACIONES VIGENTES (INSCRITO A FAVOR DEL ADM. PRIMARIO)\",\n\t\t\t\t\"fileExtension\": \"PDF\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"fecha_carga\": \"2022-11-08T11:57:39.254Z\",\n\t\t\t\t\"md5\": \"b6b8792e4db9c03ba95b15e48f87ccfc\",\n\t\t\t\t\"nombre\": \"AUT_54040_ACAE_CCCAE.pdf\",\n\t\t\t\t\"fileUrl\": \"https://apidd.acfin.cl:9000/archivo/22976\",\n\t\t\t\t\"description\": \"SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Condiciones generales de cobranza externa y CAE\",\n\t\t\t\t\"fileExtension\": \"pdf\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"fecha_carga\": \"2022-11-08T11:57:40.970Z\",\n\t\t\t\t\"md5\": \"2ff10226e2b4bc5f1c2990c5ff1996d4\",\n\t\t\t\t\"nombre\": \"AUT_54040_ACAE_PCN.PDF\",\n\t\t\t\t\"fileUrl\": \"https://apidd.acfin.cl:9000/archivo/22977\",\n\t\t\t\t\"description\": \"SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Pagaré del crédito - Notariado\",\n\t\t\t\t\"fileExtension\": \"PDF\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"fecha_carga\": \"2022-11-14T09:43:13.193Z\",\n\t\t\t\t\"md5\": \"af1ddfce263fc00c4c6688613e5be8a5\",\n\t\t\t\t\"nombre\": \"AUT_54040_CHDD_CHEU.xlsx\",\n\t\t\t\t\"fileUrl\": \"https://apidd.acfin.cl:9000/archivo/23041\",\n\t\t\t\t\"description\": \"CHECKLIST DUE DILIGENCE - Checklist Etapa 1\",\n\t\t\t\t\"fileExtension\": \"xlsx\"\n\t\t\t}\n\t\t],\n\t\t\"comuna\": \"VALPARAÍSO\",\n\t\t\"responsabilidadPrepago\": \"0\",\n\t\t\"nuevo\": \"USADA\",\n\t\t\"cauId\": \"54040\",\n\t\t\"codigoPais\": \"31642\",\n\t\t\"codigoComuna\": \"109758\",\n\t\t\"ltv\": 75.31,\n\t\t\"patente\": \"HHDB96\",\n\t\t\"modelo\": \"XF 2.0\",\n\t\t\"persona\": \"FEMENINO\",\n\t\t\"numberOfPayments\": \"48\",\n\t\t\"interestRate\": 2.43,\n\t\t\"cargaFinanciera\": \"0\",\n\t\t\"capitalAmount\": \"18828523\",\n\t\t\"issueDate\": \"2022-07-21T03:00:00.000Z\",\n\t\t\"codigoRegion\": \"21157\",\n\t\t\"currency\": \"CLP\",\n\t\t\"downPayment\": \"0\",\n\t\t\"operationNumber\": \"2702\",\n\t\t\"marca\": \"JAGUAR\",\n\t\t\"issuerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\"masterServicerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\"servicerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\"ownerId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\"custodyAccountId\": \"68fbdbbb-0741-4e7c-ab2b-c6c14a97a774\",\n\t\t\"rut\": \"17.248.999-0\",\n\t\t\"nacionalidad\": \"CHILENA\",\n\t\t\"aval\": \"NO\",\n\t\t\"paymentAmount\": \"691821\",\n\t\t\"developmentChart\": [\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"1\",\n\t\t\t\t\"paymentDate\": \"2022-09-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"691821\",\n\t\t\t\t\"amortizationAmount\": \"0\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"2\",\n\t\t\t\t\"paymentDate\": \"2022-10-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"691821\",\n\t\t\t\t\"amortizationAmount\": \"0\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"3\",\n\t\t\t\t\"paymentDate\": \"2022-11-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"553248\",\n\t\t\t\t\"amortizationAmount\": \"138573\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"4\",\n\t\t\t\t\"paymentDate\": \"2022-12-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"454166\",\n\t\t\t\t\"amortizationAmount\": \"237655\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"5\",\n\t\t\t\t\"paymentDate\": \"2023-01-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"463337\",\n\t\t\t\t\"amortizationAmount\": \"228484\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"6\",\n\t\t\t\t\"paymentDate\": \"2023-02-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"457600\",\n\t\t\t\t\"amortizationAmount\": \"234221\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"7\",\n\t\t\t\t\"paymentDate\": \"2023-03-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"408004\",\n\t\t\t\t\"amortizationAmount\": \"283817\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"8\",\n\t\t\t\t\"paymentDate\": \"2023-04-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"444592\",\n\t\t\t\t\"amortizationAmount\": \"247229\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"9\",\n\t\t\t\t\"paymentDate\": \"2023-05-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"424243\",\n\t\t\t\t\"amortizationAmount\": \"267578\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"10\",\n\t\t\t\t\"paymentDate\": \"2023-06-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"431665\",\n\t\t\t\t\"amortizationAmount\": \"260156\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"11\",\n\t\t\t\t\"paymentDate\": \"2023-07-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"411419\",\n\t\t\t\t\"amortizationAmount\": \"280402\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"12\",\n\t\t\t\t\"paymentDate\": \"2023-08-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"418092\",\n\t\t\t\t\"amortizationAmount\": \"273729\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"13\",\n\t\t\t\t\"paymentDate\": \"2023-09-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"411218\",\n\t\t\t\t\"amortizationAmount\": \"280603\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"14\",\n\t\t\t\t\"paymentDate\": \"2023-10-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"391135\",\n\t\t\t\t\"amortizationAmount\": \"300686\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"15\",\n\t\t\t\t\"paymentDate\": \"2023-11-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"396622\",\n\t\t\t\t\"amortizationAmount\": \"295199\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"16\",\n\t\t\t\t\"paymentDate\": \"2023-12-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"376655\",\n\t\t\t\t\"amortizationAmount\": \"315166\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"17\",\n\t\t\t\t\"paymentDate\": \"2024-01-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"381296\",\n\t\t\t\t\"amortizationAmount\": \"310525\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"18\",\n\t\t\t\t\"paymentDate\": \"2024-02-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"373499\",\n\t\t\t\t\"amortizationAmount\": \"318322\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"19\",\n\t\t\t\t\"paymentDate\": \"2024-03-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"341925\",\n\t\t\t\t\"amortizationAmount\": \"349896\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"20\",\n\t\t\t\t\"paymentDate\": \"2024-04-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"356720\",\n\t\t\t\t\"amortizationAmount\": \"335101\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"21\",\n\t\t\t\t\"paymentDate\": \"2024-05-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"337070\",\n\t\t\t\t\"amortizationAmount\": \"354751\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"22\",\n\t\t\t\t\"paymentDate\": \"2024-06-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"339397\",\n\t\t\t\t\"amortizationAmount\": \"352424\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"23\",\n\t\t\t\t\"paymentDate\": \"2024-07-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"319885\",\n\t\t\t\t\"amortizationAmount\": \"371936\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"24\",\n\t\t\t\t\"paymentDate\": \"2024-08-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"321209\",\n\t\t\t\t\"amortizationAmount\": \"370612\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"25\",\n\t\t\t\t\"paymentDate\": \"2024-09-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"311903\",\n\t\t\t\t\"amortizationAmount\": \"379918\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"26\",\n\t\t\t\t\"paymentDate\": \"2024-10-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"292609\",\n\t\t\t\t\"amortizationAmount\": \"399212\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"27\",\n\t\t\t\t\"paymentDate\": \"2024-11-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"292339\",\n\t\t\t\t\"amortizationAmount\": \"399482\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"28\",\n\t\t\t\t\"paymentDate\": \"2024-12-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"273201\",\n\t\t\t\t\"amortizationAmount\": \"418620\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"29\",\n\t\t\t\t\"paymentDate\": \"2025-01-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"271796\",\n\t\t\t\t\"amortizationAmount\": \"420025\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"30\",\n\t\t\t\t\"paymentDate\": \"2025-02-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"261249\",\n\t\t\t\t\"amortizationAmount\": \"430572\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"31\",\n\t\t\t\t\"paymentDate\": \"2025-03-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"226202\",\n\t\t\t\t\"amortizationAmount\": \"465619\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"32\",\n\t\t\t\t\"paymentDate\": \"2025-04-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"238746\",\n\t\t\t\t\"amortizationAmount\": \"453075\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"33\",\n\t\t\t\t\"paymentDate\": \"2025-05-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"220035\",\n\t\t\t\t\"amortizationAmount\": \"471786\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"34\",\n\t\t\t\t\"paymentDate\": \"2025-06-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"215523\",\n\t\t\t\t\"amortizationAmount\": \"476298\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"35\",\n\t\t\t\t\"paymentDate\": \"2025-07-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"196996\",\n\t\t\t\t\"amortizationAmount\": \"494825\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"36\",\n\t\t\t\t\"paymentDate\": \"2025-08-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"191138\",\n\t\t\t\t\"amortizationAmount\": \"500683\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"37\",\n\t\t\t\t\"paymentDate\": \"2025-09-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"178566\",\n\t\t\t\t\"amortizationAmount\": \"513255\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"38\",\n\t\t\t\t\"paymentDate\": \"2025-10-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"160334\",\n\t\t\t\t\"amortizationAmount\": \"531487\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"39\",\n\t\t\t\t\"paymentDate\": \"2025-11-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"152332\",\n\t\t\t\t\"amortizationAmount\": \"539489\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"40\",\n\t\t\t\t\"paymentDate\": \"2025-12-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"134309\",\n\t\t\t\t\"amortizationAmount\": \"557512\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"41\",\n\t\t\t\t\"paymentDate\": \"2026-01-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"124787\",\n\t\t\t\t\"amortizationAmount\": \"567034\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"42\",\n\t\t\t\t\"paymentDate\": \"2026-02-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"110548\",\n\t\t\t\t\"amortizationAmount\": \"581273\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"43\",\n\t\t\t\t\"paymentDate\": \"2026-03-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"86667\",\n\t\t\t\t\"amortizationAmount\": \"605154\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"44\",\n\t\t\t\t\"paymentDate\": \"2026-04-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"80757\",\n\t\t\t\t\"amortizationAmount\": \"611064\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"45\",\n\t\t\t\t\"paymentDate\": \"2026-05-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"63303\",\n\t\t\t\t\"amortizationAmount\": \"628518\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"46\",\n\t\t\t\t\"paymentDate\": \"2026-06-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"49631\",\n\t\t\t\t\"amortizationAmount\": \"642190\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"47\",\n\t\t\t\t\"paymentDate\": \"2026-07-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"32425\",\n\t\t\t\t\"amortizationAmount\": \"659396\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"48\",\n\t\t\t\t\"paymentDate\": \"2026-08-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": \"16851\",\n\t\t\t\t\"amortizationAmount\": \"674970\"\n\t\t\t}\n\t\t],\n\t\t\"valorComercial\": \"25000000\",\n\t\t\"anoFabricacion\": \"2015\",\n\t\t\"valorTasacion\": \"25000000\",\n\t\t\"fechaNacimiento\": \"1989-04-13T03:00:00.000Z\",\n\t\t\"claseVehiculo\": \"AUTOMOVIL\",\n\t\t\"situacionLaboral\": \"S/I\"\n\t},\n\t\"tipoDueDiligence\": \"TIPO A\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activo/cau"
payload = {
"data": {
"renta": "0",
"paymentReports": [
{
"EscrowOtros": "0",
"PagosPorAplicar": "0",
"Clasificacion": "S/I",
"CostosPrepagoML": "0",
"VencimientoCuotaPagada": "2022-10-15T03:00:00.000Z",
"PagoInteresML": "0",
"PagoCapital": "0",
"RecupreroCobJudicialML": "0",
"PagoInteres": "0",
"EscrowSegurosML": "0",
"PrepagoInteresDevML": "0",
"LtvActual": 75.31,
"Seasoning": "2",
"CauId": "54040",
"RecupreroCobJudicial": "0",
"VecesSobre60": "0",
"PagoInteresMoraML": "0",
"OperationNumber": "2702",
"UltimaCuotaPagada": "2",
"Prepago": "0",
"EstadoCobranza": "90",
"MontoDividendo": "691821",
"FechaPublicacion": "2022-11-14T19:50:40.000Z",
"EscrowOtrosML": "0",
"PrepagoML": "0",
"DtiActual": 63.21,
"FechaReporte": "2022-11-13T03:00:00.000Z",
"FechaUltimoPago": "2022-11-03T03:00:00.000Z",
"SaldoInsolutoActual": "18828522",
"VecesSobre180": "0",
"CuotasMorosas": "0",
"IssuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"MasterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"ServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OwnerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"CustodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"PagoInteresMora": "0",
"VecesSobre90": "0",
"EscrowSeguros": "0",
"CostosPrepago": "0",
"VecesSobre30": "0",
"EstadoCredito": "INSCRITO",
"PrepagoInteresDev": "0",
"EscrowGastosCobranzaML": "0",
"EscrowGastosCobranza": "0",
"FechaMora": "2022-11-15T03:00:00.000Z",
"PagoCapitalML": "0",
"PlazoRemanente": "46"
}
],
"region": "V",
"files": [
{
"fecha_carga": "2022-11-08T11:57:35.589Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4",
"nombre": "AUT_54040_ ACAE_CCVT.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22972",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Contrato de Compra venta y/o Certificado de Transferencia ",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-08T11:57:36.712Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4",
"nombre": "AUT_54040_ ACAE_FCAL.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22973",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Fotocopia Cédula de Identidad, por ambos lados",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-08T11:57:37.645Z",
"md5": "24ad4300fd265d1ee90dba1f8b1d5e56",
"nombre": "AUT_54040_ ACAE_MCPNAP.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22974",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Mandato para constituir Prenda Notariado a Favor del Adm. Primario",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-08T11:57:37.826Z",
"md5": "85fd1fb41941ef51055adc8df5578baa",
"nombre": "AUT_54040_ ACAE_PCAV.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22975",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - PRENDA - NOTARIADA O CERTIFICADO DE INSCRIPCIONES Y ANOTACIONES VIGENTES (INSCRITO A FAVOR DEL ADM. PRIMARIO)",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-08T11:57:39.254Z",
"md5": "b6b8792e4db9c03ba95b15e48f87ccfc",
"nombre": "AUT_54040_ACAE_CCCAE.pdf",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22976",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Condiciones generales de cobranza externa y CAE",
"fileExtension": "pdf"
},
{
"fecha_carga": "2022-11-08T11:57:40.970Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4",
"nombre": "AUT_54040_ACAE_PCN.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22977",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Pagaré del crédito - Notariado",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-14T09:43:13.193Z",
"md5": "af1ddfce263fc00c4c6688613e5be8a5",
"nombre": "AUT_54040_CHDD_CHEU.xlsx",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/23041",
"description": "CHECKLIST DUE DILIGENCE - Checklist Etapa 1",
"fileExtension": "xlsx"
}
],
"comuna": "VALPARAÍSO",
"responsabilidadPrepago": "0",
"nuevo": "USADA",
"cauId": "54040",
"codigoPais": "31642",
"codigoComuna": "109758",
"ltv": 75.31,
"patente": "HHDB96",
"modelo": "XF 2.0",
"persona": "FEMENINO",
"numberOfPayments": "48",
"interestRate": 2.43,
"cargaFinanciera": "0",
"capitalAmount": "18828523",
"issueDate": "2022-07-21T03:00:00.000Z",
"codigoRegion": "21157",
"currency": "CLP",
"downPayment": "0",
"operationNumber": "2702",
"marca": "JAGUAR",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"masterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"servicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"ownerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"custodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"rut": "17.248.999-0",
"nacionalidad": "CHILENA",
"aval": "NO",
"paymentAmount": "691821",
"developmentChart": [
{
"paymentNumber": "1",
"paymentDate": "2022-09-15T03:00:00.000Z",
"interestAmount": "691821",
"amortizationAmount": "0"
},
{
"paymentNumber": "2",
"paymentDate": "2022-10-15T03:00:00.000Z",
"interestAmount": "691821",
"amortizationAmount": "0"
},
{
"paymentNumber": "3",
"paymentDate": "2022-11-15T03:00:00.000Z",
"interestAmount": "553248",
"amortizationAmount": "138573"
},
{
"paymentNumber": "4",
"paymentDate": "2022-12-15T03:00:00.000Z",
"interestAmount": "454166",
"amortizationAmount": "237655"
},
{
"paymentNumber": "5",
"paymentDate": "2023-01-15T03:00:00.000Z",
"interestAmount": "463337",
"amortizationAmount": "228484"
},
{
"paymentNumber": "6",
"paymentDate": "2023-02-15T03:00:00.000Z",
"interestAmount": "457600",
"amortizationAmount": "234221"
},
{
"paymentNumber": "7",
"paymentDate": "2023-03-15T03:00:00.000Z",
"interestAmount": "408004",
"amortizationAmount": "283817"
},
{
"paymentNumber": "8",
"paymentDate": "2023-04-15T03:00:00.000Z",
"interestAmount": "444592",
"amortizationAmount": "247229"
},
{
"paymentNumber": "9",
"paymentDate": "2023-05-15T03:00:00.000Z",
"interestAmount": "424243",
"amortizationAmount": "267578"
},
{
"paymentNumber": "10",
"paymentDate": "2023-06-15T03:00:00.000Z",
"interestAmount": "431665",
"amortizationAmount": "260156"
},
{
"paymentNumber": "11",
"paymentDate": "2023-07-15T03:00:00.000Z",
"interestAmount": "411419",
"amortizationAmount": "280402"
},
{
"paymentNumber": "12",
"paymentDate": "2023-08-15T03:00:00.000Z",
"interestAmount": "418092",
"amortizationAmount": "273729"
},
{
"paymentNumber": "13",
"paymentDate": "2023-09-15T03:00:00.000Z",
"interestAmount": "411218",
"amortizationAmount": "280603"
},
{
"paymentNumber": "14",
"paymentDate": "2023-10-15T03:00:00.000Z",
"interestAmount": "391135",
"amortizationAmount": "300686"
},
{
"paymentNumber": "15",
"paymentDate": "2023-11-15T03:00:00.000Z",
"interestAmount": "396622",
"amortizationAmount": "295199"
},
{
"paymentNumber": "16",
"paymentDate": "2023-12-15T03:00:00.000Z",
"interestAmount": "376655",
"amortizationAmount": "315166"
},
{
"paymentNumber": "17",
"paymentDate": "2024-01-15T03:00:00.000Z",
"interestAmount": "381296",
"amortizationAmount": "310525"
},
{
"paymentNumber": "18",
"paymentDate": "2024-02-15T03:00:00.000Z",
"interestAmount": "373499",
"amortizationAmount": "318322"
},
{
"paymentNumber": "19",
"paymentDate": "2024-03-15T03:00:00.000Z",
"interestAmount": "341925",
"amortizationAmount": "349896"
},
{
"paymentNumber": "20",
"paymentDate": "2024-04-15T03:00:00.000Z",
"interestAmount": "356720",
"amortizationAmount": "335101"
},
{
"paymentNumber": "21",
"paymentDate": "2024-05-15T03:00:00.000Z",
"interestAmount": "337070",
"amortizationAmount": "354751"
},
{
"paymentNumber": "22",
"paymentDate": "2024-06-15T03:00:00.000Z",
"interestAmount": "339397",
"amortizationAmount": "352424"
},
{
"paymentNumber": "23",
"paymentDate": "2024-07-15T03:00:00.000Z",
"interestAmount": "319885",
"amortizationAmount": "371936"
},
{
"paymentNumber": "24",
"paymentDate": "2024-08-15T03:00:00.000Z",
"interestAmount": "321209",
"amortizationAmount": "370612"
},
{
"paymentNumber": "25",
"paymentDate": "2024-09-15T03:00:00.000Z",
"interestAmount": "311903",
"amortizationAmount": "379918"
},
{
"paymentNumber": "26",
"paymentDate": "2024-10-15T03:00:00.000Z",
"interestAmount": "292609",
"amortizationAmount": "399212"
},
{
"paymentNumber": "27",
"paymentDate": "2024-11-15T03:00:00.000Z",
"interestAmount": "292339",
"amortizationAmount": "399482"
},
{
"paymentNumber": "28",
"paymentDate": "2024-12-15T03:00:00.000Z",
"interestAmount": "273201",
"amortizationAmount": "418620"
},
{
"paymentNumber": "29",
"paymentDate": "2025-01-15T03:00:00.000Z",
"interestAmount": "271796",
"amortizationAmount": "420025"
},
{
"paymentNumber": "30",
"paymentDate": "2025-02-15T03:00:00.000Z",
"interestAmount": "261249",
"amortizationAmount": "430572"
},
{
"paymentNumber": "31",
"paymentDate": "2025-03-15T03:00:00.000Z",
"interestAmount": "226202",
"amortizationAmount": "465619"
},
{
"paymentNumber": "32",
"paymentDate": "2025-04-15T03:00:00.000Z",
"interestAmount": "238746",
"amortizationAmount": "453075"
},
{
"paymentNumber": "33",
"paymentDate": "2025-05-15T03:00:00.000Z",
"interestAmount": "220035",
"amortizationAmount": "471786"
},
{
"paymentNumber": "34",
"paymentDate": "2025-06-15T03:00:00.000Z",
"interestAmount": "215523",
"amortizationAmount": "476298"
},
{
"paymentNumber": "35",
"paymentDate": "2025-07-15T03:00:00.000Z",
"interestAmount": "196996",
"amortizationAmount": "494825"
},
{
"paymentNumber": "36",
"paymentDate": "2025-08-15T03:00:00.000Z",
"interestAmount": "191138",
"amortizationAmount": "500683"
},
{
"paymentNumber": "37",
"paymentDate": "2025-09-15T03:00:00.000Z",
"interestAmount": "178566",
"amortizationAmount": "513255"
},
{
"paymentNumber": "38",
"paymentDate": "2025-10-15T03:00:00.000Z",
"interestAmount": "160334",
"amortizationAmount": "531487"
},
{
"paymentNumber": "39",
"paymentDate": "2025-11-15T03:00:00.000Z",
"interestAmount": "152332",
"amortizationAmount": "539489"
},
{
"paymentNumber": "40",
"paymentDate": "2025-12-15T03:00:00.000Z",
"interestAmount": "134309",
"amortizationAmount": "557512"
},
{
"paymentNumber": "41",
"paymentDate": "2026-01-15T03:00:00.000Z",
"interestAmount": "124787",
"amortizationAmount": "567034"
},
{
"paymentNumber": "42",
"paymentDate": "2026-02-15T03:00:00.000Z",
"interestAmount": "110548",
"amortizationAmount": "581273"
},
{
"paymentNumber": "43",
"paymentDate": "2026-03-15T03:00:00.000Z",
"interestAmount": "86667",
"amortizationAmount": "605154"
},
{
"paymentNumber": "44",
"paymentDate": "2026-04-15T03:00:00.000Z",
"interestAmount": "80757",
"amortizationAmount": "611064"
},
{
"paymentNumber": "45",
"paymentDate": "2026-05-15T03:00:00.000Z",
"interestAmount": "63303",
"amortizationAmount": "628518"
},
{
"paymentNumber": "46",
"paymentDate": "2026-06-15T03:00:00.000Z",
"interestAmount": "49631",
"amortizationAmount": "642190"
},
{
"paymentNumber": "47",
"paymentDate": "2026-07-15T03:00:00.000Z",
"interestAmount": "32425",
"amortizationAmount": "659396"
},
{
"paymentNumber": "48",
"paymentDate": "2026-08-15T03:00:00.000Z",
"interestAmount": "16851",
"amortizationAmount": "674970"
}
],
"valorComercial": "25000000",
"anoFabricacion": "2015",
"valorTasacion": "25000000",
"fechaNacimiento": "1989-04-13T03:00:00.000Z",
"claseVehiculo": "AUTOMOVIL",
"situacionLaboral": "S/I"
},
"tipoDueDiligence": "TIPO A"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/activo/cau \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"data": {
"renta": "0",
"paymentReports": [
{
"EscrowOtros": "0",
"PagosPorAplicar": "0",
"Clasificacion": "S/I",
"CostosPrepagoML": "0",
"VencimientoCuotaPagada": "2022-10-15T03:00:00.000Z",
"PagoInteresML": "0",
"PagoCapital": "0",
"RecupreroCobJudicialML": "0",
"PagoInteres": "0",
"EscrowSegurosML": "0",
"PrepagoInteresDevML": "0",
"LtvActual": 75.31,
"Seasoning": "2",
"CauId": "54040",
"RecupreroCobJudicial": "0",
"VecesSobre60": "0",
"PagoInteresMoraML": "0",
"OperationNumber": "2702",
"UltimaCuotaPagada": "2",
"Prepago": "0",
"EstadoCobranza": "90",
"MontoDividendo": "691821",
"FechaPublicacion": "2022-11-14T19:50:40.000Z",
"EscrowOtrosML": "0",
"PrepagoML": "0",
"DtiActual": 63.21,
"FechaReporte": "2022-11-13T03:00:00.000Z",
"FechaUltimoPago": "2022-11-03T03:00:00.000Z",
"SaldoInsolutoActual": "18828522",
"VecesSobre180": "0",
"CuotasMorosas": "0",
"IssuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"MasterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"ServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"OwnerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"CustodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"PagoInteresMora": "0",
"VecesSobre90": "0",
"EscrowSeguros": "0",
"CostosPrepago": "0",
"VecesSobre30": "0",
"EstadoCredito": "INSCRITO",
"PrepagoInteresDev": "0",
"EscrowGastosCobranzaML": "0",
"EscrowGastosCobranza": "0",
"FechaMora": "2022-11-15T03:00:00.000Z",
"PagoCapitalML": "0",
"PlazoRemanente": "46"
}
],
"region": "V",
"files": [
{
"fecha_carga": "2022-11-08T11:57:35.589Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4",
"nombre": "AUT_54040_ ACAE_CCVT.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22972",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Contrato de Compra venta y/o Certificado de Transferencia\t\t\t",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-08T11:57:36.712Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4",
"nombre": "AUT_54040_ ACAE_FCAL.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22973",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Fotocopia Cédula de Identidad, por ambos lados",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-08T11:57:37.645Z",
"md5": "24ad4300fd265d1ee90dba1f8b1d5e56",
"nombre": "AUT_54040_ ACAE_MCPNAP.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22974",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Mandato para constituir Prenda Notariado a Favor del Adm. Primario",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-08T11:57:37.826Z",
"md5": "85fd1fb41941ef51055adc8df5578baa",
"nombre": "AUT_54040_ ACAE_PCAV.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22975",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - PRENDA - NOTARIADA O CERTIFICADO DE INSCRIPCIONES Y ANOTACIONES VIGENTES (INSCRITO A FAVOR DEL ADM. PRIMARIO)",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-08T11:57:39.254Z",
"md5": "b6b8792e4db9c03ba95b15e48f87ccfc",
"nombre": "AUT_54040_ACAE_CCCAE.pdf",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22976",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Condiciones generales de cobranza externa y CAE",
"fileExtension": "pdf"
},
{
"fecha_carga": "2022-11-08T11:57:40.970Z",
"md5": "2ff10226e2b4bc5f1c2990c5ff1996d4",
"nombre": "AUT_54040_ACAE_PCN.PDF",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/22977",
"description": "SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Pagaré del crédito - Notariado",
"fileExtension": "PDF"
},
{
"fecha_carga": "2022-11-14T09:43:13.193Z",
"md5": "af1ddfce263fc00c4c6688613e5be8a5",
"nombre": "AUT_54040_CHDD_CHEU.xlsx",
"fileUrl": "https://apidd.acfin.cl:9000/archivo/23041",
"description": "CHECKLIST DUE DILIGENCE - Checklist Etapa 1",
"fileExtension": "xlsx"
}
],
"comuna": "VALPARAÍSO",
"responsabilidadPrepago": "0",
"nuevo": "USADA",
"cauId": "54040",
"codigoPais": "31642",
"codigoComuna": "109758",
"ltv": 75.31,
"patente": "HHDB96",
"modelo": "XF 2.0",
"persona": "FEMENINO",
"numberOfPayments": "48",
"interestRate": 2.43,
"cargaFinanciera": "0",
"capitalAmount": "18828523",
"issueDate": "2022-07-21T03:00:00.000Z",
"codigoRegion": "21157",
"currency": "CLP",
"downPayment": "0",
"operationNumber": "2702",
"marca": "JAGUAR",
"issuerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"masterServicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"servicerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"ownerId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"custodyAccountId": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774",
"rut": "17.248.999-0",
"nacionalidad": "CHILENA",
"aval": "NO",
"paymentAmount": "691821",
"developmentChart": [
{
"paymentNumber": "1",
"paymentDate": "2022-09-15T03:00:00.000Z",
"interestAmount": "691821",
"amortizationAmount": "0"
},
{
"paymentNumber": "2",
"paymentDate": "2022-10-15T03:00:00.000Z",
"interestAmount": "691821",
"amortizationAmount": "0"
},
{
"paymentNumber": "3",
"paymentDate": "2022-11-15T03:00:00.000Z",
"interestAmount": "553248",
"amortizationAmount": "138573"
},
{
"paymentNumber": "4",
"paymentDate": "2022-12-15T03:00:00.000Z",
"interestAmount": "454166",
"amortizationAmount": "237655"
},
{
"paymentNumber": "5",
"paymentDate": "2023-01-15T03:00:00.000Z",
"interestAmount": "463337",
"amortizationAmount": "228484"
},
{
"paymentNumber": "6",
"paymentDate": "2023-02-15T03:00:00.000Z",
"interestAmount": "457600",
"amortizationAmount": "234221"
},
{
"paymentNumber": "7",
"paymentDate": "2023-03-15T03:00:00.000Z",
"interestAmount": "408004",
"amortizationAmount": "283817"
},
{
"paymentNumber": "8",
"paymentDate": "2023-04-15T03:00:00.000Z",
"interestAmount": "444592",
"amortizationAmount": "247229"
},
{
"paymentNumber": "9",
"paymentDate": "2023-05-15T03:00:00.000Z",
"interestAmount": "424243",
"amortizationAmount": "267578"
},
{
"paymentNumber": "10",
"paymentDate": "2023-06-15T03:00:00.000Z",
"interestAmount": "431665",
"amortizationAmount": "260156"
},
{
"paymentNumber": "11",
"paymentDate": "2023-07-15T03:00:00.000Z",
"interestAmount": "411419",
"amortizationAmount": "280402"
},
{
"paymentNumber": "12",
"paymentDate": "2023-08-15T03:00:00.000Z",
"interestAmount": "418092",
"amortizationAmount": "273729"
},
{
"paymentNumber": "13",
"paymentDate": "2023-09-15T03:00:00.000Z",
"interestAmount": "411218",
"amortizationAmount": "280603"
},
{
"paymentNumber": "14",
"paymentDate": "2023-10-15T03:00:00.000Z",
"interestAmount": "391135",
"amortizationAmount": "300686"
},
{
"paymentNumber": "15",
"paymentDate": "2023-11-15T03:00:00.000Z",
"interestAmount": "396622",
"amortizationAmount": "295199"
},
{
"paymentNumber": "16",
"paymentDate": "2023-12-15T03:00:00.000Z",
"interestAmount": "376655",
"amortizationAmount": "315166"
},
{
"paymentNumber": "17",
"paymentDate": "2024-01-15T03:00:00.000Z",
"interestAmount": "381296",
"amortizationAmount": "310525"
},
{
"paymentNumber": "18",
"paymentDate": "2024-02-15T03:00:00.000Z",
"interestAmount": "373499",
"amortizationAmount": "318322"
},
{
"paymentNumber": "19",
"paymentDate": "2024-03-15T03:00:00.000Z",
"interestAmount": "341925",
"amortizationAmount": "349896"
},
{
"paymentNumber": "20",
"paymentDate": "2024-04-15T03:00:00.000Z",
"interestAmount": "356720",
"amortizationAmount": "335101"
},
{
"paymentNumber": "21",
"paymentDate": "2024-05-15T03:00:00.000Z",
"interestAmount": "337070",
"amortizationAmount": "354751"
},
{
"paymentNumber": "22",
"paymentDate": "2024-06-15T03:00:00.000Z",
"interestAmount": "339397",
"amortizationAmount": "352424"
},
{
"paymentNumber": "23",
"paymentDate": "2024-07-15T03:00:00.000Z",
"interestAmount": "319885",
"amortizationAmount": "371936"
},
{
"paymentNumber": "24",
"paymentDate": "2024-08-15T03:00:00.000Z",
"interestAmount": "321209",
"amortizationAmount": "370612"
},
{
"paymentNumber": "25",
"paymentDate": "2024-09-15T03:00:00.000Z",
"interestAmount": "311903",
"amortizationAmount": "379918"
},
{
"paymentNumber": "26",
"paymentDate": "2024-10-15T03:00:00.000Z",
"interestAmount": "292609",
"amortizationAmount": "399212"
},
{
"paymentNumber": "27",
"paymentDate": "2024-11-15T03:00:00.000Z",
"interestAmount": "292339",
"amortizationAmount": "399482"
},
{
"paymentNumber": "28",
"paymentDate": "2024-12-15T03:00:00.000Z",
"interestAmount": "273201",
"amortizationAmount": "418620"
},
{
"paymentNumber": "29",
"paymentDate": "2025-01-15T03:00:00.000Z",
"interestAmount": "271796",
"amortizationAmount": "420025"
},
{
"paymentNumber": "30",
"paymentDate": "2025-02-15T03:00:00.000Z",
"interestAmount": "261249",
"amortizationAmount": "430572"
},
{
"paymentNumber": "31",
"paymentDate": "2025-03-15T03:00:00.000Z",
"interestAmount": "226202",
"amortizationAmount": "465619"
},
{
"paymentNumber": "32",
"paymentDate": "2025-04-15T03:00:00.000Z",
"interestAmount": "238746",
"amortizationAmount": "453075"
},
{
"paymentNumber": "33",
"paymentDate": "2025-05-15T03:00:00.000Z",
"interestAmount": "220035",
"amortizationAmount": "471786"
},
{
"paymentNumber": "34",
"paymentDate": "2025-06-15T03:00:00.000Z",
"interestAmount": "215523",
"amortizationAmount": "476298"
},
{
"paymentNumber": "35",
"paymentDate": "2025-07-15T03:00:00.000Z",
"interestAmount": "196996",
"amortizationAmount": "494825"
},
{
"paymentNumber": "36",
"paymentDate": "2025-08-15T03:00:00.000Z",
"interestAmount": "191138",
"amortizationAmount": "500683"
},
{
"paymentNumber": "37",
"paymentDate": "2025-09-15T03:00:00.000Z",
"interestAmount": "178566",
"amortizationAmount": "513255"
},
{
"paymentNumber": "38",
"paymentDate": "2025-10-15T03:00:00.000Z",
"interestAmount": "160334",
"amortizationAmount": "531487"
},
{
"paymentNumber": "39",
"paymentDate": "2025-11-15T03:00:00.000Z",
"interestAmount": "152332",
"amortizationAmount": "539489"
},
{
"paymentNumber": "40",
"paymentDate": "2025-12-15T03:00:00.000Z",
"interestAmount": "134309",
"amortizationAmount": "557512"
},
{
"paymentNumber": "41",
"paymentDate": "2026-01-15T03:00:00.000Z",
"interestAmount": "124787",
"amortizationAmount": "567034"
},
{
"paymentNumber": "42",
"paymentDate": "2026-02-15T03:00:00.000Z",
"interestAmount": "110548",
"amortizationAmount": "581273"
},
{
"paymentNumber": "43",
"paymentDate": "2026-03-15T03:00:00.000Z",
"interestAmount": "86667",
"amortizationAmount": "605154"
},
{
"paymentNumber": "44",
"paymentDate": "2026-04-15T03:00:00.000Z",
"interestAmount": "80757",
"amortizationAmount": "611064"
},
{
"paymentNumber": "45",
"paymentDate": "2026-05-15T03:00:00.000Z",
"interestAmount": "63303",
"amortizationAmount": "628518"
},
{
"paymentNumber": "46",
"paymentDate": "2026-06-15T03:00:00.000Z",
"interestAmount": "49631",
"amortizationAmount": "642190"
},
{
"paymentNumber": "47",
"paymentDate": "2026-07-15T03:00:00.000Z",
"interestAmount": "32425",
"amortizationAmount": "659396"
},
{
"paymentNumber": "48",
"paymentDate": "2026-08-15T03:00:00.000Z",
"interestAmount": "16851",
"amortizationAmount": "674970"
}
],
"valorComercial": "25000000",
"anoFabricacion": "2015",
"valorTasacion": "25000000",
"fechaNacimiento": "1989-04-13T03:00:00.000Z",
"claseVehiculo": "AUTOMOVIL",
"situacionLaboral": "S/I"
},
"tipoDueDiligence": "TIPO A"
}'
import axios from "axios";
const options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/activo/cau',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {
data: {
renta: '0',
paymentReports: [
{
EscrowOtros: '0',
PagosPorAplicar: '0',
Clasificacion: 'S/I',
CostosPrepagoML: '0',
VencimientoCuotaPagada: '2022-10-15T03:00:00.000Z',
PagoInteresML: '0',
PagoCapital: '0',
RecupreroCobJudicialML: '0',
PagoInteres: '0',
EscrowSegurosML: '0',
PrepagoInteresDevML: '0',
LtvActual: 75.31,
Seasoning: '2',
CauId: '54040',
RecupreroCobJudicial: '0',
VecesSobre60: '0',
PagoInteresMoraML: '0',
OperationNumber: '2702',
UltimaCuotaPagada: '2',
Prepago: '0',
EstadoCobranza: '90',
MontoDividendo: '691821',
FechaPublicacion: '2022-11-14T19:50:40.000Z',
EscrowOtrosML: '0',
PrepagoML: '0',
DtiActual: 63.21,
FechaReporte: '2022-11-13T03:00:00.000Z',
FechaUltimoPago: '2022-11-03T03:00:00.000Z',
SaldoInsolutoActual: '18828522',
VecesSobre180: '0',
CuotasMorosas: '0',
IssuerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
MasterServicerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
ServicerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
OwnerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
CustodyAccountId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
PagoInteresMora: '0',
VecesSobre90: '0',
EscrowSeguros: '0',
CostosPrepago: '0',
VecesSobre30: '0',
EstadoCredito: 'INSCRITO',
PrepagoInteresDev: '0',
EscrowGastosCobranzaML: '0',
EscrowGastosCobranza: '0',
FechaMora: '2022-11-15T03:00:00.000Z',
PagoCapitalML: '0',
PlazoRemanente: '46'
}
],
region: 'V',
files: [
{
fecha_carga: '2022-11-08T11:57:35.589Z',
md5: '2ff10226e2b4bc5f1c2990c5ff1996d4',
nombre: 'AUT_54040_ ACAE_CCVT.PDF',
fileUrl: 'https://apidd.acfin.cl:9000/archivo/22972',
description: 'SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Contrato de Compra venta y/o Certificado de Transferencia ',
fileExtension: 'PDF'
},
{
fecha_carga: '2022-11-08T11:57:36.712Z',
md5: '2ff10226e2b4bc5f1c2990c5ff1996d4',
nombre: 'AUT_54040_ ACAE_FCAL.PDF',
fileUrl: 'https://apidd.acfin.cl:9000/archivo/22973',
description: 'SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Fotocopia Cédula de Identidad, por ambos lados',
fileExtension: 'PDF'
},
{
fecha_carga: '2022-11-08T11:57:37.645Z',
md5: '24ad4300fd265d1ee90dba1f8b1d5e56',
nombre: 'AUT_54040_ ACAE_MCPNAP.PDF',
fileUrl: 'https://apidd.acfin.cl:9000/archivo/22974',
description: 'SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Mandato para constituir Prenda Notariado a Favor del Adm. Primario',
fileExtension: 'PDF'
},
{
fecha_carga: '2022-11-08T11:57:37.826Z',
md5: '85fd1fb41941ef51055adc8df5578baa',
nombre: 'AUT_54040_ ACAE_PCAV.PDF',
fileUrl: 'https://apidd.acfin.cl:9000/archivo/22975',
description: 'SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - PRENDA - NOTARIADA O CERTIFICADO DE INSCRIPCIONES Y ANOTACIONES VIGENTES (INSCRITO A FAVOR DEL ADM. PRIMARIO)',
fileExtension: 'PDF'
},
{
fecha_carga: '2022-11-08T11:57:39.254Z',
md5: 'b6b8792e4db9c03ba95b15e48f87ccfc',
nombre: 'AUT_54040_ACAE_CCCAE.pdf',
fileUrl: 'https://apidd.acfin.cl:9000/archivo/22976',
description: 'SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Condiciones generales de cobranza externa y CAE',
fileExtension: 'pdf'
},
{
fecha_carga: '2022-11-08T11:57:40.970Z',
md5: '2ff10226e2b4bc5f1c2990c5ff1996d4',
nombre: 'AUT_54040_ACAE_PCN.PDF',
fileUrl: 'https://apidd.acfin.cl:9000/archivo/22977',
description: 'SET DE CRÉDITO AUTOMOTRIZ - EXISTENCIA - Pagaré del crédito - Notariado',
fileExtension: 'PDF'
},
{
fecha_carga: '2022-11-14T09:43:13.193Z',
md5: 'af1ddfce263fc00c4c6688613e5be8a5',
nombre: 'AUT_54040_CHDD_CHEU.xlsx',
fileUrl: 'https://apidd.acfin.cl:9000/archivo/23041',
description: 'CHECKLIST DUE DILIGENCE - Checklist Etapa 1',
fileExtension: 'xlsx'
}
],
comuna: 'VALPARAÍSO',
responsabilidadPrepago: '0',
nuevo: 'USADA',
cauId: '54040',
codigoPais: '31642',
codigoComuna: '109758',
ltv: 75.31,
patente: 'HHDB96',
modelo: 'XF 2.0',
persona: 'FEMENINO',
numberOfPayments: '48',
interestRate: 2.43,
cargaFinanciera: '0',
capitalAmount: '18828523',
issueDate: '2022-07-21T03:00:00.000Z',
codigoRegion: '21157',
currency: 'CLP',
downPayment: '0',
operationNumber: '2702',
marca: 'JAGUAR',
issuerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
masterServicerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
servicerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
ownerId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
custodyAccountId: '68fbdbbb-0741-4e7c-ab2b-c6c14a97a774',
rut: '17.248.999-0',
nacionalidad: 'CHILENA',
aval: 'NO',
paymentAmount: '691821',
developmentChart: [
{
paymentNumber: '1',
paymentDate: '2022-09-15T03:00:00.000Z',
interestAmount: '691821',
amortizationAmount: '0'
},
{
paymentNumber: '2',
paymentDate: '2022-10-15T03:00:00.000Z',
interestAmount: '691821',
amortizationAmount: '0'
},
{
paymentNumber: '3',
paymentDate: '2022-11-15T03:00:00.000Z',
interestAmount: '553248',
amortizationAmount: '138573'
},
{
paymentNumber: '4',
paymentDate: '2022-12-15T03:00:00.000Z',
interestAmount: '454166',
amortizationAmount: '237655'
},
{
paymentNumber: '5',
paymentDate: '2023-01-15T03:00:00.000Z',
interestAmount: '463337',
amortizationAmount: '228484'
},
{
paymentNumber: '6',
paymentDate: '2023-02-15T03:00:00.000Z',
interestAmount: '457600',
amortizationAmount: '234221'
},
{
paymentNumber: '7',
paymentDate: '2023-03-15T03:00:00.000Z',
interestAmount: '408004',
amortizationAmount: '283817'
},
{
paymentNumber: '8',
paymentDate: '2023-04-15T03:00:00.000Z',
interestAmount: '444592',
amortizationAmount: '247229'
},
{
paymentNumber: '9',
paymentDate: '2023-05-15T03:00:00.000Z',
interestAmount: '424243',
amortizationAmount: '267578'
},
{
paymentNumber: '10',
paymentDate: '2023-06-15T03:00:00.000Z',
interestAmount: '431665',
amortizationAmount: '260156'
},
{
paymentNumber: '11',
paymentDate: '2023-07-15T03:00:00.000Z',
interestAmount: '411419',
amortizationAmount: '280402'
},
{
paymentNumber: '12',
paymentDate: '2023-08-15T03:00:00.000Z',
interestAmount: '418092',
amortizationAmount: '273729'
},
{
paymentNumber: '13',
paymentDate: '2023-09-15T03:00:00.000Z',
interestAmount: '411218',
amortizationAmount: '280603'
},
{
paymentNumber: '14',
paymentDate: '2023-10-15T03:00:00.000Z',
interestAmount: '391135',
amortizationAmount: '300686'
},
{
paymentNumber: '15',
paymentDate: '2023-11-15T03:00:00.000Z',
interestAmount: '396622',
amortizationAmount: '295199'
},
{
paymentNumber: '16',
paymentDate: '2023-12-15T03:00:00.000Z',
interestAmount: '376655',
amortizationAmount: '315166'
},
{
paymentNumber: '17',
paymentDate: '2024-01-15T03:00:00.000Z',
interestAmount: '381296',
amortizationAmount: '310525'
},
{
paymentNumber: '18',
paymentDate: '2024-02-15T03:00:00.000Z',
interestAmount: '373499',
amortizationAmount: '318322'
},
{
paymentNumber: '19',
paymentDate: '2024-03-15T03:00:00.000Z',
interestAmount: '341925',
amortizationAmount: '349896'
},
{
paymentNumber: '20',
paymentDate: '2024-04-15T03:00:00.000Z',
interestAmount: '356720',
amortizationAmount: '335101'
},
{
paymentNumber: '21',
paymentDate: '2024-05-15T03:00:00.000Z',
interestAmount: '337070',
amortizationAmount: '354751'
},
{
paymentNumber: '22',
paymentDate: '2024-06-15T03:00:00.000Z',
interestAmount: '339397',
amortizationAmount: '352424'
},
{
paymentNumber: '23',
paymentDate: '2024-07-15T03:00:00.000Z',
interestAmount: '319885',
amortizationAmount: '371936'
},
{
paymentNumber: '24',
paymentDate: '2024-08-15T03:00:00.000Z',
interestAmount: '321209',
amortizationAmount: '370612'
},
{
paymentNumber: '25',
paymentDate: '2024-09-15T03:00:00.000Z',
interestAmount: '311903',
amortizationAmount: '379918'
},
{
paymentNumber: '26',
paymentDate: '2024-10-15T03:00:00.000Z',
interestAmount: '292609',
amortizationAmount: '399212'
},
{
paymentNumber: '27',
paymentDate: '2024-11-15T03:00:00.000Z',
interestAmount: '292339',
amortizationAmount: '399482'
},
{
paymentNumber: '28',
paymentDate: '2024-12-15T03:00:00.000Z',
interestAmount: '273201',
amortizationAmount: '418620'
},
{
paymentNumber: '29',
paymentDate: '2025-01-15T03:00:00.000Z',
interestAmount: '271796',
amortizationAmount: '420025'
},
{
paymentNumber: '30',
paymentDate: '2025-02-15T03:00:00.000Z',
interestAmount: '261249',
amortizationAmount: '430572'
},
{
paymentNumber: '31',
paymentDate: '2025-03-15T03:00:00.000Z',
interestAmount: '226202',
amortizationAmount: '465619'
},
{
paymentNumber: '32',
paymentDate: '2025-04-15T03:00:00.000Z',
interestAmount: '238746',
amortizationAmount: '453075'
},
{
paymentNumber: '33',
paymentDate: '2025-05-15T03:00:00.000Z',
interestAmount: '220035',
amortizationAmount: '471786'
},
{
paymentNumber: '34',
paymentDate: '2025-06-15T03:00:00.000Z',
interestAmount: '215523',
amortizationAmount: '476298'
},
{
paymentNumber: '35',
paymentDate: '2025-07-15T03:00:00.000Z',
interestAmount: '196996',
amortizationAmount: '494825'
},
{
paymentNumber: '36',
paymentDate: '2025-08-15T03:00:00.000Z',
interestAmount: '191138',
amortizationAmount: '500683'
},
{
paymentNumber: '37',
paymentDate: '2025-09-15T03:00:00.000Z',
interestAmount: '178566',
amortizationAmount: '513255'
},
{
paymentNumber: '38',
paymentDate: '2025-10-15T03:00:00.000Z',
interestAmount: '160334',
amortizationAmount: '531487'
},
{
paymentNumber: '39',
paymentDate: '2025-11-15T03:00:00.000Z',
interestAmount: '152332',
amortizationAmount: '539489'
},
{
paymentNumber: '40',
paymentDate: '2025-12-15T03:00:00.000Z',
interestAmount: '134309',
amortizationAmount: '557512'
},
{
paymentNumber: '41',
paymentDate: '2026-01-15T03:00:00.000Z',
interestAmount: '124787',
amortizationAmount: '567034'
},
{
paymentNumber: '42',
paymentDate: '2026-02-15T03:00:00.000Z',
interestAmount: '110548',
amortizationAmount: '581273'
},
{
paymentNumber: '43',
paymentDate: '2026-03-15T03:00:00.000Z',
interestAmount: '86667',
amortizationAmount: '605154'
},
{
paymentNumber: '44',
paymentDate: '2026-04-15T03:00:00.000Z',
interestAmount: '80757',
amortizationAmount: '611064'
},
{
paymentNumber: '45',
paymentDate: '2026-05-15T03:00:00.000Z',
interestAmount: '63303',
amortizationAmount: '628518'
},
{
paymentNumber: '46',
paymentDate: '2026-06-15T03:00:00.000Z',
interestAmount: '49631',
amortizationAmount: '642190'
},
{
paymentNumber: '47',
paymentDate: '2026-07-15T03:00:00.000Z',
interestAmount: '32425',
amortizationAmount: '659396'
},
{
paymentNumber: '48',
paymentDate: '2026-08-15T03:00:00.000Z',
interestAmount: '16851',
amortizationAmount: '674970'
}
],
valorComercial: '25000000',
anoFabricacion: '2015',
valorTasacion: '25000000',
fechaNacimiento: '1989-04-13T03:00:00.000Z',
claseVehiculo: 'AUTOMOVIL',
situacionLaboral: 'S/I'
},
tipoDueDiligence: 'TIPO A'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"id": 5683908364468224,
"ambiente": "dev",
"tipoActivo": "cau"
}
La data de un activo debe cumplir con uno de los siguientes esquemas:
CAU
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"renta": {
"type": "string"
},
"paymentReports": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"EscrowOtros": {
"type": "string"
},
"PagosPorAplicar": {
"type": "string"
},
"Clasificacion": {
"type": "string"
},
"CostosPrepagoML": {
"type": "string"
},
"VencimientoCuotaPagada": {
"type": "string"
},
"PagoInteresML": {
"type": "string"
},
"PagoCapital": {
"type": "string"
},
"RecupreroCobJudicialML": {
"type": "string"
},
"PagoInteres": {
"type": "string"
},
"EscrowSegurosML": {
"type": "string"
},
"PrepagoInteresDevML": {
"type": "string"
},
"LtvActual": {
"type": "number"
},
"Seasoning": {
"type": "string"
},
"CauId": {
"type": "string"
},
"RecupreroCobJudicial": {
"type": "string"
},
"VecesSobre60": {
"type": "string"
},
"PagoInteresMoraML": {
"type": "string"
},
"OperationNumber": {
"type": "string"
},
"UltimaCuotaPagada": {
"type": "string"
},
"Prepago": {
"type": "string"
},
"EstadoCobranza": {
"type": "string"
},
"MontoDividendo": {
"type": "string"
},
"FechaPublicacion": {
"type": "string"
},
"EscrowOtrosML": {
"type": "string"
},
"PrepagoML": {
"type": "string"
},
"DtiActual": {
"type": "number"
},
"FechaReporte": {
"type": "string"
},
"FechaUltimoPago": {
"type": "string"
},
"SaldoInsolutoActual": {
"type": "string"
},
"VecesSobre180": {
"type": "string"
},
"CuotasMorosas": {
"type": "string"
},
"IssuerId": {
"type": "string"
},
"MasterServicerId": {
"type": "string"
},
"ServicerId": {
"type": "string"
},
"OwnerId": {
"type": "string"
},
"CustodyAccountId": {
"type": "string"
},
"PagoInteresMora": {
"type": "string"
},
"VecesSobre90": {
"type": "string"
},
"EscrowSeguros": {
"type": "string"
},
"CostosPrepago": {
"type": "string"
},
"VecesSobre30": {
"type": "string"
},
"EstadoCredito": {
"type": "string"
},
"PrepagoInteresDev": {
"type": "string"
},
"EscrowGastosCobranzaML": {
"type": "string"
},
"EscrowGastosCobranza": {
"type": "string"
},
"FechaMora": {
"type": "string"
},
"PagoCapitalML": {
"type": "string"
},
"PlazoRemanente": {
"type": "string"
}
},
"required": [
"EscrowOtros",
"PagosPorAplicar",
"Clasificacion",
"CostosPrepagoML",
"VencimientoCuotaPagada",
"PagoInteresML",
"PagoCapital",
"RecupreroCobJudicialML",
"PagoInteres",
"EscrowSegurosML",
"PrepagoInteresDevML",
"LtvActual",
"Seasoning",
"CauId",
"RecupreroCobJudicial",
"VecesSobre60",
"PagoInteresMoraML",
"OperationNumber",
"UltimaCuotaPagada",
"Prepago",
"EstadoCobranza",
"MontoDividendo",
"FechaPublicacion",
"EscrowOtrosML",
"PrepagoML",
"DtiActual",
"FechaReporte",
"FechaUltimoPago",
"SaldoInsolutoActual",
"VecesSobre180",
"CuotasMorosas",
"IssuerId",
"MasterServicerId",
"ServicerId",
"OwnerId",
"CustodyAccountId",
"PagoInteresMora",
"VecesSobre90",
"EscrowSeguros",
"CostosPrepago",
"VecesSobre30",
"EstadoCredito",
"PrepagoInteresDev",
"EscrowGastosCobranzaML",
"EscrowGastosCobranza",
"FechaMora",
"PagoCapitalML",
"PlazoRemanente"
]
}
]
},
"region": {
"type": "string"
},
"files": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"fecha_carga": {
"type": "string"
},
"md5": {
"type": "string"
},
"nombre": {
"type": "string"
},
"fileUrl": {
"type": "string"
},
"description": {
"type": "string"
},
"fileExtension": {
"type": "string"
}
},
"required": [
"fecha_carga",
"md5",
"nombre",
"fileUrl",
"description",
"fileExtension"
]
}
]
},
"comuna": {
"type": "string"
},
"responsabilidadPrepago": {
"type": "string"
},
"nuevo": {
"type": "string"
},
"cauId": {
"type": "string"
},
"codigoPais": {
"type": "string"
},
"codigoComuna": {
"type": "string"
},
"ltv": {
"type": "number"
},
"patente": {
"type": "string"
},
"modelo": {
"type": "string"
},
"persona": {
"type": "string"
},
"numberOfPayments": {
"type": "string"
},
"interestRate": {
"type": "number"
},
"cargaFinanciera": {
"type": "string"
},
"capitalAmount": {
"type": "string"
},
"issueDate": {
"type": "string"
},
"codigoRegion": {
"type": "string"
},
"currency": {
"type": "string"
},
"downPayment": {
"type": "string"
},
"operationNumber": {
"type": "string"
},
"marca": {
"type": "string"
},
"issuerId": {
"type": "string"
},
"masterServicerId": {
"type": "string"
},
"servicerId": {
"type": "string"
},
"ownerId": {
"type": "string"
},
"custodyAccountId": {
"type": "string"
},
"rut": {
"type": "string"
},
"nacionalidad": {
"type": "string"
},
"aval": {
"type": "string"
},
"paymentAmount": {
"type": "string"
},
"developmentChart": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"paymentNumber": {
"type": "string"
},
"paymentDate": {
"type": "string"
},
"interestAmount": {
"type": "string"
},
"amortizationAmount": {
"type": "string"
}
},
"required": [
"paymentNumber",
"paymentDate",
"interestAmount",
"amortizationAmount"
]
}
]
},
"valorComercial": {
"type": "string"
},
"anoFabricacion": {
"type": "string"
},
"valorTasacion": {
"type": "string"
},
"fechaNacimiento": {
"type": "string"
},
"claseVehiculo": {
"type": "string"
},
"situacionLaboral": {
"type": "string"
}
},
"required": [
"renta",
"paymentReports",
"region",
"files",
"comuna",
"responsabilidadPrepago",
"nuevo",
"cauId",
"codigoPais",
"codigoComuna",
"ltv",
"patente",
"modelo",
"persona",
"numberOfPayments",
"interestRate",
"cargaFinanciera",
"capitalAmount",
"issueDate",
"codigoRegion",
"currency",
"downPayment",
"operationNumber",
"marca",
"issuerId",
"masterServicerId",
"servicerId",
"ownerId",
"custodyAccountId",
"rut",
"nacionalidad",
"aval",
"paymentAmount",
"developmentChart",
"valorComercial",
"anoFabricacion",
"valorTasacion",
"fechaNacimiento",
"claseVehiculo",
"situacionLaboral"
]
}
MHE
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"properties": {
"renta": {
"type": "string"
},
"paymentReports": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"ajustes": {
"type": "string"
},
"intVencidoImpago": {
"type": "number"
},
"EscrowOtros": {
"type": "string"
},
"PagosPorAplicar": {
"type": "string"
},
"Clasificacion": {
"type": "string"
},
"CostosPrepagoML": {
"type": "string"
},
"VencimientoCuotaPagada": {
"type": "string"
},
"PagoInteresML": {
"type": "string"
},
"PagoCapital": {
"type": "string"
},
"RecupreroCobJudicialML": {
"type": "string"
},
"PagoInteres": {
"type": "string"
},
"EscrowSegurosML": {
"type": "string"
},
"PrepagoInteresDevML": {
"type": "string"
},
"LtvActual": {
"type": "number"
},
"Seasoning": {
"type": "string"
},
"RecupreroCobJudicial": {
"type": "string"
},
"VecesSobre60": {
"type": "string"
},
"PagoInteresMoraML": {
"type": "string"
},
"OperationNumber": {
"type": "string"
},
"UltimaCuotaPagada": {
"type": "string"
},
"Prepago": {
"type": "string"
},
"FechaPublicacion": {
"type": "string"
},
"EscrowOtrosML": {
"type": "string"
},
"PrepagoML": {
"type": "string"
},
"DtiActual": {
"type": "number"
},
"valorPar": {
"type": "number"
},
"FechaReporte": {
"type": "string"
},
"FechaUltimoPago": {
"type": "string"
},
"SaldoInsolutoActual": {
"type": "number"
},
"VecesSobre180": {
"type": "string"
},
"CuotasMorosas": {
"type": "string"
},
"mheId": {
"type": "string"
},
"ajustes_ML": {
"type": "string"
},
"IssuerId": {
"type": "string"
},
"MasterServicerId": {
"type": "string"
},
"ServicerId": {
"type": "string"
},
"OwnerId": {
"type": "string"
},
"CustodyAccountId": {
"type": "string"
},
"PagoInteresMora": {
"type": "string"
},
"VecesSobre90": {
"type": "string"
},
"intDevengado": {
"type": "number"
},
"EscrowSeguros": {
"type": "string"
},
"CostosPrepago": {
"type": "string"
},
"VecesSobre30": {
"type": "string"
},
"EstadoCredito": {
"type": "string"
},
"PrepagoInteresDev": {
"type": "string"
},
"FechaMora": {
"type": "string"
},
"reembolso_ADP_ML": {
"type": "string"
},
"reembolso_ADP": {
"type": "string"
},
"PagoCapitalML": {
"type": "string"
},
"PlazoRemanente": {
"type": "string"
}
},
"required": [
"ajustes",
"intVencidoImpago",
"EscrowOtros",
"PagosPorAplicar",
"Clasificacion",
"CostosPrepagoML",
"VencimientoCuotaPagada",
"PagoInteresML",
"PagoCapital",
"RecupreroCobJudicialML",
"PagoInteres",
"EscrowSegurosML",
"PrepagoInteresDevML",
"LtvActual",
"Seasoning",
"RecupreroCobJudicial",
"VecesSobre60",
"PagoInteresMoraML",
"OperationNumber",
"UltimaCuotaPagada",
"Prepago",
"FechaPublicacion",
"EscrowOtrosML",
"PrepagoML",
"DtiActual",
"valorPar",
"FechaReporte",
"FechaUltimoPago",
"SaldoInsolutoActual",
"VecesSobre180",
"CuotasMorosas",
"mheId",
"ajustes_ML",
"IssuerId",
"MasterServicerId",
"ServicerId",
"OwnerId",
"CustodyAccountId",
"PagoInteresMora",
"VecesSobre90",
"intDevengado",
"EscrowSeguros",
"CostosPrepago",
"VecesSobre30",
"EstadoCredito",
"PrepagoInteresDev",
"FechaMora",
"reembolso_ADP_ML",
"reembolso_ADP",
"PagoCapitalML",
"PlazoRemanente"
]
}
]
},
"region": {
"type": "string"
},
"files": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"fecha_carga": {
"type": "string"
},
"md5": {
"type": "string"
},
"nombre": {
"type": "string"
},
"fileUrl": {
"type": "string"
},
"description": {
"type": "string"
},
"fileExtension": {
"type": "string"
}
},
"required": [
"fecha_carga",
"md5",
"nombre",
"fileUrl",
"description",
"fileExtension"
]
}
]
},
"comuna": {
"type": "string"
},
"responsabilidadPrepago": {
"type": "string"
},
"codigoPais": {
"type": "string"
},
"codigoComuna": {
"type": "string"
},
"ltv": {
"type": "number"
},
"nueva": {
"type": "string"
},
"persona": {
"type": "string"
},
"numberOfPayments": {
"type": "string"
},
"inmobiliaria": {
"type": "string"
},
"interestRate": {
"type": "number"
},
"cargaFinanciera": {
"type": "number"
},
"capitalAmount": {
"type": "string"
},
"issueDate": {
"type": "string"
},
"destino": {
"type": "string"
},
"codigoRegion": {
"type": "string"
},
"currency": {
"type": "string"
},
"downPayment": {
"type": "string"
},
"operationNumber": {
"type": "string"
},
"mheId": {
"type": "string"
},
"TipoActivo": {
"type": "string"
},
"issuerId": {
"type": "string"
},
"masterServicerId": {
"type": "string"
},
"servicerId": {
"type": "string"
},
"ownerId": {
"type": "string"
},
"custodyAccountId": {
"type": "string"
},
"rut": {
"type": "string"
},
"nacionalidad": {
"type": "string"
},
"aval": {
"type": "string"
},
"paymentAmount": {
"type": "number"
},
"developmentChart": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"paymentNumber": {
"type": "string"
},
"paymentDate": {
"type": "string"
},
"interestAmount": {
"type": "number"
},
"amortizationAmount": {
"type": "number"
}
},
"required": [
"paymentNumber",
"paymentDate",
"interestAmount",
"amortizationAmount"
]
}
]
},
"valorComercial": {
"type": "string"
},
"valorTasacion": {
"type": "number"
},
"fechaNacimiento": {
"type": "string"
},
"situacionLaboral": {
"type": "string"
}
},
"required": [
"renta",
"paymentReports",
"region",
"files",
"comuna",
"responsabilidadPrepago",
"codigoPais",
"codigoComuna",
"ltv",
"nueva",
"persona",
"numberOfPayments",
"inmobiliaria",
"interestRate",
"cargaFinanciera",
"capitalAmount",
"issueDate",
"destino",
"codigoRegion",
"currency",
"downPayment",
"operationNumber",
"mheId",
"TipoActivo",
"issuerId",
"masterServicerId",
"servicerId",
"ownerId",
"custodyAccountId",
"rut",
"nacionalidad",
"aval",
"paymentAmount",
"developmentChart",
"valorComercial",
"valorTasacion",
"fechaNacimiento",
"situacionLaboral"
]
}
Este endpoint permite crear un nuevo Activo en el blockchain.
HTTP Request
POST https://api.gatewayzone.online/bcp1/activo/<tipo>
URL Parameters
Parameter | Description |
---|---|
tipo | Tipo del Activo a crear (ej. cau o mhe) |
Body JSON Parameters
Parameter | Description |
---|---|
data | Una estructura JSON que cumpla con uno de los esquemas especificados a la derecha, debajo de los comandos de ejemplo |
tipoDueDiligence | El Tipo de DueDiligence realizado |
Agregar dividendo cedido a Activo
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activo/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/4804/dividendoCedido")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\t\"numeroCuota\": 1,\n\t\t\"fechaVencimiento\": \"2024-02-15\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activo/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/4804/dividendoCedido"
payload = {
"numeroCuota": 1,
"fechaVencimiento": "2024-02-15"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/activo/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/4804/dividendoCedido \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"numeroCuota": 1,
"fechaVencimiento": "2024-02-15"
}'
import axios from "axios";
const options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/activo/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/4804/dividendoCedido',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {numeroCuota: 1, fechaVencimiento: '2024-02-15'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"dividendosCedidos": [
{
"numeroCuota": 1,
"fechaVencimiento": "2024-02-15"
}
],
"ambiente": "qa"
}
Este endpoint permite informar de un nuevo Dividendo Cedido a un Activo.
HTTP Request
PUT https://api.gatewayzone.online/bcp1/activo/<issuerId>/<operationNumber>/dividendoCedido
URL Parameters
Parameter | Description |
---|---|
issuerId | El ID del Issuer del Activo al que asociar el nuevo Dividendo Cedido |
operationNumber | El operationNumber del Activo al que asociar el nuevo Dividendo Cedido |
Body JSON Parameters
Parameter | Description |
---|---|
numeroCuota | Número de la cuota cedida. |
fechaVencimiento | Fecha de vencimiento de la cuota cedida. |
Agregar nueva Tasa a Activo
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activo/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/4804/tasa")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\t\"tipoTasa\": \"TASA_MERCADO\",\n\t\t\"fecha\": \"2024-02-15\",\n\t\t\"tasa\": \"0.234\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activo/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/4804/tasa"
payload = {
"tipoTasa": "TASA_MERCADO",
"fecha": "2024-02-15",
"tasa": "0.234"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/activo/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/4804/tasa \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"tipoTasa": "TASA_MERCADO",
"fecha": "2024-02-15",
"tasa": "0.234"
}'
import axios from "axios";
const options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/activo/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/4804/tasa',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {tipoTasa: "TASA_MERCADO", fecha: '2024-02-15', tasa: "0.234"}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"tasa": {
"activoId": 5640850134532096,
"fecha": "2024-02-15",
"tipo": "TASA_MERCADO",
"valor": 0.234,
"timestamp": "2024-08-16T15:33:20.921Z",
"id": 5676752605020160
},
"ambiente": "qa"
}
Este endpoint permite crear una nueva Tasa de Valorización para un Activo.
HTTP Request
PUT https://api.gatewayzone.online/bcp1/activo/<issuerId>/<operationNumber>/tasa
URL Parameters
Parameter | Description |
---|---|
issuerId | El ID del Issuer del Activo al que asociar una nueva Tasa |
operationNumber | El operationNumber del Activo al que asociar una nueva Tasa |
Body JSON Parameters
Parameter | Description |
---|---|
tipoTasa | Uno de los siguientes valores: TASA_COMPRA o TASA_MERCADO. |
fecha | Fecha para la que se asocia la nueva Tasa al Activo en formato: YYYY-MM-DD. |
tasa | Valor de la tasa. El separador de decimales debe ser punto y no debe venir el separador de miles. |
Modificar la tabla de desarrollo de un Activo
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activo/cau/2702/developmentChart")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"data\": [\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"1\",\n\t\t\t\t\"paymentDate\": \"2022-09-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": 691821,\n\t\t\t\t\"amortizationAmount\": 0,\n\t\t\t\t\"fechaDeRemesa\": \"20220915\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"2\",\n\t\t\t\t\"paymentDate\": \"2022-10-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": 691821,\n\t\t\t\t\"amortizationAmount\": 0,\n\t\t\t\t\"fechaDeRemesa\": \"20221015\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"3\",\n\t\t\t\t\"paymentDate\": \"2022-11-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": 553248,\n\t\t\t\t\"amortizationAmount\": 138573,\n\t\t\t\t\"fechaDeRemesa\": \"20221115\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"4\",\n\t\t\t\t\"paymentDate\": \"2022-12-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": 454166,\n\t\t\t\t\"amortizationAmount\": 237655,\n\t\t\t\t\"fechaDeRemesa\": \"20221215\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"5\",\n\t\t\t\t\"paymentDate\": \"2023-01-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": 463337,\n\t\t\t\t\"amortizationAmount\": 228484,\n\t\t\t\t\"fechaDeRemesa\": \"20230115\"\n\t\t\t},\n\t\t\t{\n\t\t\t\t\"paymentNumber\": \"6\",\n\t\t\t\t\"paymentDate\": \"2023-02-15T03:00:00.000Z\",\n\t\t\t\t\"interestAmount\": 457600,\n\t\t\t\t\"amortizationAmount\": 234221,\n\t\t\t\t\"fechaDeRemesa\": \"20230215\"\n\t\t\t}\n\t\t]\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activo/cau/2702/developmentChart"
payload = {"data": [
{
"paymentNumber": "1",
"paymentDate": "2022-09-15T03:00:00.000Z",
"interestAmount": 691821,
"amortizationAmount": 0,
"fechaDeRemesa": "20220915"
},
{
"paymentNumber": "2",
"paymentDate": "2022-10-15T03:00:00.000Z",
"interestAmount": 691821,
"amortizationAmount": 0,
"fechaDeRemesa": "20221015"
},
{
"paymentNumber": "3",
"paymentDate": "2022-11-15T03:00:00.000Z",
"interestAmount": 553248,
"amortizationAmount": 138573,
"fechaDeRemesa": "20221115"
},
{
"paymentNumber": "4",
"paymentDate": "2022-12-15T03:00:00.000Z",
"interestAmount": 454166,
"amortizationAmount": 237655,
"fechaDeRemesa": "20221215"
},
{
"paymentNumber": "5",
"paymentDate": "2023-01-15T03:00:00.000Z",
"interestAmount": 463337,
"amortizationAmount": 228484,
"fechaDeRemesa": "20230115"
},
{
"paymentNumber": "6",
"paymentDate": "2023-02-15T03:00:00.000Z",
"interestAmount": 457600,
"amortizationAmount": 234221,
"fechaDeRemesa": "20230215"
}
]}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("PUT", url, json=payload, headers=headers)
print(response.text)
curl --request PUT \
--url https://api.gatewayzone.online/bcp1/activo/cau/2702/developmentChart \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"data": [
{
"paymentNumber": "1",
"paymentDate": "2022-09-15T03:00:00.000Z",
"interestAmount": 691821,
"amortizationAmount": 0,
"fechaDeRemesa": "20220915"
},
{
"paymentNumber": "2",
"paymentDate": "2022-10-15T03:00:00.000Z",
"interestAmount": 691821,
"amortizationAmount": 0,
"fechaDeRemesa": "20221015"
},
{
"paymentNumber": "3",
"paymentDate": "2022-11-15T03:00:00.000Z",
"interestAmount": 553248,
"amortizationAmount": 138573,
"fechaDeRemesa": "20221115"
},
{
"paymentNumber": "4",
"paymentDate": "2022-12-15T03:00:00.000Z",
"interestAmount": 454166,
"amortizationAmount": 237655,
"fechaDeRemesa": "20221215"
},
{
"paymentNumber": "5",
"paymentDate": "2023-01-15T03:00:00.000Z",
"interestAmount": 463337,
"amortizationAmount": 228484,
"fechaDeRemesa": "20230115"
},
{
"paymentNumber": "6",
"paymentDate": "2023-02-15T03:00:00.000Z",
"interestAmount": 457600,
"amortizationAmount": 234221,
"fechaDeRemesa": "20230215"
}
]
}'
var axios = require("axios").default;
var options = {
method: 'PUT',
url: 'https://api.gatewayzone.online/bcp1/activo/cau/2702/developmentChart',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {
data: [
{
paymentNumber: '1',
paymentDate: '2022-09-15T03:00:00.000Z',
interestAmount: 691821,
amortizationAmount: 0,
fechaDeRemesa: "20220915"
},
{
paymentNumber: '2',
paymentDate: '2022-10-15T03:00:00.000Z',
interestAmount: 691821,
amortizationAmount: 0,
fechaDeRemesa: "20221015"
},
{
paymentNumber: '3',
paymentDate: '2022-11-15T03:00:00.000Z',
interestAmount: 553248,
amortizationAmount: 138573,
fechaDeRemesa: "20221115"
},
{
paymentNumber: '4',
paymentDate: '2022-12-15T03:00:00.000Z',
interestAmount: 454166,
amortizationAmount: 237655,
fechaDeRemesa: "20221215"
},
{
paymentNumber: '5',
paymentDate: '2023-01-15T03:00:00.000Z',
interestAmount: 463337,
amortizationAmount: 228484,
fechaDeRemesa: "20230115"
},
{
paymentNumber: '6',
paymentDate: '2023-02-15T03:00:00.000Z',
interestAmount: 457600,
amortizationAmount: 234221,
fechaDeRemesa: "20230215"
}
]
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"itemsDevelopmentChart": 6,
"ambiente": "dev",
"tipoActivo": "cau"
}
La data de la tabla de desarrollo de un activo debe cumplir con uno de los siguientes esquemas:
CAU
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": [
{
"type": "object",
"properties": {
"paymentNumber": {
"type": "string"
},
"paymentDate": {
"type": "string"
},
"interestAmount": {
"type": "number"
},
"amortizationAmount": {
"type": "number"
},
"fechaDeRemesa": {
"type": "string"
}
},
"required": [
"paymentNumber",
"paymentDate",
"interestAmount",
"amortizationAmount",
"fechaDeRemesa"
]
}
]
}
MHE
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "array",
"items": [
{
"type": "object",
"properties": {
"paymentNumber": {
"type": "string"
},
"paymentDate": {
"type": "string"
},
"interestAmount": {
"type": "number"
},
"amortizationAmount": {
"type": "number"
},
"fechaDeRemesa": {
"type": "string"
}
},
"required": [
"paymentNumber",
"paymentDate",
"interestAmount",
"amortizationAmount",
"fechaDePago",
"fechaDeInforme",
"fechaDeRemesa"
]
}
]
}
Este endpoint permite modificar la tabla de desarrollo de un Activo.
HTTP Request
PUT https://api.gatewayzone.online/bcp1/activo/<tipo>/<issuerId>/<operationNumber>/developmentChart
URL Parameters
Parameter | Description |
---|---|
tipo | Tipo del Activo a modificar (ej. cau o mhe) |
issuerId | El ID del Issuer del Activo a modificar |
operationNumber | El operationNumber del Activo a modificar |
Body JSON Parameters
Parameter | Description |
---|---|
data | Una estructura JSON que cumpla con uno de los esquemas especificados a la derecha, debajo de los comandos de ejemplo |
Modificar Activo
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"atributo\": \"custodyAccountId\",\n\t\"valor\": \"5679518840782848\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702"
payload = {
"atributo": "custodyAccountId",
"valor": "5679518840782848"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("PATCH", url, json=payload, headers=headers)
print(response.text)
curl --request PATCH \
--url https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702 \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"atributo": "custodyAccountId",
"valor": "5679518840782848"
}'
var axios = require("axios").default;
var options = {
method: 'PATCH',
url: 'https://api.gatewayzone.online/bcp1/activo/cau/68fbdbbb-0741-4e7c-ab2b-c6c14a97a774/2702',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {atributo: 'facturable', valor: 'false', fecha: '2024-02-15'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"fechaDesliste": "2024-02-15T00:00:00.000Z",
"ambiente": "prod",
"tipoActivo": "cau"
}
Este endpoint permite modificar el valor de uno de los siguientes atributos del encabezado de un Activo: masterServicerId, servicerId, ownerId, custodyAccountId, facturable y fechaPrimeraCuotaCedida.
HTTP Request
PATCH https://api.gatewayzone.online/bcp1/activo/<tipo>/<issuerId>/<operationNumber>
URL Parameters
Parameter | Description |
---|---|
tipo | Tipo del Activo a modificar (ej. cau o mhe) |
issuerId | El ID del Issuer del Activo a modificar |
operationNumber | El operationNumber del Activo a modificar |
Body JSON Parameters
Parameter | Description |
---|---|
atributo | Nombre del atributo a modificarse. Puede ser uno de los siguientes: masterServicerId, servicerId, ownerId, custodyAccountId, facturable y fechaPrimeraCuotaCedida. Si se establece el atributo facturable a false el activo ya no será incluido en el cálculo del Billing. |
valor | Valor con el que debe quedar el atributo especificado. En el caso de los IDs se verificará que exista la entidad referenciada. En el caso de facturable se aceptan los valores true o false. En el caso de fechaPrimeraCuotaCedida, valor debe traer una fecha válida en el formato YYYY-MM-DD. Si es custodyAccountId, debe además venir el atributo numeroCuota. |
fecha | Si atributo es facturable y valor es false, este atributo opcional fija la fecha desde cuando se deslista de la facturación al activo en cuestión. Si no se pasa este parámetro, se asume como fecha la fecha para que se ejecuta el comando. |
numeroCuota | En caso de ser un cambio de custodyAccount, debe venir este atributo con el número de la cuota desde la que se considera traspasado el Activo hacia el nuevo custodyAccount. |
Issuer
Obtener todos los Issuers
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/issuers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/issuers"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/issuers \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/issuers',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"issuers": [
{
"nombre": "4 Vientos",
"nombreCorto": "4 Vientos",
"id": "0141520f-58cf-4c00-8be4-a987a2537dc8"
},
{
"nombre": "3 Oaks",
"nombreCorto": "3 Oaks",
"id": "04a65af4-9f19-4b98-8ad4-4f2a35d33a17"
},
{
"nombre": "Hipotecaria Concreces S.A.",
"nombreCorto": "Concreces",
"id": "05fde64f-8fe2-4c56-a6c8-7fd609f5020a"
},
{
"nombre": "Xepelin",
"nombreCorto": "Xepelin",
"id": "1c6282d9-84cf-4bd7-8944-a03c6ce4e156"
},
{
"nombre": "Central Hipotecaria",
"nombreCorto": "Central Hipotecaria",
"id": "54d04c04-4c89-4b1f-a14f-517e0b9cd342"
},
{
"nombre": "Autofidem",
"nombreCorto": "Autofidem",
"id": "6584c7cd-8c22-445a-80d3-733a6a6b7b8e"
},
{
"nombre": "Unidad Créditos S.A.",
"nombreCorto": "Unidad Créditos",
"id": "68fbdbbb-0741-4e7c-ab2b-c6c14a97a774"
},
{
"nombre": "Larraín Vial Servicios Financieros Limitada",
"nombreCorto": "Larraín Vial",
"id": "6a6a3afc-f6fa-49cd-b0e8-3582030f1ac4"
},
{
"nombre": "Pacifico",
"nombreCorto": "Pacifico",
"id": "847d37b6-3be5-49ce-b360-f7f07cbf9f94"
},
{
"nombre": "Administradora de Mutuos Hipotecarios MyV S.A.",
"nombreCorto": "MyV",
"id": "8b102b04-47bc-4965-a9c2-8608896561d8"
},
{
"nombre": "Evoluciona",
"nombreCorto": "Evoluciona",
"id": "dfa91001-d6d8-417c-9312-add51df51dba"
},
{
"nombre": "San Pedro",
"nombreCorto": "San Pedro",
"id": "e4b55765-838f-473d-8da5-099738360ca7"
},
{
"nombre": "Nuevo Capital",
"nombreCorto": "Nuevo Capital",
"id": "ebbf5dac-06fc-41aa-84db-ccb0e9403800"
}
],
"ambiente": "dev"
}
Este endpoint devuelve todos los Issuers.
HTTP Request
GET https://api.gatewayzone.online/bcp1/issuers
Obtener un Issuer determinado
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/issuer/0141520f-58cf-4c00-8be4-a987a2537dc8")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/issuer/0141520f-58cf-4c00-8be4-a987a2537dc8"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/issuer/0141520f-58cf-4c00-8be4-a987a2537dc8 \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/issuer/0141520f-58cf-4c00-8be4-a987a2537dc8',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"issuer": {
"nombre": "4 Vientos",
"nombreCorto": "4 Vientos",
"rut": "99999999-K"
},
"ambiente": "dev"
}
Este endpoint devuelve un Issuer por su ID.
HTTP Request
GET https://api.gatewayzone.online/bcp1/issuer/<issuerId>
URL Parameters
Parameter | Description |
---|---|
issuerId | El ID del Issuer a consultar |
Crear Issuer
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/issuer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"codigo\": \"2\",\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/issuer"
payload = {
"codigo": "2",
"nombre": "prueba 2",
"nombreCorto": "prueba2",
"rut": "99999999-K"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/issuer \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"codigo": "2",
"nombre": "prueba 2",
"nombreCorto": "prueba2",
"rut": "99999999-K"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/issuer',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {codigo: '2', nombre: 'prueba 2', nombreCorto: 'prueba2', rut: '99999999-K'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"id": "2",
"ambiente": "dev"
}
Este endpoint permite crear un nuevo Issuer.
HTTP Request
POST https://api.gatewayzone.online/bcp1/issuer
Body JSON Parameters
Parameter | Description |
---|---|
codigo | Código identificador del Issuer |
nombre | Nombre del Issuer |
nombreCorto | Nombre corto del Issuer |
Actualizar Issuer
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/issuer/2")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/issuer/2"
payload = {
"nombre": "prueba 2",
"nombreCorto": "prueba2",
"rut": "99999999-K"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/issuer/2 \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"nombre": "prueba 2",
"nombreCorto": "prueba2",
"rut": "99999999-K"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/issuer/2',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {nombre: 'prueba 2', nombreCorto: 'prueba2', rut: '99999999-K'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"issuer": {
"nombre": "prueba 2",
"nombreCorto": "prueba2",
"rut": "99999999-K"
},
"ambiente": "dev"
}
Este endpoint permite actualizar un Issuer.
HTTP Request
PUT https://api.gatewayzone.online/bcp1/issuer/<issuerId>
URL Parameters
Parameter | Description |
---|---|
issuerId | El ID del Issuer a actualizar |
Body JSON Parameters
Parameter | Description |
---|---|
nombre | Nombre del Issuer |
nombreCorto | Nombre corto del Issuer |
rut | Rut del Issuer |
MasterServicer
Obtener todos los MasterServicers
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/masterServicers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/masterServicers"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/masterServicers \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/masterServicers',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"masterServicers": [
{
"nombre": "Acfin S. A.",
"nombreCorto": "Acfin",
"id": 5665567713263616
},
{
"nombre": "prueba 1",
"nombreCorto": "prueba1",
"id": 5684337525653504
}
],
"ambiente": "dev"
}
Este endpoint devuelve todos los MasterServicers.
HTTP Request
GET https://api.gatewayzone.online/bcp1/masterServicers
Obtener un MasterServicer determinado
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/masterServicer/5665567713263616")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/masterServicer/5665567713263616"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/masterServicer/5665567713263616 \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/masterServicer/5665567713263616',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"masterServicer": {
"nombre": "Acfin S. A.",
"nombreCorto": "Acfin"
},
"ambiente": "dev"
}
Este endpoint devuelve un MasterServicer por su ID.
HTTP Request
GET https://api.gatewayzone.online/bcp1/masterServicer/<masterServicerId>
URL Parameters
Parameter | Description |
---|---|
masterServicerId | El ID del MasterServicer a consultar |
Crear MasterServicer
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/masterServicer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/masterServicer"
payload = {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/masterServicer \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/masterServicer',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {nombre: 'prueba 2', nombreCorto: 'prueba2'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"id": 5725910686760960,
"ambiente": "dev"
}
Este endpoint permite crear un nuevo MasterServicer.
HTTP Request
POST https://api.gatewayzone.online/bcp1/masterServicer
Body JSON Parameters
Parameter | Description |
---|---|
nombre | Nombre del MasterServicer |
nombreCorto | Nombre corto del MasterServicer |
Actualizar MasterServicer
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/masterServicer/2")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/masterServicer/2"
payload = {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/masterServicer/2 \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/masterServicer/2',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {nombre: 'prueba 2', nombreCorto: 'prueba2'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"masterServicer": {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
},
"ambiente": "dev"
}
Este endpoint permite actualizar un MasterServicer.
HTTP Request
PUT https://api.gatewayzone.online/bcp1/masterServicer/<masterServicerId>
URL Parameters
Parameter | Description |
---|---|
masterServicerId | El ID del MasterServicer a actualizar |
Body JSON Parameters
Parameter | Description |
---|---|
nombre | Nombre del MasterServicer |
nombreCorto | Nombre corto del MasterServicer |
Servicer
Obtener todos los Servicers
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/servicers")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/servicers"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/servicers \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/servicers',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"servicers": [
{
"nombre": "prueba 1",
"nombreCorto": "prueba1",
"id": "1"
},
{
"nombre": "MyV",
"nombreCorto": "MyV",
"id": "76090605"
},
{
"nombre": "Unidad Créditos S. A.",
"nombreCorto": "Unidad Autos",
"id": "76697501"
},
{
"nombre": "Evoluciona",
"nombreCorto": "Evoluciona",
"id": "76697522"
},
{
"nombre": "Autofidem SpA",
"nombreCorto": "Autofidem",
"id": "77133774"
},
{
"nombre": "Hipotecaria Concreces S. A.",
"nombreCorto": "Concreces",
"id": "96795510"
}
],
"ambiente": "dev"
}
Este endpoint devuelve todos los Servicers.
HTTP Request
GET https://api.gatewayzone.online/bcp1/servicers
Obtener un Servicer determinado
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/servicer/76697522")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/servicer/76697522"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/servicer/76697522 \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/servicer/76697522',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"servicer": {
"nombre": "Evoluciona",
"nombreCorto": "Evoluciona"
},
"ambiente": "dev"
}
Este endpoint devuelve un Servicer por su ID.
HTTP Request
GET https://api.gatewayzone.online/bcp1/servicer/<servicerId>
URL Parameters
Parameter | Description |
---|---|
servicerId | El ID del Servicer a consultar |
Crear Servicer
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/servicer")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"rutSinPuntosNiDigitoVerificador\": 2,\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/servicer"
payload = {
"rutSinPuntosNiDigitoVerificador": 2,
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/servicer \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"rutSinPuntosNiDigitoVerificador": 2,
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/servicer',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {rutSinPuntosNiDigitoVerificador: 2, nombre: 'prueba 2', nombreCorto: 'prueba2'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"id": 2,
"ambiente": "dev"
}
Este endpoint permite crear un nuevo Servicer.
HTTP Request
POST https://api.gatewayzone.online/bcp1/servicer
Body JSON Parameters
Parameter | Description |
---|---|
rutSinPuntosNiDigitoVerificador | Rut del Servicer sin puntos ni dígito verificador |
nombre | Nombre del Servicer |
nombreCorto | Nombre corto del Servicer |
Actualizar Servicer
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/servicer/2")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/servicer/2"
payload = {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/servicer/2 \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/servicer/2',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {nombre: 'prueba 2', nombreCorto: 'prueba2'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"servicer": {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
},
"ambiente": "dev"
}
Este endpoint permite actualizar un Servicer.
HTTP Request
PUT https://api.gatewayzone.online/bcp1/servicer/<servicerId>
URL Parameters
Parameter | Description |
---|---|
servicerId | El ID del Servicer a actualizar |
Body JSON Parameters
Parameter | Description |
---|---|
nombre | Nombre del Servicer |
nombreCorto | Nombre corto del Servicer |
Owner
Obtener todos los Owners
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/owners")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/owners"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/owners \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/owners',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"owners": [
{
"nombre": "prueba 1",
"nombreCorto": "prueba1",
"id": 5670809343361024
},
{
"nombre": "Bolsa Chilena de Productos",
"nombreCorto": "BCP",
"id": 5745777301258240
}
],
"ambiente": "dev"
}
Este endpoint devuelve todos los Owners.
HTTP Request
GET https://api.gatewayzone.online/bcp1/owners
Obtener un Owner determinado
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/owner/5745777301258240")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/owner/5745777301258240"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/owner/5745777301258240 \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/owner/5745777301258240',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"owner": {
"nombre": "Bolsa Chilena de Productos",
"nombreCorto": "BCP"
},
"ambiente": "dev"
}
Este endpoint devuelve un Owner por su ID.
HTTP Request
GET https://api.gatewayzone.online/bcp1/owner/<ownerId>
URL Parameters
Parameter | Description |
---|---|
ownerId | El ID del Owner a consultar |
Crear Owner
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/owner")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/owner"
payload = {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/owner \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/owner',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {nombre: 'prueba 2', nombreCorto: 'prueba2'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"id": 5670809343361024,
"ambiente": "dev"
}
Este endpoint permite crear un nuevo Owner.
HTTP Request
POST https://api.gatewayzone.online/bcp1/owner
Body JSON Parameters
Parameter | Description |
---|---|
nombre | Nombre del Owner |
nombreCorto | Nombre corto del Owner |
Actualizar Owner
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/owner/5670809343361024")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/owner/5670809343361024"
payload = {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/owner/5670809343361024 \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/owner/5670809343361024',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {nombre: 'prueba 2', nombreCorto: 'prueba2'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"owner": {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
},
"ambiente": "dev"
}
Este endpoint permite actualizar un Owner.
HTTP Request
PUT https://api.gatewayzone.online/bcp1/owner/<ownerId>
URL Parameters
Parameter | Description |
---|---|
ownerId | El ID del Owner a actualizar |
Body JSON Parameters
Parameter | Description |
---|---|
nombre | Nombre del Owner |
nombreCorto | Nombre corto del Owner |
CustodyAccount
Obtener todos los CustodyAccounts
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/custodyAccounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/custodyAccounts"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/custodyAccounts \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/custodyAccounts',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"custodyAccounts": [
{
"nombre": "Hipotecaria Concreces S. A.",
"nombreCorto": "Concreces",
"id": 5667450989314048
},
{
"nombre": "Administradora de Mutuos Hipotecarios MyV S.A.",
"nombreCorto": "MyV",
"id": 5679518840782848
},
{
"nombre": "Unidad Créditos S. A.",
"nombreCorto": "Unidad Autos",
"id": 5690926609465344
},
{
"nombre": "Evoluciona Administradora de Mutuos Hipotecarios S.A",
"nombreCorto": "Evoluciona",
"id": 5712109656604672
},
{
"nombre": "Ameris Deuda con Garantia Hipotecaria",
"nombreCorto": "Ameris",
"id": 5718483119636480
},
{
"nombre": "Autofidem SpA",
"nombreCorto": "Autofidem",
"id": 5722668699484160
},
{
"nombre": "prueba 1",
"nombreCorto": "prueba1",
"id": 5763792633856000
},
{
"nombre": "Larrain Vial Servicios Financieros Limitada",
"nombreCorto": "Larrain Vial",
"id": 5766369119305728
}
],
"ambiente": "dev"
}
Este endpoint devuelve todos los CustodyAccounts.
HTTP Request
GET https://api.gatewayzone.online/bcp1/custodyAccounts
Obtener un CustodyAccount determinado
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/custodyAccount/5679518840782848")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer [TOKEN]'
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/custodyAccount/5679518840782848"
payload = ""
headers = {"Authorization": "Bearer [TOKEN]"}
response = requests.request("GET", url, data=payload, headers=headers)
print(response.text)
curl --request GET \
--url https://api.gatewayzone.online/bcp1/custodyAccount/5679518840782848 \
--header 'Authorization: Bearer [TOKEN]'
import axios from "axios";
const options = {
method: 'GET',
url: 'https://api.gatewayzone.online/bcp1/custodyAccount/5679518840782848',
headers: {
Authorization: 'Bearer [TOKEN]'
}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"custodyAccount": {
"nombre": "Administradora de Mutuos Hipotecarios MyV S.A.",
"nombreCorto": "MyV"
},
"ambiente": "dev"
}
Este endpoint devuelve un CustodyAccount por su ID.
HTTP Request
GET https://api.gatewayzone.online/bcp1/custodyAccount/<custodyAccountId>
URL Parameters
Parameter | Description |
---|---|
custodyAccountId | El ID del CustodyAccount a consultar |
Crear CustodyAccount
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/custodyAccount")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/custodyAccount"
payload = {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/custodyAccount \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/custodyAccount',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {nombre: 'prueba 2', nombreCorto: 'prueba2'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"id": 5763792633856000,
"ambiente": "dev"
}
Este endpoint permite crear un nuevo CustodyAccount.
HTTP Request
POST https://api.gatewayzone.online/bcp1/custodyAccount
Body JSON Parameters
Parameter | Description |
---|---|
nombre | Nombre del CustodyAccount |
nombreCorto | Nombre corto del CustodyAccount |
Actualizar CustodyAccount
require 'uri'
require 'net/http'
require 'openssl'
url = URI("https://api.gatewayzone.online/bcp1/custodyAccount/5763792633856000")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
http.verify_mode = OpenSSL::SSL::VERIFY_NONE
request = Net::HTTP::Put.new(url)
request["Content-Type"] = 'application/json'
request["Authorization"] = 'Bearer [TOKEN]'
request.body = "{\n\t\"nombre\": \"prueba 2\",\n\t\"nombreCorto\": \"prueba2\"\n}"
response = http.request(request)
puts response.read_body
import requests
url = "https://api.gatewayzone.online/bcp1/custodyAccount/5763792633856000"
payload = {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer [TOKEN]"
}
response = requests.request("POST", url, json=payload, headers=headers)
print(response.text)
curl --request POST \
--url https://api.gatewayzone.online/bcp1/custodyAccount/5763792633856000 \
--header 'Authorization: Bearer [TOKEN]' \
--header 'Content-Type: application/json' \
--data '{
"nombre": "prueba 2",
"nombreCorto": "prueba2"
}'
var axios = require("axios").default;
var options = {
method: 'POST',
url: 'https://api.gatewayzone.online/bcp1/custodyAccount/5763792633856000',
headers: {
'Content-Type': 'application/json',
Authorization: 'Bearer [TOKEN]'
},
data: {nombre: 'prueba 2', nombreCorto: 'prueba2'}
};
axios.request(options).then(function (response) {
console.log(response.data);
}).catch(function (error) {
console.error(error);
});
El comando anterior devuelve un JSON estructurado como el siguiente:
{
"resultado": "OK",
"custodyAccount": {
"nombre": "prueba 2",
"nombreCorto": "prueba2"
},
"ambiente": "dev"
}
Este endpoint permite actualizar un CustodyAccount.
HTTP Request
PUT https://api.gatewayzone.online/bcp1/custodyAccount/<custodyAccountId>
URL Parameters
Parameter | Description |
---|---|
custodyAccountId | El ID del CustodyAccount a actualizar |
Body JSON Parameters
Parameter | Description |
---|---|
nombre | Nombre del CustodyAccount |
nombreCorto | Nombre corto del CustodyAccount |