bcs-payments-management-api-services icon

bcs-payments-management-api-services

(0 reviews)

home

resources/image-ebc73fd2-cf72-409d-9d5e-411ae9d04276.png

API INFORMATION

Title: bcs-payments-management-api-services


Version: 1.0.35

Protocols: HTTPS

URI Sandbox: https://payments-management-api-services-dev.us-e1.cloudhub.io/payments-management/v1

URI QA: https://payments-management-api-services-qa.us-e1.cloudhub.io/payments-management/v1

URI Live: https://payments-management-api-services-prod.us-e1.cloudhub.io/payments-management/v1

DOWLOAD RAML

DESCRIPTION

The api will offer the consumers to check the amount to pay, make a payment and validate a payment.:

Summary


-Payments.

Description: This resource manage the three kinds of operations (consultUniquePayment, uniquePayment and validateUniquePayment).

Path:

/payments-management/v1/payments

Query parameters

operation: payments management operation.

  • consultUniquePayment : Operation for consult payment unique
  • uniquePayment: Operation for payment unique
  • validateUniquePayment: Operation for validate payment unique

Consult payment unique.

Request information:

pmtInfo: Payment information object

 pmtCodServ: Agreement code.
 eanCode: Ean Code
 invoicePmtInfo: invoicePmtInfo Object
    pmtRefId: Contains information of reference 1.
    pmtRefid2: Contains information of reference 2.
    pmtRefId3: Contains information related to reference 3.
 minPmtCurAmt: Contains information of MinPmtCurAmt.
    amt: Amount.
 acctId: Identifier of an account or product.
 dueDt: Contains information of product expiration date.
 user: Contains information of user.
 transaction: Contains information related to number TX.
    trnRqUid: Transaction number.
 pmtType: Contains information of payment type [E,D,C,M,P]
 workingDayFrame: Contains information of the working day frame.
 devRec: Contains information of the device.
    devId: Contains information of device Id
 submitOffice: Contains information related to submit Office
    branchId: Contains information related to Office code from which the transaction originates.
 effDt: Contains information of Compensation date
 additionalAcctId: Contains information of Card number
 invoker: Contains information of invoker.
    refId: Contains information of TX Reference number
    terminalId: Contains information of terminal Id
 value: Contains information related to additional information.

Response information:

> Response 200.
{
    "responseType": {
        "value": "OK"
    },
    "pmtInfo": {
        "pmtType": "PPP",
        "minPmtCurAmt": {
            "amt": "12764.00"
        },
        "totalCurAmt": {
            "amt": "24179.00"
        },
        "legalName": "JACINTA PAMELA BARBOZA VEL",
        "approvalId": "216466",
        "dueDt": "2021-10-19",
        "invoicePmtInfo": {
            "pmtRefId": "",
            "pmtRefId2": "",
            "pmtRefId3": "",
            "pmtRefId4": ""
        },
        "desc": "",
        "origDt": "2022-10-14",
        "availDt": "2022-10-14",
        "pmtCodServ": "15999991",
        "achCodServ": "",
        "agreement": {
            "flagAllowModValue": ""
        },
        "invoiceInfo": {
            "invoiceVouchNum": "",
            "invoiceCount": "00"
        },
        "value": "CR",
        "pmtInfoList": []
    }
}
> Errors Code.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
   "responseType": {
      "value": "ER"
   },
   "responseDetail": {
      "errorCode": "00002",
      "errorDesc": "Factura vencida",
      "errorType": "INF"
   }
}
> Diagram of sequence.

####

resources/DiagramaSecuenciaConsultaPagoUnico-8e96a28a-4fd7-4b92-b2b2-1f70ddcb66d0.jpg

Error codes.

HTTP CodeError CodeError TypeDescription
50011027AUTERROR AL GENERAR SECUENCIA DE AUTORIZACIÓN (R)
40000100RGNERROR EN LOS DATOS DE ENTRADA (P)
50030101RGNNO SE PUDO CONSULTAR A LA EMPRESA PERO SE PUEDE CONTINUAR CON EL PAGO (C)
50012027TPSVERIFIQUE STATUS “SERVICIO” (R)
50016001TPSERROR DE INICIO TX (R).
50016002TUXFALLO EL COMMIT DE LA TRANSACCION (P)
40012028VALTIPO PRODUCTO NO VALIDO (R)
40012053VALERROR FORMA DE PAGO NO VALIDA(C)
40012054VALTIPO DE PRODUCTO A DEBITAR INVALIDO (C)
40012055VALDEBE ENVIARSE CUENTA A DEBITAR (R)
40012059VALTIPO DE PRODUCTO A DEBITAR INVALIDO (P)
40012060VALFORMA DE PAGO NO VALIDA (P)
40012090VALERROR TIPO DE CUENTA NO VALIDA (R).
40416003VALFALTAN DATOS PARA LA CONSULTA (R).
500SQLCODETPSError de Inicio TP
50002601DBAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
500SQLCODEORASQLERRMC
500CerosTPSERROR DE INICIO TX
500CerosTPSError de Inicio Tuxedo
500CerosTPXError en COMMIT de la Transaccion
40420007RGAEl convenio no existe.
50000004INFFactura en proceso de pago
50000005INFFactura anulada
50000002INFFactura vencida
500SQLCODEBDA (Error técnico)Mensaje de error propio de Oracle
40020001INPDATOS DE ENTRADA INCORRECTOS
50020007PRAEl convenio no esta configurado para el canal/subcanal.
40020008PRAEl id de la factura es obligatorio
50020009PRALa factura se encuentra bloqueada.
50050010PRAPago por referencia no permitido para el convenio
50000003INFFactura no Existe
50000001INFFactura pagada
40020013RGNEl valor de la factura no coincide con el valor a pagar.
40020014RGNConvenio 'P_CONVENIO' no existe o esta inactivo.
40020015RGNNo existe pago con DealReference:'P_DEALREFERENCE
50020016RGNReversion fallida, el reverso debe realizarse el mismo dia
40050011PRAFactura asociada no encontrada
40050013PRAEl valor de la factura no coincide con el valor a pagar.
40020019RGNReversion de la operacion con fecha distinta a la actual.
40020020RGNValor pagado no coincide con el valor a pagar registrado
50020021RGNReversion fallida, registro debe estar en estado Pagado
50020022RGNParam pagoPorReferencia diferente al configurado en servicio
40020023RGNEl parametro pagoPorReferencia es obligatorio.
40020025PRAEl pago por referencia igual a 'P_PAGOPORREFERENCIA' es invalido
400SQLCODEVALCUENTA NO EXISTE
50000163VALCUENTA ES CUENTA CANCELADA
50022504VALCLIENTE INVALIDO
50011101VALCUENTA ES CUENTA INACTIVA
50006905VALCUENTA CON BLOQUEO BM
50011102VALCUENTA CON BLOQUEO FS
50011103VALCUENTA ES CUENTA DE PENSIONADO ISS
50011104VALCUENTA ES CUENTA DE PENSIONADO
50011105VALCUENTA DE AHORROS PROGRAMADO
50011106VALCUENTA ES CUENTA RECAUDADORA
50011107VALOFICINA NO ES SEDE DE LA CUENTA
50011121VALVALIDACION NO IMPLEMENTADA
50011109VALCUENTA DE PRESTAMO O CDT
50011110VALCUENTA DE AHORROS CONTRACTUAL
50011111VALCUENTA DE AHORROS AFC
50011112VALCUENTA CON BLOQUEO FS-CR-2
50011113VALCUENTA REQUIERE CLIENTE
50011114VALCUENTA REACTIVADA
50011115VALCUENTA CON BLOQUEO FS-2
50011116VALCUENTA CON BLOQUEO DEPOSITO CNB
50011117VALCTA DE PENSIONADO CON BLOQUEO DE
40000001INPERROR EN LA LONGITUD DE LA TRAMA DE ENTRADA
500SQLSQLCODEERROR CONSULTANDO CUENTA
500TPSSQLCODEERROR DE INICIO TX / ERROR DE INICIO TUXEDO
50002601PRAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
40000001RGADEBE VENIR COD EAN y/o COD CONVENIO
50000004RGANO EXISTE EL CONVENIO DE RECAUDO
50000005RGAEL CONVENIO Y EL COD EAN NO PERTENECEN AL MISMO CONVENIO.
50000006RGAEL CONVENIO NO ESTÁ VIGENTE NI EN RENOVACIÓN
50000010RGANO EXISTE CONFIGURACIÓN PARA EL CANAL, SUBCANAL
50000011RGAEL CANAL NO SE ENCUENTRA HABILITADO
50000012RGALA FORMA DE PAGO NO ESTÁ HABILITADA PARA CANAL/SUBCANAL
50000015RGANO HAY CONFIGURACION DE REFERENCIAS PARA EL CONVENIO
50000019RGAERROR DE VALIDACION DE DÍGITO PARA LA REFERENCIA
40000020RGASE ESPERABA RECIBIR LA FECHA LÍMITE DE PAGO
50000021RGALA FECHA LÍMITE DE PAGO RECIBIDA YA PASÓ
40000022RGAEL TAMAÑO DEL COD_CONVENIO <> 4 y <> 5
50000016RGANO LLEGARON LAS REFERENCIAS CONFIGURADAS
40000007BDPID DE CANAL INVALIDO
40000008BDPID DE SUBCANAL INVALIDO
50000009BDPERROR EN LA CONSULTA DE LA CONFIG DEL CANAL
50000002BDPEXISTEN MAS REFERENCIAS DE LAS PERMITIDAS
50000003BDPERROR EN LA CONSULTA DEL CONVENIO-EAN
40000013BDPLA FORMA DE PAGO ES INVALIDA
50000014BDPERROR EN LA VALIDACION DE FORMA DE PAGO
50000017BDPREFERENCIA A VALIDAR INVALIDA
50000018BDPRUTINA DE VALIDACION INVALID
50000023BDPERROR CONSULTANDO EL CONVENIO POR CODCONV O EAN
50010001INPSin validación matriculan nivel de Validación No Permitido
40010002INPLos datos de solicitud no son correctos
40010003INPDebe enviar Numero de Cuenta o de TD
50000001RNENo Existe la Matricula de Empresa
50000002RNEEl acumulado de Cantidad supera limite permitido
50000003RNEEl acumulado de Valor supera limite permitido
50000004RNENo Existe el Numero de TD
50000006RNENo Existe Registro en la tabla
50000007RNELa matricula se encuentra deshabilitada
50000010RNEEstado de la matricula no valido
50000016TUXSERVICIO NO DISPONIBLE
50000014RGNFONDOS INSUFICIENTES
40000071RGNFACTURA NO EXISTE
50000072RGNFACTURA YA PAGA
50000073RGNFACTURA YA VENCIDA
50000001B2BExiste un pago registrado a esa factura
50000002B2BHorario no permitido para realizar consultas
50000003B2BEl valor a pagar no corresponde
50000004B2BFactura no existe
50000005B2BFactura vencida
40000006B2BCodigo EAN invalido
50000007B2BValor a pagar no encontrado
50000008B2BError de autenticacion hacia el cliente
50000009B2BBanco no existe
50000010B2BFactura invalida
50000011B2BError inesperado en la consulta
50000012B2BReferencia de pago con longitud invalida
40000014B2BProvider es nulo o vacio
50000015B2BNo existe transaccion a reversar
40000016B2BNumero de convenio no existe
40000017B2BForma de pago no valida
40000018B2BValor de transaccion no permitido
50000019B2BFactura no consultada
40012027VALFALTAN DATOS PARA EL PAGO
50012028TPSVERIFIQUE STATUS ANALIZADOR
40012060VALERROR TIPO DE CONVENIO NO VALIDO
40013001VALEL VALOR A PAGAR ES MAYOR AL PAGO TOTAL
50013002RGNEXISTE UN PAGO ASOCIADO A LA FACTURA
50013003VALFALTA DATOS PARA LA CONSULTA
40013004VALDATOS NO PERMITIDOS
50016003VALFALTA DATOS PARA LA CONSULTA
50000020OCPBIN DE PRODUCTO NO ES VALIDO
500SQLCODEORAERROR BD TC-CR
50016007RGNCANCELACIÓN VOLUNTARIA CRO
50016008RGNCANCELACIÓN VOLUNTARIA TC
50016005RGNFACTURA O PRODUCTO YA PAGO
50016006RGNCARTERA CASTIGADA
50000014OCPNUMERO TARJETA INVALIDA
50016009EXPERROR CONSULTANDO VALORES A PAGAR TC-CR
50000002RGNPRÉSTAMO CANCELADO
50000004RGCPRÉSTAMO PENDIENTE DESEMBOLSO
50000005RGNPRÉSTAMO BLOQUEADO
50000007RGCCUENTA CERRADA
50000008RGNPRÉSTAMO DESISTIDO
50000009RGNPRÉSTAMO AL DÍA
50000010RGNESTADO INVALIDO
50000018RGNREVERSIÓN
50000001RGNPRÉSTAMO NO DESEMBOLSADO
50000007RGNPRÉSTAMO CANCELADO
50000026TXSPRÉSTAMO NO EXISTE
50000008RGNSALDO EN CERO
50000010RGNPRÉSTAMO CON MAS DE UNA CUOTA VENCIDA
50000011RGNPRÉSTAMO EN COBRO ADMINISTRATIVO
50000003RGNCOBRO JURÍDICO
50000004RGNDUDOSO RECAUDO
50000005RGCBLOQUEO MANUAL
50099001RGNEL TITULAR DEL CREDITO NO COINCIDE
50018526RGNCREDITO NO EXISTE

Unique payment.

Request information:

pmtInfo: Payment information object

 pmtCodServ: Agreement code.
 pmtDescServ: Agreement name (optional).
 eanCode: Ean Code.
 invoicepmtInfo: invoicepmtInfo Object.
    pmtRefId: Contains information of reference 1.
    pmtRefId2: Contains information of reference 2.
    pmtRefId3: Contains information related to reference 3.
    pmtRefId4: Contains information related  to notification code.
 pmtType: Contains information of payment type [E,D,C,M,P].
 minPmtCurAmt: Contains information of MinPmtCurAmt.
    amt: Amount.
 totalCurAmt: Contains information of Total cur amount.
    amt: Amount.
 dueDt: Contains information of product expiration date.
 user: Contains information of user.
 transaction: Contains information related to number TX.
    trnRqUid: Transaction number.
    desc: Contains information of description Transaction description one.
 workingDayFrame: Contains information of the working day frame.
 devRec: Contains information of the device.
    devId: Contains information of device Id
 submitOffice: Contains information related to submit Office
    branchId: Contains information related to Office code from which the transaction originates.
 pmtStatus: Contains information of PmtStatus.
    pmtIsReverse: Contains information of pmtIsReverse (N = Normal , R = Reverse)
    clearingDays: Contains information of exchange days (check) 2 .
    chkNum: Contains information of check number 2.
    chkType: Contains information of check type 2 , L: Local  , R: (consignment) .
 acctId: Contains information of AcctId.
 flagRefOrInvoice: Indicator if the payment is by reference or invoice.
 refId: Contains information of Deal Reference.
 refId2: Contains information of Deal Reference 2.
 processId: Contains information of processId.
 availDt: Contains information of recording date of the transaction.
 desc: Contains information of description Transaction description two.
 clearingDays: Contains information of exchange days (check) .
 chkNum: Contains information of check number.
 chkType: Contains information of check type , L: Local  , R: (consignment) .
 bankId: Contains information of code of the originating Bank of the Check.
 flagForcPost: Contains information of behavior information flagForcPost.
 flagBranssup: Contains information of behavior information flagBranssup.
 flagChkRefId: Contains information of behavior information flagChkRefId
 flagDealMod: Contains information of flagDealMod.
 effDt: Contains information of Compensation date
 additionalAcctId: Contains information of Card number
 invoker: Contains information of invoker.
    refId: Contains information of TX Reference number
    terminalId: Contains information of terminal Id
 rejectCode: Contains information of rejectCode.
 sNinetyField: Contains information of s90Field.
 bankInfo: Contains information of bank information.
    bankId: Contains information of entity code (Financial Entity)
    Name: Contains information of name of the authorizing financial institution.
 approvalId: Contains information of authorization number given by the financial institution that
 invoiceInfo: Contains information of invoiceInfo object.
    effDt: Contains information of Compensation date
    invoiceVouchNum: Contains information of  unique invoice identifier.
 achCycle: Contains information of ACH service code .
 cusCode: Contains information of Unique Tracking Code (CUS) .
 achCodServ: Contains information of ACH service code  .
 value: Contains information related to additional information.

Response information:

> Response 201.
{
  "responseType": {
    "value": "OK"
  },
  "pmtInfo": {
    "pmtType": "PPP",
    "invoicePmtInfo": {
      "pmtRefId4 ": ""
    },
    "approvalId": "374423",
    "origDt": "2022-09-22",
    "availDt": "2022-09-22",
    "processId": "PU075",
    "itemGeneric1": "0280",
    "additionalAcctId": "",
    "legalName": "JACINTA PAMELA BARBOZA VEL",
    "value": "",
    "refId": "APII2265325483954029"
  }
}
> Errors Code.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
   "responseType": {
      "value": "ER"
   },
   "responseDetail": {
      "errorCode": "N3 ",
      "errorDesc": "N3- REF.TRANSAC.PARA NUEVAS NEGOC.DEBE SER UNICA",
      "errorType": "TRX"
   }
}
> Diagram of sequence.

####

resources/DiagramaSecuenciaPagoUnico-fd3b9c2d-acda-4a18-9227-7cd28dc52a1f.jpg

Error codes.

HTTP CodeError CodeError TypeDescription
50011027AUTERROR AL GENERAR SECUENCIA DE AUTORIZACIÓN (R)
40000100RGNERROR EN LOS DATOS DE ENTRADA (P)
50030101RGNNO SE PUDO CONSULTAR A LA EMPRESA PERO SE PUEDE CONTINUAR CON EL PAGO (C)
50012027TPSVERIFIQUE STATUS “SERVICIO” (R)
50016001TPSERROR DE INICIO TX (R).
50016002TUXFALLO EL COMMIT DE LA TRANSACCION (P)
40012028VALTIPO PRODUCTO NO VALIDO (R)
40012053VALERROR FORMA DE PAGO NO VALIDA(C)
40012054VALTIPO DE PRODUCTO A DEBITAR INVALIDO (C)
40012055VALDEBE ENVIARSE CUENTA A DEBITAR (R)
40012059VALTIPO DE PRODUCTO A DEBITAR INVALIDO (P)
40012060VALFORMA DE PAGO NO VALIDA (P)
40012090VALERROR TIPO DE CUENTA NO VALIDA (R).
40016003VALFALTAN DATOS PARA LA CONSULTA (R).
500SQLCODETPSError de Inicio TP
50002601DBAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
500SQLCODEORASQLERRMC
500CerosTPSERROR DE INICIO TX
500CerosTPSError de Inicio Tuxedo
500CerosTPXError en COMMIT de la Transaccion
40420007RGAEl convenio no existe.
50000004INFFactura en proceso de pago
50000005INFFactura anulada
50000002INFFactura vencida
500SQLCODEBDA (Error técnico)Mensaje de error propio de Oracle
40020001INPDATOS DE ENTRADA INCORRECTOS
50020007PRAEl convenio no esta configurado para el canal/subcanal.
40020008PRAEl id de la factura es obligatorio
50020009PRALa factura se encuentra bloqueada.
50050010PRAPago por referencia no permitido para el convenio
40400003INFFactura no Existe
50000001INFFactura pagada
40020013RGNEl valor de la factura no coincide con el valor a pagar.
40020014RGNConvenio 'P_CONVENIO' no existe o esta inactivo.
40020015RGNNo existe pago con DealReference:'P_DEALREFERENCE
50020016RGNReversion fallida, el reverso debe realizarse el mismo dia
40050011PRAFactura asociada no encontrada
40050013PRAEl valor de la factura no coincide con el valor a pagar.
40020019RGNReversion de la operacion con fecha distinta a la actual.
40020020RGNValor pagado no coincide con el valor a pagar registrado
50020021RGNReversion fallida, registro debe estar en estado Pagado
50020022RGNParam pagoPorReferencia diferente al configurado en servicio
40020023RGNEl parametro pagoPorReferencia es obligatorio.
40020025PRAEl pago por referencia igual a 'P_PAGOPORREFERENCIA' es invalido
400SQLCODEVALCUENTA NO EXISTE
50000163VALCUENTA ES CUENTA CANCELADA
50022504VALCLIENTE INVALIDO
50011101VALCUENTA ES CUENTA INACTIVA
50006905VALCUENTA CON BLOQUEO BM
50011102VALCUENTA CON BLOQUEO FS
50011103VALCUENTA ES CUENTA DE PENSIONADO ISS
50011104VALCUENTA ES CUENTA DE PENSIONADO
50011105VALCUENTA DE AHORROS PROGRAMADO
50011106VALCUENTA ES CUENTA RECAUDADORA
50011107VALOFICINA NO ES SEDE DE LA CUENTA
50011121VALVALIDACION NO IMPLEMENTADA
50011109VALCUENTA DE PRESTAMO O CDT
50011110VALCUENTA DE AHORROS CONTRACTUAL
50011111VALCUENTA DE AHORROS AFC
50011112VALCUENTA CON BLOQUEO FS-CR-2
50011113VALCUENTA REQUIERE CLIENTE
50011114VALCUENTA REACTIVADA
50011115VALCUENTA CON BLOQUEO FS-2
50011116VALCUENTA CON BLOQUEO DEPOSITO CNB
50011117VALCTA DE PENSIONADO CON BLOQUEO DE
40000001INP“ERROR EN LA LONGITUD DE LA TRAMA DE ENTRADA”
500SQLSQLCODEERROR CONSULTANDO CUENTA
500TPSSQLCODEERROR DE INICIO TX / ERROR DE INICIO TUXEDO
50002601PRAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
40000001RGADEBE VENIR COD EAN y/o COD CONVENIO
50000004RGANO EXISTE EL CONVENIO DE RECAUDO
50000005RGAEL CONVENIO Y EL COD EAN NO PERTENECEN AL MISMO CONVENIO.
50000006RGAEL CONVENIO NO ESTÁ VIGENTE NI EN RENOVACIÓN
50000010RGANO EXISTE CONFIGURACIÓN PARA EL CANAL, SUBCANAL
50000011RGAEL CANAL NO SE ENCUENTRA HABILITADO
50000012RGALA FORMA DE PAGO NO ESTÁ HABILITADA PARA CANAL/SUBCANAL
50000015RGANO HAY CONFIGURACION DE REFERENCIAS PARA EL CONVENIO
50000019RGAERROR DE VALIDACION DE DÍGITO PARA LA REFERENCIA
40000020RGASE ESPERABA RECIBIR LA FECHA LÍMITE DE PAGO
50000021RGALA FECHA LÍMITE DE PAGO RECIBIDA YA PASÓ
40000022RGAEL TAMAÑO DEL COD_CONVENIO <> 4 y <> 5
50000016RGANO LLEGARON LAS REFERENCIAS CONFIGURADAS
40000007BDPID DE CANAL INVALIDO
40000008BDPID DE SUBCANAL INVALIDO
50000009BDPERROR EN LA CONSULTA DE LA CONFIG DEL CANAL
50000002BDPEXISTEN MAS REFERENCIAS DE LAS PERMITIDAS
50000003BDPERROR EN LA CONSULTA DEL CONVENIO-EAN
40000013BDPLA FORMA DE PAGO ES INVALIDA
50000014BDPERROR EN LA VALIDACION DE FORMA DE PAGO
50000017BDPREFERENCIA A VALIDAR INVALIDA
50000018BDPRUTINA DE VALIDACION INVALID
50000023BDPERROR CONSULTANDO EL CONVENIO POR CODCONV O EAN
50010001INPSin validación matriculan nivel de Validación No Permitido
40010002INPLos datos de solicitud no son correctos
40010003INPDebe enviar Numero de Cuenta o de TD
50000001RNENo Existe la Matricula de Empresa
50000002RNEEl acumulado de Cantidad supera limite permitido
50000003RNEEl acumulado de Valor supera limite permitido
50000004RNENo Existe el Numero de TD
50000006RNENo Existe Registro en la tabla
50000007RNELa matricula se encuentra deshabilitada
50000010RNEEstado de la matricula no valido
50000016TUXSERVICIO NO DISPONIBLE
50000014RGNFONDOS INSUFICIENTES
40000071RGNFACTURA NO EXISTE
50000072RGNFACTURA YA PAGA
50000073RGNFACTURA YA VENCIDA
50000001B2BExiste un pago registrado a esa factura
50000002B2BHorario no permitido para realizar consultas
40000003B2BEl valor a pagar no corresponde
50000004B2BFactura no existe
50000005B2BFactura vencida
40000006B2BCodigo EAN invalido
50000007B2BValor a pagar no encontrado
50000008B2BError de autenticacion hacia el cliente
40000009B2BBanco no existe
50000010B2BFactura invalida
50000011B2BError inesperado en la consulta
40000012B2BReferencia de pago con longitud invalida
40000014B2BProvider es nulo o vacio
50000015B2BNo existe transaccion a reversar
40000016B2BNumero de convenio no existe
40000017B2BForma de pago no valida
40000018B2BValor de transaccion no permitido
50000019B2BFactura no consultada
40012027VALFALTAN DATOS PARA EL PAGO
50012028TPSVERIFIQUE STATUS ANALIZADOR
40012060VALERROR TIPO DE CONVENIO NO VALIDO
40013001VALEL VALOR A PAGAR ES MAYOR AL PAGO TOTAL
50013002RGNEXISTE UN PAGO ASOCIADO A LA FACTURA
50013003VALFALTA DATOS PARA LA CONSULTA
40013004VALDATOS NO PERMITIDOS
500SQLCODEORAFS5002COLLECTANK SQLERRMC(1:31)
40016003VALFALTA DATOS PARA LA CONSULTA
50000016TUXSERVICIO NO DISPONIBLE
50000000TPXERROR EN INICIO DE TRANSACCIÓN GLOBAL
50016001TPSERROR DE INICIO TX
50012027AUTERROR AL GENERAR SECUENCIA DE AUTORIZACION
40016003VALFALTA DATOS PARA LA CONSULTA
50000016TUXSERVICIO NO DISPONIBLE
40000071RGNFACTURA NO EXISTE
50000072RGNFACTURA YA PAGA
50000073RGNFACTURA YA VENCIDA
40015001VALNUMERO DE REFERENCIA INVALIDO
50015002ORAERROR NUMERO DE REFERENCIA YA EXISTE
50015003ORAERROR INSERTANDO EN LA TABLA FS2310SETTLELOGCNOB
50015004ORATRANSACION NO SE ENCUENTRA EN LA TABLA SETTLE
50015005ORAERROR ACTUALIZANDO REVERSO EN LA TABLA SETTLE
50002601PRAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
50002608ORAERROR AL PROCESAR LOS DATOS
50002609ORANO EXISTE NEGOCIACION PARAMETRIZADA PARA ESE CÓDIGO DE REFERENCIA
40015001VALNUMERO DE REFERENCIA INVALIDO
50016017TPSVERIFIQUE STATUS BMEXDEAL
400N1TRXDEBE INGRESAR REFERENCIA DE LA TRANSACCION
500N2TRXREF.DE TRANSAC.DEBE IDENTIFICAR USUARIO VALIDO
500N3TRXREF.TRANSAC.PARA NUEVAS NEGOC.DEBE SER UNICA
500N4TRXREF.TRAN.PARA REVER.DEBE IDEN.NEGOC.VAL.NO REV.
400N5TRXFECHA DE ENTRADA DEBE SER FECHA VALIDA
400N6TRXHORA DE ENTRADA DEBE SER HORA VALIDA
400N7TRXFECHA EN LIBROS DEBE SER FECHA VALIDA
400NCTRXCUENTA NO EXISTE
500NDTRXCUENTA CERRADA
500NFTRXCUENTA BLOQUEADA
500NGTRXREF. ALTERNA. DEBE IDENTIFICAR CTA.EXISTENTE
400NHTRXMONEDA PRINCIPAL DEBE SER UNA MONEDA VALIDA
400NITRXMONEDA PPAL. DEBE SER MONEDA DE CTA. PRINCIPAL
400NJTRXCUENTA SECUNDARIA DEBE SER CUENTA VALIDA
500NKTRXCUENTA SECUNDARIA NO SE PUEDE CERRAR
500NLTRXCUENTA SECUNDARIA NO PUEDE ESTAR BLOQUEADA
400NMTRXTERCERA CUENTA DEBE SER CTA. VALIDA
500NNTRXTERCERA CUENTA NO SE PUEDE CERRAR
500NOTRXTERCERA CUENTA NO PUEDE ESTAR BLOQUEADA
400NPTRXCOD.OFIC.ORIGEN DEBE IDENTIFICAR OFIC. VALIDA
400NQTRXCOD.OFIC.DESTINO DEBE IDENTIFICAR OFIC.VALIDA
400NRTRXDEBE IDENTIFICAR UN TIPO DE NEGOCIACION VALIDO
400NSTRXMONTO PRINCIPAL DE TRANSACCION DEBE SER VALIDO
400NTTRXVALOR DE MONTO 1 DEBE SER UN MONTO VALIDO
400NUTRXVALOR DE MONTO 2 DEBE SER UN MONTO VALIDO
400NVTRXVALOR DE MONTO 3 DEBE SER UN MONTO VALIDO
400NWTRXVALOR DE MONTO 4 DEBE SER UN MONTO VALIDO
400NXTRXVALOR DE MONTO 5 DEBE SER UN MONTO VALIDO
400ODTRXINDICADOR POSTEO FORZADO DEBE SER 'D','N'O'F'
400OETRXIMPUESTO CALCULADO DEBE SER 'Y O 'N'
400OFTRXSOPORTE OFICINA DEBE SER 'Y O 'N'
400OTTRXINTERCAMBIO M O D
400OUTRXMONTO PRINCIPAL BASE EQUIV. DEBE SER VALIDO
500OVTRXMONTO PPAL BASE EQUIV.NO PUEDE ING.SI MON.EXT.
500OWTRXMONTO PPAL BASE EQUIV.DEBE ING.SI ING.MON.EXTR.
400OXTRXMONTO EXTRANJERO BASE EQUIV. DEBE SER VALIDO
500OYTRXMONTO EXT.BASE EQUIV.NO PUEDE ING.SI MONEDA EXT
500OZTRXMONTO EXT.BASE EQUIV.DEBE ING.SI ING.MONEDA EXT
500P1TRXREF.NEG.REV.MONTO,FEC.LIB Y MONTO DEBEN COINC.
500PATRXCTA. PRINCIPAL, FRACCIONAMIENTO NO PERMITIDO
500PBTRXCTA.PPAL PARCIAL.BLOQ.MONTO TRANS.EXCEDE SALDO
500PHTRXMONTO NO COINCIDE
400PJTRXCANAL NO VALIDO
400PKTRXFECHA INGRESO DEBE SER IGUAL A FECHA SISTEMA
500PMTRXREFERENCIA DEAL YA EXISTE. REINTENTE
400W1TRXFECHA EN LIBROS NO DEBE SER < NUM.MAXIMO DIAS
500W2TRXFONDOS INSUFICIENTES PARA RETIRO
500W4TRXTRANSACCION POSTEADA PARA REINTENTO
500W5TRXSE ALCANZO EL MAXIMO NUMERO DE REINTENTOS
500W6TRXCUENTA BLOQUEADA PARA CREDITOS
500W7TRXCUENTA BLOQUEADA PARA DEBITOS
500W8TRXCUENTA BLOQUEADA CREDITOS/DEBITOS
500W9TRXTRANSACCION DEBITO Y TITULO VALOR NO EN ORDEN
500WATRXMONTO EN CUENTA INFERIOR AL MINIMO
500WBTRXCUENTA INACTIVA
500SQLCODEORAERROR CONSULTANDO REVERSO TABLA PPPTANK
50015021ORAERROR INSERTANDO EN LA TABLA FS7005PPPTANK
50015022ORAERROR NUMERO DE REFERENCIA YA EXISTE
50015023ORATRANSACIÓN NO SE ENCUENTRA EN LA TABLA PPPTANK
50015024ORAERROR ACTUALIZANDO REVERSO EN LA TABLA PPPTANK
40020101BDECÓDIGO PROCESO NULO
40020102BDETIPO DE NEGOCIACIÓN O DEAL NULO
40020103BDEOFICINA ORIGEN NULA
50020801BDEHAY MAS DE UN REGISTRO EN LA TABLA FS0903CTAINTERNA_BCSC
50020802BDEHAY MAS DE UN REGISTRO EN LA TABLA FS0904CTROCOSTO_BCSC
50020901BDENO EXISTE REGISTRO EN LA TABLA FS0903CTAINTERNA_BCSC
50020902BDENO EXISTE REGISTRO EN LA TABLA FS0904CTROCOSTO_BCSC
50020804BDEEL ATRIBUTO CCFS0903INDCCPRINC NO PUEDE SER NULO O ESPACIOS
40020805BDESE DEBE INDICAR NÚMERO DE CUENTA RECAUDADORA O SEGUNDA CUENTA
40020806BDEEL CAMPO CCFS0903NUMCTASECN ES INVALIDO PARA EL TRATAMIENTO DE LA CUENTA
40020807BDEEL CAMPO CCFS0903TRATOCTA DEBE INDICAR UN VALOR VALIDO
40020808BDEEL CAMPO CCFS0903INDCCSECND NO PUEDE SER NULO O BLANCO
50020810BDEERROR EN VALOR DE CUANTA RECAUDADORA O EN CUENTA A AFECTAR
50020811BDEERROR EN VALOR DE CCFS0903NUMCTAPRIN
500'99999'BDESE MUESTRA EL ERROR TÉCNICO DE ORACLE
50002601PRAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
500N1TRXDEBE INGRESAR REFERENCIA DE LA TRANSACCION
500N2TRXREF.DE TRANSAC.DEBE IDENTIFICAR USUARIO VALIDO
500N3TRXREF.TRANSAC.PARA NUEVAS NEGOC.DEBE SER UNICA
500N4TRXREF.TRAN.PARA REVER.DEBE IDEN.NEGOC.VAL.NO REV.
400N5TRXFECHA DE ENTRADA DEBE SER FECHA VALIDA
400N6TRXHORA DE ENTRADA DEBE SER HORA VALIDA
400N7TRXFECHA EN LIBROS DEBE SER FECHA VALIDA
400N8TRXFECHA DE CANJE DEBE SER FECHA VALIDA
400N9TRXFECHA CANJE DEBE SER > FECHA DE APERTURA CTA.
400NATRXPERIODO DE CANJE DEBE SER NUMERICO
400NBTRXPERIODO NO CANJEADO DEBE SER NUMERICO
500NCTRXCUENTA NO EXISTE
500NDTRXCUENTA CERRADA
500NFTRXCUENTA BLOQUEADA
500NGTRXREF. ALTERNA. DEBE IDENTIFICAR CTA.EXISTENTE
500NHTRXMONEDA PRINCIPAL DEBE SER UNA MONEDA VALIDA
500NITRXMONEDA PPAL. DEBE SER MONEDA DE CTA. PRINCIPAL
400NJTRXCUENTA SECUNDARIA DEBE SER CUENTA VALIDA
500NKTRXCUENTA SECUNDARIA NO SE PUEDE CERRAR
500NLTRXCUENTA SECUNDARIA NO PUEDE ESTAR BLOQUEADA
400NMTRXTERCERA CUENTA DEBE SER CTA. VALIDA
500NNTRXTERCERA CUENTA NO SE PUEDE CERRAR
500NOTRXTERCERA CUENTA NO PUEDE ESTAR BLOQUEADA
400NPTRXCOD.OFIC.ORIGEN DEBE IDENTIFICAR OFIC. VALIDA
400NQTRXCOD.OFIC.DESTINO DEBE IDENTIFICAR OFIC.VALIDA
400NRTRXDEBE IDENTIFICAR UN TIPO DE NEGOCIACION VALIDO
400NSTRXMONTO PRINCIPAL DE TRANSACCION DEBE SER VALIDO
400NTTRXVALOR DE MONTO 1 DEBE SER UN MONTO VALIDO
400NUTRXVALOR DE MONTO 2 DEBE SER UN MONTO VALIDO
400NVTRXVALOR DE MONTO 3 DEBE SER UN MONTO VALIDO
400NWTRXVALOR DE MONTO 4 DEBE SER UN MONTO VALIDO
400NXTRXVALOR DE MONTO 5 DEBE SER UN MONTO VALIDO
400NYTRXMONTO DE COMISION 1 DEBE SER UN MONTO VALIDO
400NZTRXMONTO DE COMISION 2 DEBE SER UN MONTO VALIDO
400O1TRXMONTO DE COMISION 3 DEBE SER UN MONTO VALIDO
400O2TRXMONTO DE COMISION 4 DEBE SER UN MONTO VALIDO
400O3TRXMONTO DE COMISION 5 DEBE SER UN MONTO VALIDO
400O4TRXMONTO DE COMISION 6 DEBE SER UN MONTO VALIDO
400O5TRXIMPUESTO MONTO TRANSACCION DEBE SER VALIDO
400O6TRXIMPUESTO COMISION 1 DEBE SER MONTO VALIDO
400O7TRXIMPUESTO COMISION 2 DEBE SER MONTO VALIDO
400O8TRXIMPUESTO COMISION 3 DEBE SER MONTO VALIDO
400O9TRXIMPUESTO COMISION 4 DEBE SER MONTO VALIDO
400OATRXIMPUESTO COMISION 5 DEBE SER MONTO VALIDO
400OBTRXIMPUESTO COMISION 6 DEBE SER MONTO VALIDO
400OCTRXIMPUESTO INTERES DEBE SER MONTO VALIDO
400ODTRXINDICADOR POSTEO FORZADO DEBE SER 'D','N'O'F'
400OETRXIMPUESTO CALCULADO DEBE SER 'Y O 'N'
400OFTRXSOPORTE OFICINA DEBE SER 'Y O 'N'
400OGTRXREMISION DE CHEQUE DEBE SER 'Y O 'N'
400OHTRXREMIS.CHEQUE NO PUEDE SER'Y'SI NO ING.No.CHEQUE
400OITRXNUMERO DE CHEQUE DEBE SER NUMERICO
400OJTRXNUMERO DE DESPRENDIBLE DEBE SER NUMERICO
400OKTRXNUMERO DE DESPRENDIBLE NO VALIDO
400OLTRXMONEDA EXTRANJERA DEBE SER MONEDA VALIDA
400OMTRXMONTO EXTRANJERO DEBE SER NUMERICO VALIDO
400ONTRXNO PUEDE ING.MONTO EXTR.SI MON.EXTR.EN BLANCO
400OOTRXMONTO EXTRAN.DEBE ING.SI ING.MONEDA EXTRANJERA
400OPTRXTASA DE CAMBIO DEBE SER TASA VALIDA
500OQTRXCHEQUEO TOLERANC ESPECIFICA DE TASA DE CAMBIO
500ORTRXNO PUEDE ING.TASA CAMBIO SI MON.EXTRAN.EN BLANC
500OSTRXDEBE ING.TASA CAMBIO SI ING.MONEDA EXTRANJERA
400OTTRXINTERCAMBIO M O D
400OUTRXMONTO PRINCIPAL BASE EQUIV. DEBE SER VALIDO
500OVTRXMONTO PPAL BASE EQUIV.NO PUEDE ING.SI MON.EXT.
500OWTRXMONTO PPAL BASE EQUIV.DEBE ING.SI ING.MON.EXTR.
400OXTRXMONTO EXTRANJERO BASE EQUIV. DEBE SER VALIDO
500OYTRXMONTO EXT.BASE EQUIV.NO PUEDE ING.SI MONEDA EXT
500OZTRXMONTO EXT.BASE EQUIV.DEBE ING.SI ING.MONEDA EXT
500P1TRXREF.NEG.REV.MONTO,FEC.LIB Y MONTO DEBEN COINC.
500P2TRXCHEQUE CON ORDEN DE NO PAGO
500P3TRXCHEQUE HA SIDO PAGADO CON ANTERIORIDAD
500P4TRXCHEQUE NO HABILITADO
500P5TRXGIRO O EMISION YA EMITIDO"
500P6TRXGIRO O PAGO DE CHEQUE YA PAGADO"
500P7TRXGIRO O PAGO DE CHEQUE NO EMITIDO"
500P8TRXSOLICITUD DEBITO DIRECTO FALLO,NO EXISTE REGLA
500P9TRXTASA CONVERSION UPAC NO DEF.PARA FECHA CANJE
500PATRXCTA. PRINCIPAL, FRACCIONAMIENTO NO PERMITIDO
500PBTRXCTA.PPAL PARCIAL.BLOQ.MONTO TRANS.EXCEDE SALDO
500PHTRXMONTO NO COINCIDE
400PJTRXCANAL NO VALIDO
400PKTRXFECHA INGRESO DEBE SER IGUAL A FECHA SISTEMA
500PMTRXREFERENCIA DEAL YA EXISTE. REINTENTE
400W1TRXFECHA EN LIBROS NO DEBE SER<NUM.MAXIMO DIAS
500W2TRXFONDOS INSUFICIENTES PARA RETIRO
500W3TRXCUPO DE RETIRO DIARIO EXCEDIDO
500W4TRXTRANSACCION POSTEADA PARA REINTENTO
500W5TRXSE ALCANZO EL MAXIMO NUMERO DE REINTENTOS
500W6TRXCUENTA BLOQUEADA PARA CREDITOS
500W7TRXCUENTA BLOQUEADA PARA DEBITOS
500W8TRXCUENTA BLOQUEADA CREDITOS/DEBITOS
500W9TRXTRANSACCION DEBITO Y TITULO VALOR NO EN ORDEN
500WATRXMONTO EN CUENTA INFERIOR AL MINIMO
500WBTRXCUENTA INACTIVA
50000002TRSEN EL MOMENTO NO LO PODEMOS ATENDER BM00134037

Validate unique payment.

Request information:

pmtInfo: Payment information object

 pmtCodServ: Agreement code.
 eanCode: Ean Code
 invoicePmtInfo: invoicepmtInfo Object
    pmtRefId: Contains information of reference 1.
    pmtRefId2: Contains information of reference 2.
    pmtRefId4: Contains information related  to notification code.
 pmtType: Contains information of payment type [E,D,C,M,P]
 minPmtCurAmt: Contains information of MinPmtCurAmt.
    amt: Amount.
 totalCurAmt: Contains information of Total cur amount.
    amt: Amount.
 dueDt: Contains information of product expiration date.
 transaction: Contains information related to number TX.
    trnRqUid: Transaction number.
 submitOffice: Contains information related to submit Office
    branchId: Contains information related to Office code from which the transaction originates.
 agreement: Contains information of Agreement.
    flagAllowModValue: Contains information of flag allow modify value.
 processId: Contains information of Process Id.
 value: Contains information related to additional information.

Response information:

> Response 200.
{
   "responseType": {
      "value": "OK"
   },
   "pmtInfo":{
      "value": ""
   }
}
> Errors Code.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
   "responseType": {
      "value": "ER"
   },
   "responseDetail": {
      "errorCode": "12027",
      "errorDesc": "FALTAN DATOS PARA EL PAGO",
      "errorType": "VAL"
   }
}
> Diagram of sequence.

####

resources/DiagramaSecuenciaValidarPagoUnico-8e634f53-60bd-494d-9bf6-553c300e4299.jpg

Error codes.

HTTP CodeError CodeError TypeDescription
40012027VALFALTAN DATOS PARA EL PAGO
50012028TPSVERIFIQUE STATUS ANALIZADOR
40012060VALERROR TIPO DE CONVENIO NO VALIDO
40013001VALEL VALOR A PAGAR ES MAYOR AL PAGO TOTAL
50013002RGNEXISTE UN PAGO ASOCIADO A LA FACTURA
40013003VALFALTA DATOS PARA LA CONSULTA
50013004VALDATOS NO PERMITIDOS
500SQLCODEORAFS5002COLLECTANK SQLERRMC(1:31)

-PSE.

Description: This resource manage the two operations to get and confirm PSE transactions.

Path:

/payments-management/v1/pse/trn/


- Get transaction information PSE by UUID (GET)

Description: This resource get information about the PSE transaction.

Path:

/payments-management/v1/pse/trn/{trnrquid}

URI parameters

trnrquid: Contains information related to UUID.

Response information:

Transaction: Contains information about the transaction

 trnrqUid: Contains information related to UUID

xferInfo: Contains information related to the transaction

status: Contains information about the status
cusCode: Contains information of trazability Code (CUS)
curAmt: Contains information of the transaction amount
   amt: Contains information related to the transaction value
fee: Contains information of the fee
   amt: Contains information related to the VAT value
achCodServ: Contains information related to the service code
url: Contains information related to entity URL
achCycle: Contains information related to transaction cycle
clientDt: Contains information related to solicitation date
desc: Contains information of payment detail
pmtRefId: Contains information of reference 1
pmtRefId2: Contains information of reference 2
pmtRefId3: Contains information of reference 3

entpr: Contains information related to the company

companyId: Contains information related to entity code

invoicePmtInfo: Contains information of the invoicePmtInfo

billerNum: Contains information related to the ticket Id

orgInfo: Contains information of the govIssueIdent

name: Contains information related to entity name

govIssueIdent: Contains information of the govIssueIdent

personType: Contains information related to person type:
                 - Natural (0)
                 - Legal (1)
identSerialNum: Contains information related to payer identification number
govIssueIdentType: Contains information related to payer identification type:
                 - RC: Registro civil (11)
                 - TI: Tarjeta de Identidad (12)
                 - CC: Cédula de ciudadanía (13)
                 - TE: Tarjeta de Extranjeria (21)
                 - CE: Cedula de Extranjería (22)
                 - NI: NIT (31)
                 - PA: Pasaporte (41)
                 - DE: Documento de Identificación Extranjero (42)

Body response example:

> Response 200.
{
  "responseType": {
    "value": "OK"
  },
  "transaction": {
    "trnrqUid": "37838712718554537308490620097"
  },
  "xferInfo": {
    "status": "PENDING",
    "cusCode": "3065762",
    "curAmt": {
      "amt": 342000.00
    },
    "fee": {
      "amt": 100000.00
    },
    "achCodServ": "52456384",
    "url": "https://www.comercio.com.co/Transaction?ID=383912",
    "achCycle": "4",
    "clientDt": "2023-01-16",
    "desc": "Pago",
    "pmtRefId": "2334234",
    "pmtRefId2": "545645",
    "pmtRefId3": "435345345"
  },
  "entpr": {
    "companyId": "812345678"
  },
  "invoicePmtInfo": {
    "billerNum": 564634
  },
  "orgInfo": {
    "name": "Comercio Pruebas"
  },
  "govIssueIdent": {
    "personType": "Natural",
    "identSerialNum": "1116232178",
    "govIssueIdentType": "CC"
  }
}
> Errors.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "00001",
        "errorDesc": "Uuid no existe",
        "errorType": "RGN"
    }
}

####

> Diagram of sequence.

resources/DiagramaSecuenciaGetTrxInformationPSEBCSByUUID-81974f04-e2e9-4699-8fb0-4603b4ce370e.jpg

Error codes.

HTTP CodeError CodeError TypeDescription
40400001RGNUuid no existe
50000002RGNTiempo excedido
50000003RGNError en base de datos
40000003AUTAutenticación erronea

- Confirm transaction PSE (POST)

Description: This resource confirm the information about the PSE transaction.

Path:

/payments-management/v1/pse/trn/

Request information:

Transaction: Contains information about the transaction

trnrqUid: Contains information related to UUID

xferInfo: Contains information related to the transaction

status: Contains information about the status
pseTrnCode: PSE transaction code
endDt: Contains information of closing date
bankChannel: Contains information of Bank Channel
acctId: Account number

govIssueIdent: Contains information of the govIssueIdent

identSerialNum: Contains information related to user identification number
govIssueIdentType: Contains information related to user identification type:
                 - CC : Cédula de ciudadanía
                 - CE : Cédula de extranjería
                 - TI: Tarjeta de identidad
                 - NI: Número de identificación tributaria
                 - PE: Permiso especial de permanencia

Body request example:

{
    "transaction": {
          "trnrqUid": "28498521"
  },
      "xFerInfo": {
        "status": "OK",
        "pseTrnCode": "28498521",
        "endDt": "2022-07-05T01:05:10",
        "bankChannel": "BE",
        "acctId": "7890"
  },
      "govIssueIdent": {
        "identSerialNum": "1234567890",
        "govIssueIdentType": "CC"
  }
}
Body response example:
> Response 201.
{
    "responseType": {
        "value": "OK"
    }
}
> Errors.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "00001",
        "errorDesc": "Uuid no existe",
        "errorType": "RGN"
    }
}
> Diagram of sequence.

resources/image-f7dacf5d-4b2c-41f4-9646-b139780775f2.png

Error codes.

Códigos de Rechazo enviados a ACH
HTTP CodeError CodeError TypeDescription
50000002ERRError Tecnico

[Domiciliations operations]:

- Consult Domiciliations

Path [GET]:

/payments-management/v1/domiciliation/{identserialnum}

URI Parameter:

identserialnum: Contains information related to the customer identification. (Required)

Query Parameters:

govIssueIdentType: Contains information related to Type of customer identificationon: (Required)

CC: Citizenship Card ,

CE: Immigration ID ,

TI: Identity card ,

NI: NIT ,

PE: Special Stay Permit for Venezuelans

svcRqiId: Contains information related to Guid of the domiciled service. (Optional)

processId: Contains information related to Domiciliated service agreement number. (Optional)

pmtRefId: Contains information related to Payment reference. (Optional)

acctId: Contains information related to Account number associated with the direct debit. (Optional)

recordsxPage: Contains information related to Quantity Records. If the parameter is not sent, the api sets 10 (Optional)

initialRecord: Contains information related to Initial Registration. If the parameter is not sent, the api sets 1 (Optional)

Response information:

responseType:

  value: Response information

resultsPagesGeneric:

  totalRecords: Response informatContains information of Total number of existing records.
  recordsxPage: Response informatioContains information of Number of records returned in paging

totalRecords: Contains information of Number of direct debits in a registered state, associated with the entered ID.

entprAgreement []:

notify: Contains information of Indicates if Notify the Direct Debit Agent in the table is enabled :0 = NO , 1 = YES
operationType: Contains information of Indicates if the Debit Agent is enabled in the table: 0 = NO ,1 = YES
orgInfo: orgInfo object
   govIssueIdent: govIssueIdent object
      identserialnum: Contains information related to the identification (Originator Id ).
      govIssueIdentType: Contains information of Type of customer identification PE : Special Stay Permit (for Venezuelans)) , TI :Identity card ,CC : Citizenship Card , NI : NIT ,CE : Immigration ID
      emailAddr: Contains information of Email for domiciliatory table notifications.
      cellphone: Contains information of Phone for notifications address table.
   govOrgName: Contains information of Company name of the Originator.
category: Contains information of Agreement category.
processId: Contains information of Service GuID.
spName: Contains information of Name of the domiciled Service.
xFerInfo: xFerInfo object
  pmtRefId: Contains information of Payment reference name.
  pmtRefId2: Contains information of Additional reference name.
city:Contains information of Name of the city of the service.
acctType: Contains information of Account type.
status: Contains information of Enrollment Status (Cancelado ,Pendiente ,PendienteCancelacion ,Matriculado ,Rechazado)
startDt: Contains information of Registration date
numberOfInstallments: Contains information of Payments MadenumberOfInstallments
svcIdent: Contains information of Agreement number.
govIssueIdent: govIssueIdent object.
  identSerialNum: Contains information related to Identification number of the direct debit customer.
  govIssueIdentType: Contains information of Type of customer identification PE : Special Stay Permit (for Venezuelans)) , TI :Identity card ,CC : Citizenship Card , NI : NIT ,CE : Immigration ID
pmtRefId: Contains information of Payment reference for the domiciled service.
pmtRefId2: Contains information of Additional reference of the domiciled service.
name: Contains information of Name that the domiciliator assigns to the domiciled service.
acctId: Contains information of Account number of the direct debit client.
pmtType: Contains information if Indicates direct debit payment scheme :
        - Al Vencimiento
        - Dias Antes Del Vencimiento
        - Al Recibir Factura
        - Unknown * this value is presented only when flagNotify=1 *
daysBefore: This field indicates how many days before the expiration the direct debit payment is made. Values can be from 1 to 5. If not applicable, the return value is '0'.
condition: Contains information related to Indicates the payment condition :
        - Permanente
        - Hasta Fecha
        - Hasta N Pagos
        - Unknown: * this value is presented only when flagNotify=1 *
totalPmtCount: Contains information of Number of payments .* This field applies when condition = HastaNPagos * If not applicable, the return value is '0'
endDt: Contains information of Deadline ,* This field applies when condition = HastaFecha * .If not applicable, the returned value is the registration date of the direct debit.
flagAllowNotify: Contains information of Allow Notification ,Indicates that the client requires notification of direct debits: 0= No , 1= Yes.
typeTop: Indicates if the client stipulates a maximum value per month for direct debit payment.
maxCurAmt: maxCurAmt object.
  amt: Contains information of Maximum amount.
flagNotify: Indicates that the client only wants to be notified of the arrival of invoices 0= No , 1= Yes.
Response example:
> Response 200.

 {
  "responseType": {
    "value": "OK"
  },
  "resultsPagesGeneric": {
    "totalRecords": 5,
    "recordsxPage": 2
  },
  "totalRecords": 2,
  "entprAgreement": [
    {
      "notify": "0",
      "operationType": "1",
      "orgInfo": {
        "govIssueIdent": {
          "identSerialNum": "345435",
          "govIssueIdentType": "CC"
        },
        "govOrgName": "CLARO"
      },
      "category": "INMOBILIARIAS",
      "processId": "dd5-4d45-198-e54-693e",
      "spName": "CLARO",
      "xFerInfo": {
        "pmtRefId": "Numero de Referencia",
        "pmtRefId2": "Numero de Referencia 2"
      },
      "city": "BOGOTA",
      "acctType": "Ahorros",
      "status": "Pendiente",
      "startDt": "2023-04-04",
      "numberOfInstallments": "1",
      "svcIdent": "23455",
      "govIssueIdent": {
        "identSerialNum": "354456456",
        "govIssueIdentType": "CC",
        "emailAddr": "mail@email.com",
        "cellphone": "445666676"
      },
      "pmtRefId": "23223",
      "pmtRefId2": "4445",
      "name": "PRUEBA DOMI",
      "acctId": "54567",
      "pmtType": "Al Vencimiento",
      "daysBefore": "0",
      "condition": "permanente",
      "totalPmtCount": "1",
      "endDt": "2023-02-04",
      "flagAllowNotify": "0",
      "typeTop": "Monto Maximo",
      "maxCurAmt": {
        "amt": 50000
      },
      "flagNotify": "0"
    },
    {
      "notify": "0",
      "operationType": "1",
      "orgInfo": {
        "govIssueIdent": {
          "identSerialNum": "434345",
          "govIssueIdentType": "CC"
        },
        "govOrgName": "CLARO2"
      },
      "category": "INMOBILIARIAS2",
      "processId": "wqwedd5-4d5-198-e54-693e",
      "spName": "CLAROV",
      "xFerInfo": {
        "pmtRefId": "Numero de Referencia 1",
        "pmtRefId2": "Numero de Referencia 2"
      },
      "city": "MEDELLIN",
      "acctType": "Ahorros",
      "status": "Pendiente",
      "startDt": "2023-01-04",
      "numberOfInstallments": "1",
      "svcIdent": "23455",
      "govIssueIdent": {
        "identSerialNum": "354456456",
        "govIssueIdentType": "CC",
        "emailAddr": "examplemail@email.com",
        "cellphone": "445655666676"
      },
      "pmtRefId": "23223",
      "pmtRefId2": "4445",
      "name": "PRUEBA DOMI",
      "acctId": "54567",
      "pmtType": "Al Vencimiento",
      "daysBefore": "0",
      "condition": "permanente",
      "totalPmtCount": "1",
      "endDt": "2023-02-04",
      "flagAllowNotify": "0",
      "typeTop": "Monto Maximo",
      "maxCurAmt": {
        "amt": 6000
      },
      "flagNotify": "0"
    }
  ]
}
> Errors.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "SQLCODE",
        "errorDesc": "ERROR DE INICIO TP",
        "errorType": "TPS"
    }
}

Error codes.

HTTP CodeError CodeError TypeDescription
500SQLCODETPSERROR DE INICIO TP
50002601DBAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
40420108RGNEL NUMERO DE REGISTROS ES OBLIGATORIO.
40420109RGNEL NUMERO DE PAGINA ES OBLIGATORIO
40420125RGNEL TIPO Y NUMERO DE IDENTIFICACIÓN SON PARAMETROS OBLIGATORIOS
40020126RGNNO EXISTEN REGISTROS PARA LA CONSULTA
> Diagram of sequence.

resources/DiagramaSecuenciaConsultarDomiciliaciones-7ff8b1a9-68bb-4bc1-bbe4-03189f0bf5cb.jpg


- Enable/Disable services (Domiciliation)

Description: This resource allows you to activate or deactivate a domiciled service.

Path [PUT]:

/payments-management/v1/domiciliation

Request information:

entprAgreement: (Required)

operationType: Contains information related to Type of operation to be performed (activate , deactivate) (Required)
svcIdent: Contains information related to domiciled service agreement code (Only required when in field flagNotify = false ) .(Optional)
acctId: Account number of domiciliator (Only required when in field flagNotify = false ). (Optional)
maxCurAmt:
   amt: Information related to value of the maximum monthly amount for direct debit payment (Only required when in field flagNotify = false ) (Optional)
flagNotify: Contains information of the client if only wants to be notified of the arrival of the invoices. (Required)
processId: Contains information of GUID of the service. (Required)

govIssueIdent: (Required)

identSerialNum: Contains information related to customer identification. (Required)
govIssueIdentType: Type of customer identification : (Required)
                     PE : Special Stay Permit (for Venezuelans)) ,
                     TI :Identity card ,
                     CC : Citizenship Card ,
                     NI : NIT ,<br>
                     CE : Immigration ID
contactInfo:
   emailAddr: Contains information related to contactInfo. (Optional)
   cellPhone: CellPhone number. (Optional)

transaction: (Required)

refId: Direct debit payment reference. (Required)

Request information example:

  {
  "entprAgreement": {
    "operationType": "activate",
    "svcIdent": "54645656",
    "acctId": "34545645",
    "maxCurAmt": {
      "amt": 500
    },
    "flagNotify": true,
    "processId": "5ef-0f81-4705-54-10b59cd6"
  },
  "govIssueIdent": {
    "identSerialNum": "986659849",
    "govIssueIdentType": "CC",
    "contactInfo": {
      "emailAddr": "myemail@mail.com",
      "cellPhone": "3434456456"
    }
  },
  "transaction": {
    "refId": "7123"
  }
}
> Errors.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "SQLCODE",
        "errorDesc": "ERROR DE INICIO TP",
        "errorType": "TPS"
    }
}

Error codes.

HTTP CodeError CodeError TypeDescription
500SQLCODETPSERROR DE INICIO TP
500ZEROSTPSERROR DE INICIO TX
500ZEROSTPXERROR EN COMMIT DE LA TRANSACCION
40002110RGNNO HAY DATOS VALIDIDOS PARA NOTIFICAR
40014252TPSVERIFIQUE STATUS FSMATE_VALMATEM
50002601DBAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
40020102RGNESTA EN CURSO UNA SOLICITUD DE CANCELACION
40020103RGNESTA EN CURSO UNA SOLICITUD DE CANCELACION
40020104RGNNO SE ENCUENTRA AUN EN ESTADO MATRICULADO
40020105RGNLA DOMICILIACION YA SE ENCUENTRA MATRICULADA
40020106RGNESTA EN CURSO UNA SOLICITUD DE ACTIVACION
40420107RGNFORMATO INCORRECTO DEL FLAG DEBE SER D O A
500ZEROSTPSERROR DE INICIO TX
500ZEROESTPSERROR DE INICIO TUXEDO
500SQLCODEORAERROR DEVUELTO POR ORACLE
40410002INPLOS DATOS DE LA SOLICITUD NO SON CORRECTOS
40000001RNENO HAY MATRÍCULAS CON ESOS CRITERIOS
40000103RNEMATRÍCULA DESHABILITADA Y VALOR DE MATRÍCULA SUPERA EL TOPE
40400101RNEVALOR DE MATRÍCULA SUPERA EL TOPE ACTUAL
40000102RNEMATRÍCULA SE ENCUENTRA DESHABILITADA
40000005RNENO EXISTE REGISTRO PARA LA CUENTA
40400001INPMENSAJE ENTRADA VACIO O NULO
40400002INPERROR EN LA LONGITUD DE LA TRAMA DE ENTRADA.
40400003INPLOS DATOS DE ENTRADA SON INCORRECTOS
40000004INPPARAMETROS DE PLANTILLA DE NOTIFICACION INCORRECTOS
50000001BDAERROR AL CERRAR LOS RECURSOS ABIERTOS
50000002BDANO ES POSIBLE OBTENER CX A BM DEL POOL
50000003BDAERROR EN LA INVOCACION DE QUERY
50000004BDANO SE ENCUENTRA PLANTILLA PARA ENVIO DE NOTIFICACION
40000005BDANO SE ENCONTRO NUMERO DE CELULAR ASOCIADO AL CLIENTE
50000001EXPEXCEPCION INESPERADA
> Diagram of sequence.

resources/DiagramaSecuenciaActivarDesactivarServicios-c75e5088-f800-44e5-9169-14b439b3e7f3.jpg


- Validate Domiciliation Registration (GET)

Description: This resource returns whether or not a domiciliation register exists

Path:

/payments-management/v1/domiciliation/validation/{acctid}

URI parameters

acctid: Contains information related to account number

Query parameters

svcident: Contains information related to agreement number

Response information:

entprAgreement: Contains information about the domiciliation registration

 flagExist:  Contains information about the existence of the domiciliation registration

Body response example:

> Response 200.
{
    "responseType": {
        "value": "OK"
    },
    "entprAgreement":{
        "flagExist": false
    }
}
> Errors.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "02601",
        "errorDesc": "ERROR EJECUTANDO PROCEDIMIENTO ALMACENADO",
        "errorType": "DBA"
    }
}

####

> Diagram of sequence.

resources/image-4b469652-7b70-4f9c-9728-2208f47ec8a6.png

Error codes.

HTTP CodeError CodeError TypeDescription
500SQLCODETPSERROR DE INICIO TP
50002601DBAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO

- Last Ten Domiciliation Payments (GET)

Description: This resource returns the last ten domiciliation payments

Path:

/payments-management/v1/domiciliation/payments/{identserialnum}

URI parameters

identserialnum: Contains information related the number customer Identification

Query parameters

govissueidenttype: Contains information related to the type of customer identification (NI, CC, TI, CE, PE)

Response information:

resultsPagesGeneric: Contains information about the ResultsPagesGeneric

 totalRecords:  Contains information about the total records

entprAgreement: Array that contains information about the ResultsPagesGeneric

 name:  Contains information related to service name
 transaction:  Contains information about the transaction
    pmtRefId:  Contains information about the main reference
    pmtRefId2:  Contains information about the secondary reference
    amt:  Contains information about the amount
    processDate:  Contains information about the payment date
    trnSrc:  Contains information related to the invoice origin ("BCSC", "RedebanMulticolor")
 trnSrcInfo:  Contains information about the transaction source
    channel:  Contains information about the channel
    name:  Contains information about the channel name

Body response example:

> Response 200.
{
    "responseType": {
        "value": "OK"
    },
    "resultsPagesGeneric": {
        "totalRecords": 10
    },
    "entprAgreement": [
        {
            "name": "DUQUESA_MULTI CC11897",
            "transaction": {
                "pmtRefId": "123370",
                "pmtRefId2": null,
                "amt": 316400.00,
                "processDate": "2020-02-27",
                "trnSrc": "BCSC"
            },
            "trnSrcInfo": {
                "channel": "07",
                "name": "APLICACION MOVIL BANCA PERSONAS"
            }
        },
        {
            "name": "DUQUESA_MULTI CC11897",
            "transaction": {
                "pmtRefId": "123370",
                "pmtRefId2": null,
                "amt": 4108.00,
                "processDate": "2020-02-14",
                "trnSrc": "BCSC"
            },
            "trnSrcInfo": {
                "channel": "07",
                "name": "APLICACION MOVIL BANCA PERSONAS"
            }
        },
        {
            "name": "DUQUESA_MULTI CC11897",
            "transaction": {
                "pmtRefId": "123370",
                "pmtRefId2": null,
                "amt": 5408.00,
                "processDate": "2020-02-13",
                "trnSrc": "BCSC"
            },
            "trnSrcInfo": {
                "channel": "07",
                "name": "APLICACION MOVIL BANCA PERSONAS"
            }
        },
        {
            "name": "AGUA Y ALCANTARILLADO DE BOGOTA",
            "transaction": {
                "pmtRefId": "38953411212",
                "pmtRefId2": null,
                "amt": 329220.00,
                "processDate": "2019-08-29",
                "trnSrc": "RedebanMulticolor"
            },
            "trnSrcInfo": {
                "channel": "01",
                "name": "CAJEROS AUTOMATICOS PROPIOS"
            }
        },
        {
            "name": "CLARO",
            "transaction": {
                "pmtRefId": "404011",
                "pmtRefId2": null,
                "amt": 18000.00,
                "processDate": "2019-07-19",
                "trnSrc": "RedebanMulticolor"
            },
            "trnSrcInfo": {
                "channel": "14",
                "name": "PROGRAMACION DE PAGOS"
            }
        },
        {
            "name": "COLEGIO JONATHAN SWIFT",
            "transaction": {
                "pmtRefId": "125431430330794",
                "pmtRefId2": null,
                "amt": 4644.00,
                "processDate": "2019-05-30",
                "trnSrc": "BCSC"
            },
            "trnSrcInfo": {
                "channel": "07",
                "name": "INTERNET BANCA PERSONAL"
            }
        },
        {
            "name": "COLEGIO JONATHAN SWIFT",
            "transaction": {
                "pmtRefId": "10011",
                "pmtRefId2": null,
                "amt": 225110.00,
                "processDate": "2019-05-24",
                "trnSrc": "BCSC"
            },
            "trnSrcInfo": {
                "channel": "07",
                "name": "INTERNET BANCA PERSONAL"
            }
        },
        {
            "name": "COLEGIO JONATHAN SWIFT",
            "transaction": {
                "pmtRefId": "10011",
                "pmtRefId2": null,
                "amt": 225110.00,
                "processDate": "2019-05-24",
                "trnSrc": "BCSC"
            },
            "trnSrcInfo": {
                "channel": "07",
                "name": "INTERNET BANCA PERSONAL"
            }
        },
        {
            "name": "COLEGIO JONATHAN SWIFT",
            "transaction": {
                "pmtRefId": "1356978411191",
                "pmtRefId2": null,
                "amt": 1000.00,
                "processDate": "2019-05-06",
                "trnSrc": "BCSC"
            },
            "trnSrcInfo": {
                "channel": "07",
                "name": "INTERNET BANCA PERSONAL"
            }
        },
        {
            "name": "EPM",
            "transaction": {
                "pmtRefId": "634879697",
                "pmtRefId2": null,
                "amt": 845388.91,
                "processDate": "2018-08-14",
                "trnSrc": "RedebanMulticolor"
            },
            "trnSrcInfo": {
                "channel": "01",
                "name": "CAJEROS AUTOMATICOS PROPIOS"
            }
        }
    ]
}
> Errors.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "20126",
        "errorDesc": "NO EXISTEN REGISTROS PARA LA CONSULTA",
        "errorType": "RGN"
    }
}
> Diagram of sequence.

resources/image-83d60fd9-51ef-49ad-a518-049c624bf54a.png

Error codes.

HTTP CodeError CodeError TypeDescription
500SQLCODETPSERROR DE INICIO TP
500ZEROSTPSERROR DE INICIO TX
500ZEROSTPXERROR EN COMMIT DE LA TRANSACCION
40002110RGNNO HAY DATOS VALIDIDOS PARA NOTIFICAR
40014252TPSVERIFIQUE STATUS FSMATE_VALMATEM
50002601DBAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
40020102RGNESTA EN CURSO UNA SOLICITUD DE CANCELACION
40020103RGNESTA EN CURSO UNA SOLICITUD DE CANCELACION
40020104RGNNO SE ENCUENTRA AUN EN ESTADO MATRICULADO
40020105RGNLA DOMICILIACION YA SE ENCUENTRA MATRICULADA
40020106RGNESTA EN CURSO UNA SOLICITUD DE ACTIVACION
40420107RGNFORMATO INCORRECTO DEL FLAG DEBE SER D O A
500ZEROSTPSERROR DE INICIO TX
500ZEROESTPSERROR DE INICIO TUXEDO
500SQLCODEORAERROR DEVUELTO POR ORACLE
40010002INPLOS DATOS DE LA SOLICITUD NO SON CORRECTOS
40000001RNENO HAY MATRÍCULAS CON ESOS CRITERIOS
40000103RNEMATRÍCULA DESHABILITADA Y VALOR DE MATRÍCULA SUPERA EL TOPE
40400001INPMENSAJE ENTRADA VACIO O NULO
40400002INPERROR EN LA LONGITUD DE LA TRAMA DE ENTRADA.
40400003INPLOS DATOS DE ENTRADA SON INCORRECTOS
40000004INPPARAMETROS DE PLANTILLA DE NOTIFICACION INCORRECTOS
50000001BDAERROR AL CERRAR LOS RECURSOS ABIERTOS
50000002BDANO ES POSIBLE OBTENER CX A BM DEL POOL
50000003BDAERROR EN LA INVOCACION DE QUERY
50000004BDANO SE ENCUENTRA PLANTILLA PARA ENVIO DE NOTIFICACION
40000005BDANO SE ENCONTRO NUMERO DE CELULAR ASOCIADO AL CLIENTE
50000001EXPEXCEPCION INESPERADA

- Get Contact Data (GET)

Description: This resource returns the domiciliation contact data

Path:

/payments-management/v1/domiciliation/contact/{identserialnum}

URI parameters

identserialnum: Contains information related the number customer Identification

Query parameters

govissueidenttype: Contains information related to the type of customer identification (NI, CC, TI, CE, PE)

Response information:

entprAgreement: Object that contains contact data information

  contactInfo: Contact Info Object
    emailAddr: Contact Email
    cellPhone: Contact CellPhone

Body response example:

> Response 200.
{
    "responseType": {
        "value": "OK"
    },
    "entprAgreement": {
        "contactInfo": {
            "emailAddr": "ppirbmemilio1@bancocajasocial.com",
            "cellPhone": "3165225790"
        }
    }
}
> Errors.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "20012",
        "errorDesc": "NO EXISTE EL DOMICILIADOR CONSULTADO",
        "errorType": "RGN"
    }
}
> Diagram of sequence.

resources/DiagramaSecuenciaConsultarDatosContacto-93151027-0ed1-427f-8610-a2f31113921a.jpg

Error codes.

HTTP CodeError CodeError TypeDescription
500SQLCODETPSERROR DE INICIO TP
50002601DBAERROR EJECUTANDO PROCEDIMIENTO ALMACENADO
40020012RGNNO EXISTE EL DOMICILIADOR CONSULTADO

Bills:

Path: /payments-management/v1/bills/


- Modify bill status (PUT):

Description: This service is used to modify the status of an invoice.

Path:

/payments-management/v1/bills/status:

Request information:

invoicePmtInfo: InvoicePmtInfo object
    invoiceInfo: InvoiceInfo object
        invoiceNum: Contains information related to the invoice identification
        status: Contains information related to the invoice status (Available, Processing)

Response information:

> Response 200.
{
  "responseType": {
    "value": "OK"
  }
}
> Error response.
Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    {
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "",
        "errorDesc": "",
        "errorType": ""
    }
}
> Diagram of sequence.
> Errors Code.
HTTP CodeError CodeError TypeDescription

BCS Minisite Service

This service is exposed allows the web portal of the minisite to Consult the information of a specific transaction and confirm the final status of the same to the web service component of Banco Caja Social

-getTrxInformationPayMinisitioByUUID :

Path: /payments-management/v1/pse-minisite/trn/{trnrquid}

Method: GET

Description: For this service is the "WS Minisite" component validates the data received, verifies the status of the transaction and returns a response to the channel that made the consumption.

URI parameters

trnrquid: Contains information related to transaction number.( ej. 40582204652432563 ) (Required)

Query parameters

bankChannel: Contains information of bank through which the transaction is made. (Required)

 -businessBanking

 -personalBanking

Response information:

entprAgreement: Object that contains contact data information

 responseType: responseType Object
    value: Contains information of Reponse type
 xFerInfo: xFerInfo Object
    status : Contains information about Payment status on the bank's minisite. [OK ,PENDING ,ER]
    endDt : Contains information of date and time the transaction ends on the minisite .
    url :  Url where the client should be directed when the transaction is finished on the BCS minisite
    pseTrnCode : Authorization number ,Authorization code assigned by the bank when the transaction is completed successfully It is sent when xFerInfo.status
                 is OK.
    desc: Contains information about Merchant for which the transaction is made
    pmtRefId: Contains information of payment reference Id
    pmtRefId2: Contains information of payment reference Id 2
    pmtRefId3: Contains information of payment reference Id 3
    pmtRefId4: Notification Code
    curAmt: curAmt object
      amt: Contains information related to the transaction value
    flagHeader: Defines if the page header should be displayed depending on whether the transaction is made through the web page or the mobile app.
 transaction: transaction Object
    trnRquId: Contains information of transaction Number.
 orgInfo: orgInfo Object
    name: Contains information related to Trade name.
 pmtInfo: pmtInfo Object
    eanCode: Contains information of Ean Code.
    dueDt : Contains information of product expiration date.
    flagRefOrInvoice:  Contains information of indicator if the payment is by reference or invoice.
  invoicePmtInfo: invoicePmtInfo  Object
    billerNum:  Contains information related to the ticket Id
  entprAgreement: entprAgreement Object
    name: Contains information related to Agreement Name
    scvIdent: Contains information related to Convention Code.
    entprAgrmntType: Contains information related to type of collection.
    govIssueIdent: govIssueIdent  Object
      identSerialNum:  Contains information related to Company Mnemonic
      govIssueIdentType:  Contains information related Company Mnemonic

Body response example:

> Response 200.

{
  "responseType": {
    "value": "OK"
  },
  "responseDetail": {
    "errorType": "RGN",
    "errorCode": "00009",
    "errorDesc": "Tiempo de transacción excedido"
  },
  "xFerInfo": {
    "status": "OK",
    "endDt": "2022-07-05T01:05:10",
    "url": "https://www.comercio.com.co/Transaction?ID=383912",
    "pseTrnCode": "546567567",
    "desc": "Movist4r service",
    "pmtRefId": "2334234",
    "pmtRefId2": "545645",
    "pmtRefId3": "435345345",
    "pmtRefId4": "",
    "curAmt": {
      "amt": 342000
    },
    "flagHeader": "1"
  },
  "transaction": {
    "trnRquId": "APIE230455675597"
  },
  "orgInfo": {
    "name": "Comercio Pruebas"
  },
  "pmtInfo": {
    "eanCode": "77715542354",
    "dueDt": "2022-03-05",
    "flagRefOrInvoice": "1"
  },
  "invoicePmtInfo": {
    "billerNum": "564634"
  },
  "entprAgreement": {
    "name": "COLEGIO DOMAN",
    "scvIdent": "159654459",
    "entprAgrmntType": "REC",
    "govIssueIdent": {
      "identSerialNum": "344564645",
      "govIssueIdentType": "CC"
    }
  }
}

> Error response.

Additional the error code of APIKit this resource it has some custom errors code or business errors and all errors used the following structure.
{
    {
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "00004",
        "errorDesc": "Fondos Insuficientes",
        "errorType": "VAL"
    }
}

Error codes.

HTTP CodeError CodeError TypeDescription
40000001VALInconsistencia en los datos recibidos
40000002VALFecha inválida
40000003VALNúmero de trx inválido. (Ya existe una trx con el id indicado)
40000004VALFondos Insuficientes
40000005VALProductos no disponibles para realizar el pago
40000006VALNúmero de trx inválido
40000007VALEstado de la trx inválido
40000008VALValor de la transacción inválido
40000009VALUUID inválido
40000010VALCódigo de Banca inválido
40000011VALValor de la transacción supera el límite permitido
40000001AUTAutenticación inválida
40000001RGNCancelación del pago por parte del Cliente
40000002RGNError técnico en el Minisito
40000004RGNTimeout de sesión
40000005RGNError al realizar el pago
40000006RGNEstado de la transacción invalido
40000007RGNHorario no permitido para realizar la transacción
50000001BDError con BD
40000008RGNError no descrito
40000009RGNTiempo de transacción excedido
> Diagram of sequence.

####

resources/DiagramaSecuenciaGetTrxInformationPayMinisitioByUUID-e1ee1fbc-717f-4339-91fe-60eb18cf35ea.jpg


confirmTrxPayMinisitio:

Path: /payments-management/v1/pse-minisite/trn

Method: PUT

Description: For WS Minisite component records the information received in the TRX_MINISITIO table in the corresponding database according to the bank through which the transaction is made.

Body request :

  transaction
    trnrqUid: Unique number assigned to the transaction by mipagoamigo. (Required)

  xFerInfo:
    status: Contains information about the transaction status [ok , error , pending]  (Required)
    endDt: Contains information of transaction end date. Format yyyy-MM-ddThh:mm:ss  (Required)
    pseTrnCode:  PSE transaction code  (Required)
    bankChannel:  Contains information of Bank Channel. [ businessBanking , personalBanking] (Required)

  responseDetail:  Required only when xFerInfo.status = "error"
    errorType:  Error type.
    errorCode:  Error code.
    errorDesc: Error description.

Body request example :

{
  "transaction": {
    "trnrqUid": "54562234"
  },
  "xFerInfo": {
    "status": "error",
    "endDt": "2023-04-04T01:05:10",
    "pseTrnCode": "43455645",
    "bankChannel": "businessBanking"
  },
  "responseDetail": {
    "errorType": "ER",
    "errorCode": "23443",
    "errorDesc": "Error description"
  }
}

Body response example:

> Response 201.
*Note: The communication is asynchronous and therefore the web portal of the Banco Caja Social Minisite does not expect a response, however, it has been decided to return a type of response from the OSB, this response indicates that the request has been sent without problem by part of the OSB. This response does NOT correspond to the confirmTrxPayMinisite response, only to the communication between it and the OSB.
  {
  "responseType": {
    "value": "OK"
  }

Error codes.

HTTP CodeError CodeError TypeDescription
NANANANA
> Diagram of sequence.

####

resources/DiagramaSecuenciaConfirmTrxPayMinisitio-c0097478-1b22-4b30-af11-78a4e215fd9e.jpg


NotificationPayments:

Path: /payments-management/v1/payments/notifications

Method: POST

Description: Operation that notifies the payments of an account.

Body request :

  pmtInfo:
    pmtId: Identifier of the payment. (Required)
    pmtType: Payment type indicator. (Required)
    acctId: A data item containing a series of digits and/or characters which identify a customer account. Sometimes known as account number.
    origDt: Contains information of transaction origin date. Format yyyy-MM-dd  (Required)
    effDt: Contains information of transaction end date. Format yyyy-MM-dd  (Required)
    totalcurAmt:
        amt: Payment amount. (Required)
    notification:
        pmtType: Payment type. (Required)
            - RV: Reverso Pago.
            - RE: Pago Efectivo.
  govIssueIdent:
    identSerialNum: Contains information related to payer identification number.
    govIssueIdentType: Contains information related to payer identification type:
                 - RC: Registro civil.
                 - TI: Tarjeta de Identidad.
                 - CC: Cédula de ciudadanía.
                 - TE: Tarjeta de Extranjeria.
                 - CE: Cedula de Extranjería.
                 - NI: NIT.
                 - PA: Pasaporte.
                 - DE: Documento de Identificación Extranjero.

Body request example :

{
    "pmtInfo": {
        "pmtId": "2333",
        "pmtType": "EFEC",
        "acctId": "222",
        "origDt": "2023-05-02",
        "effDt": "2023-05-02",
        "totalcurAmt": {
            "amt": 589000.0
        },
        "notification": {
            "pmtType": "RE"
        }
    },
    "govIssueIdent": {
        "identSerialNum": "1129490946",
        "govIssueIdentType": "CC"
    }
}

Body response example:

> Response 201.
 {
  "pmtInfo": {
    "pmtId": "23232222",
    "acctId": "45344345354",
    "transaction": {
      "trnRqUid": "1234AF1232-E123",
      "desc": "Transaccion Exitosa"
    }
  }
}

Error codes.

HTTP CodeError CodeError TypeDescription
5001002VALTransaccion No Exitosa.
500100VALNo existen datos con los parametros enviados.
500101VALProblemas conectando a la BD.
500102VALTiempo de respuesta agotado.
> Diagram of sequence.

- Consult Own Payment

Description:

This service allows consult PP

Path:

POST: /payments-management/v1/consult-own-payment:

Request Data:

Headers:

NameDescriptionExampleCommentsRequired
client_idIdentificador del clientef1b1247...SI
client_secretClave del clienteb124731b4...SI
AuthorizationToken GeneradoBearer WxN_AU...SI
Accept/SI
X-Invoker-ChannelChannel of origin of consumptionValor fijo 13 (Corresponsal bancario)SI
X-Invoker-ATMIdAmt codeEnviar espaciosNO
X-Invoker-BranchIdOffice codeValor fijo “1108”SI
X-Invoker-TerminalIdTerm codeCodigo de la terminal donde se ejecuta la txSI
X-Invoker-ComponentComponentEnviar espaciosNO
X-Invoker-UserIPAddressClient IP AddressIP de la terminal que ejecuta la aplicaciónSI
X-Invoker-ServerIPAddressServer IP AddressIP servidor de aplicación que ejecuta la transacciónSI
X-Invoker-UserMACAddressClient MAC AddressDato esperable, SI por limitantes técnicas o de seguridad NO se pudiera obtener, se enviaria completo con ceros en formato MACNO
X-Invoker-ServerMACAddressServer MAC AddressDato esperable, SI por limitantes técnicas o de seguridad NO se pudiera obtener, se enviaria completo con ceros en formato MACNO
X-Invoker-ProcessDateProcess dateFormato AAAA-MM-DDSI
X-Invoker-TxIdId TXDato esperable, identificador unico de la transacción/llamado al core. Largo máximo 16 caracteres. APIF+fecha juliana + 32 + Número de Autorización APIF : Es una constante que identifica que la transacción se realizó por el canal de Corresponsal bancario La fecha Juliana: Son 4 dígitos, en donde el primero corresponde al último dígito del año en curso y los 3 SIguientes al número de días transcurridos en el año hasta la fecha actual. Código del banco= 32 Número de Autorización: son 10 dígitos generados de manera aleatoria.SI
X-Invoker-SesSIonKeySesSIon keyTOKEN del consumo al API 30 primeras poSIcionesSI
X-Invoker-SourceOriginCampo nuevo – Valor fijo “18”NO
X-Invoker-CountryCountryCampo nuevo – Valor fijo “CO”SI
X-Invoker-ProcessBpmIdID BPM processEnviar espaciosNO
X-Invoker-ProcesSIdProcess ID"Obligatorio solo para los servicios de Aplicación contable, opcional para consulta, se debe enviar el mismo ID Tx utilizado en la consulta par de la transacción aSI: IDTX consulta 1234, ProcceSId Pago: 1234"SI
X-Invoker-NetworkNetEnviar espaciosNO
X-Invoker-subChannelSubchannel with which the transaction must be registeredValor fijo “07”SI
X-Invoker-UserUserValor fijo “NEWCBSER”SI
X-Invoker-ActionAction"C --> Create (Aplicación de negocio) R -- > Read (Consulta)"SI
X-Invoker-DestinationDestinationEnviar espaciosNO
X-Invoker-ModifierUserModification userValor fijo “NEWCBSER”SI
X-Invoker-ReferencedNumberReference numberEnviar espaciosNO
X-Invoker-RequestNumberRequest numberEnviar espaciosNO
X-Invoker-CustIdCustIdEnviar espaciosNO
X-Ident-DeviceFingerPrintDeviceFingerPrintEnviar espaciosNO
x-invoker-allyClient codeEnviar espaciosNO

Request Body:

Field NameDescriptionTypeComments
trn.transactionHourHora local de la transaccióntimeHH:MM:SS ejemplo: 15:37:59
trn.codeCódigo del punto de servicioStringCódigo sitio:123456789123456
trn.refIdCodigo ConvenioString15999991
trn.trnRqUIDNúmero de auditoría para seguimiento del sistemaStringNumero unico de 6 digitos generado por el canal (Número asignado por el originador del requerimiento de transacción. - P11)
trn.branchNameNombre PDSStringNombre PDS ejemplo: MI OFICINA BETTY
trn.cityIdCodigo Dane MunicipioStringCodigo georeferenciacion DANE longitud 6, ejemplo: 25386 (LA MESA)
trn.cityNombre Dane municipioStringNombre georeferenciacion DANE ejemplo: LA MESA
trn.stateProvCo0digo Dane departamentoStringCodigo georeferenciacion DANE longitud 2 ejemplo: 25 (CUNDINAMARCA)
trn.aditionalData[].{"name": "ref1", "value":"0399200339917"}Informacion referencia 1StringDato que contiene la informacion para la referencia 1 Ejemplo [0399200339917 ]
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Nombre referencia 1StringDato que contiene el nombre para la referencia 1 [Numero de Producto ]
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Informacion referencia 2StringDato que contiene la informacion para la referencia 1 Ejemplo [Pago pension ]
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Nombre referencia 2StringDato que contiene el nombre para la referencia 1 [Descripcion ]
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Informacion referencia 3StringDato que contiene la informacion para la referencia 3
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Nombre referencia 3StringDato que contiene el nombre para la referencia 3
trn.govIssueIdentTypetipoIdentificacionStringTipo de identificacion del titular del producto PPP
trn.identSerialNumnumeroIdentificacionStringNumero de identificacion del titular del producto PPP

Request Example:

{
  "trn": {
    "transactionHour": "15:37:59",
    "code": "123456789123456",
    "refId": "12321414",
    "trnRqUID": "123456",
    "branchName": "MI OFICINA BETTY",
    "cityId": "25386",
    "city": "LA MESA",
    "stateProv": "25",
    "aditionalData": [
      {
        "name": "nombre referencia 1",
        "value":"0399200339917"
      },
      {
        "name": "nombre referencia 2",
        "value":"0399200339917"
      },
      {
        "name": "nombre referencia 3",
        "value":"0399200339917"
      }
    ],
    "govIssueIdentType": "CC",
    "identSerialNum": "1143935925"
  }
}

Response Body:

Field NameDescriptionTypeComments
trn.personName.fullNameNombre TitularStringNombre del titular
trn.approvalIdCodigoAutorizacionStringCpdigo autorizacion
trn.minCurAmt.amtPago minimoStringPago minimo a pagar
trn.totalCurAmt.amtPago TotalStringPago maximo a pagar
responseDetail.errorCodecodigoErrorStringNúmero de identificación del error
responseDetail.errorDescdescripcionErrorStringDescribe el tipo de error que se presentó durante la ejecución.
responseDetail.errorTypetipoErrorStringDescribe si el error fue de base de datos o de regla de negocio.
responseType.valuetipoRespuestaStringManejar validacion del ER o OK

Success Response Example:

{
  "responseType": {
      "value": "OK"
  },
  "trn": {
    "personName": {
      "fullName": "full name"
    },
    "approvalId": "Z69599FB119FB12927E1",
    "minCurAmt": {
      "amt": 99
    },
    "totalCurAmt": {
      "amt": 99
    }
  }
}

Response Error Example:

{
    "responseType": {
        "value": "ER500"
    },
    "responseDetail": {
        "errorCode": "",
        "errorDesc": "",
        "errorType": ""
    }
}

Diagram of sequence


- Own Payment

Description:

This service allows PPP

Path:

POST: /payments-management/v1/own-payment:

Request Data:

Headers:

NameDescriptionExampleCommentsRequired
client_idIdentificador del clientef1b1247...SI
client_secretClave del clienteb124731b4...SI
AuthorizationToken GeneradoBearer WxN_AU...SI
Accept/SI
X-Invoker-ChannelChannel of origin of consumptionValor fijo 13 (Corresponsal bancario)SI
X-Invoker-ATMIdAmt codeEnviar espaciosNO
X-Invoker-BranchIdOffice codeValor fijo “1108”SI
X-Invoker-TerminalIdTerm codeCodigo de la terminal donde se ejecuta la txSI
X-Invoker-ComponentComponentEnviar espaciosNO
X-Invoker-UserIPAddressClient IP AddressIP de la terminal que ejecuta la aplicaciónSI
X-Invoker-ServerIPAddressServer IP AddressIP servidor de aplicación que ejecuta la transacciónSI
X-Invoker-UserMACAddressClient MAC AddressDato esperable, si por limitantes técnicas o de seguridad no se pudiera obtener, se enviaria completo con ceros en formato MACNO
X-Invoker-ServerMACAddressServer MAC AddressDato esperable, si por limitantes técnicas o de seguridad no se pudiera obtener, se enviaria completo con ceros en formato MACNO
X-Invoker-ProcessDateProcess dateFormato AAAA-MM-DDSI
X-Invoker-TxIdId TXDato esperable, identificador unico de la transacción/llamado al core. Largo máximo 16 caracteres. APIF+fecha juliana + 32 + Número de Autorización APIF : Es una constante que identifica que la transacción se realizó por el canal de Corresponsal bancario La fecha Juliana: Son 4 dígitos, en donde el primero corresponde al último dígito del año en curso y los 3 siguientes al número de días transcurridos en el año hasta la fecha actual. Código del banco= 32 Número de Autorización: son 10 dígitos generados de manera aleatoria.SI
X-Invoker-SessionKeySession keyTOKEN del consumo al API 30 primeras posicionesSI
X-Invoker-SourceOriginCampo nuevo – Valor fijo “18”NO
X-Invoker-CountryCountryCampo nuevo – Valor fijo “CO”SI
X-Invoker-ProcessBpmIdID BPM processEnviar espaciosNO
X-Invoker-ProcessIdProcess ID"Obligatorio solo para los servicios de Aplicación contable, opcional para consulta, se debe enviar el mismo ID Tx utilizado en la consulta par de la transacción asi: IDTX consulta 1234, ProccesId Pago: 1234"SI
X-Invoker-NetworkNetEnviar espaciosNO
X-Invoker-subChannelSubchannel with which the transaction must be registeredValor fijo “07”SI
X-Invoker-UserUserValor fijo “NEWCBSER”SI
X-Invoker-ActionAction"C --> Create (Aplicación de negocio) R -- > Read (Consulta)"SI
X-Invoker-DestinationDestinationEnviar espaciosNO
X-Invoker-ModifierUserModification userValor fijo “NEWCBSER”SI
X-Invoker-ReferencedNumberReference numberEnviar espaciosNO
X-Invoker-RequestNumberRequest numberEnviar espaciosNO
X-Invoker-CustIdCustIdEnviar espaciosNO
X-Ident-DeviceFingerPrintDeviceFingerPrintEnviar espaciosNO
x-invoker-allyClient codeEnviar espaciosNO

Request Body:

Field NameDescriptionTypeComments
trn.transactionHourHora local de la transaccióntimeHH:MM:SS ejemplo: 15:37:59
trn.codeCódigo del punto de servicioString
trn.depAcctIdFrom.acctIdNumero Cuenta a debitarString
trn.trnRqUIDNúmero de auditoría para seguimiento del sistemaString
trn.branchNameNombre PDSString
trn.cityIdCodigo Dane MunicipioString
trn.cityNombre Dane municipioString
trn.stateProvCo0digo Dane departamentoString
trn.typeTipo transaccionStringN -> Normal, R->Reverse
trn.RefIdCodigo convenioString15999991
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Referencia de pago 1String
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Nombre referencia 1String
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Referencia de pago 2String
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Nombre referencia 2String
trn.TotalCurAmt.AmtPago TotalNumberEnviar el pago total retornado en la consulta
trn.MinCurAmt.AmtValor a pagar MinimoNumberEnviar el valor a pagar mínimo retornado en la consulta
trn.CurAmt.AmtValor a pagar otro valorNumberEnviar el valor que el cliente va a pagar
trn.govIssueIdentTypetipoIdentificacionStringTipo de identificacion del titular del producto PPP
trn.identSerialNumnumeroIdentificacionStringNumero de identificacion del titular del producto PPP

Request Example:

{
  "trn": {
    "transactionHour": "15:37:59",
    "code": "123456789123456",
    "depAcctIdFrom": {
      "acctId": "12321414"
    },
    "trnRqUID": "123456",
    "branchName": "MI OFICINA BETTY",
    "cityId": "25386",
    "city": "LA MESA",
    "stateProv": "25",
    "type": "Normal",
    "refId": "123456",
    "aditionalData": [
      {
        "name": "Nombre referencia 1",
        "value":"Referencia de pago 1"
      },
      {
        "name": "Nombre referencia 2",
        "value":"Referencia de pago 2"
      },
      {
        "name": "Nombre referencia 3",
        "value":"Referencia de pago 3"
      }
    ],
    "totalCurAmt": {
      "amt": 99
    },
    "minCurAmt": {
      "amt": 99
    },
    "curAmt": {
      "amt": 99
    },
    "govIssueIdentType": "CC",
    "identSerialNum": "1143935925"
  }
}

Response Body:

Field NameDescriptionTypeComments
trn.personName.fullNameNombre TitularStringNombre del titular
trn.approvalIdCodigoAutorizacionStringCpdigo autorizacion
responseDetail.errorCodecodigoErrorStringNúmero de identificación del error
responseDetail.errorDescdescripcionErrorStringDescribe el tipo de error que se presentó durante la ejecución.
responseDetail.errorTypetipoErrorStringDescribe si el error fue de base de datos o de regla de negocio.
responseType.valuetipoRespuestaStringManejar validacion del ER o OK

Success Response Example:

{
  "responseType": {
      "value": "OK"
  },
  "trn": {
    "personName": {
      "fullName": "full name"
    },
    "approvalId": "Z69599FB119FB12927E1"
  }
}

Response Error Example:

{
    "responseType": {
        "value": "ER500"
    },
    "responseDetail": {
        "errorCode": "",
        "errorDesc": "",
        "errorType": ""
    }
}

Diagram of sequence


- Collection

Description:

This service allows Collection payment

Path:

POST:  /collections-management/v1/collection:

Request Data:

Headers:

NameDescriptionExampleCommentsRequired
client_idIdentificador del clientef1b1247...SI
client_secretClave del clienteb124731b4...SI
AuthorizationToken GeneradoBearer WxN_AU...SI
Accept/SI
X-Invoker-ChannelChannel of origin of consumptionValor fijo 13 (Corresponsal bancario)SI
X-Invoker-ATMIdAmt codeEnviar espaciosNO
X-Invoker-BranchIdOffice codeValor fijo “1108”SI
X-Invoker-TerminalIdTerm codeCodigo de la terminal donde se ejecuta la txSI
X-Invoker-ComponentComponentEnviar espaciosNO
X-Invoker-UserIPAddressClient IP AddressIP de la terminal que ejecuta la aplicaciónSI
X-Invoker-ServerIPAddressServer IP AddressIP servidor de aplicación que ejecuta la transacciónSI
X-Invoker-UserMACAddressClient MAC AddressDato esperable, SI por limitantes técnicas o de seguridad NO se pudiera obtener, se enviaria completo con ceros en formato MACNO
X-Invoker-ServerMACAddressServer MAC AddressDato esperable, SI por limitantes técnicas o de seguridad NO se pudiera obtener, se enviaria completo con ceros en formato MACNO
X-Invoker-ProcessDateProcess dateFormato AAAA-MM-DDSI
X-Invoker-TxIdId TXDato esperable, identificador unico de la transacción/llamado al core. Largo máximo 16 caracteres. APIF+fecha juliana + 32 + Número de Autorización APIF : Es una constante que identifica que la transacción se realizó por el canal de Corresponsal bancario La fecha Juliana: Son 4 dígitos, en donde el primero corresponde al último dígito del año en curso y los 3 siguientes al número de días transcurridos en el año hasta la fecha actual. Código del banco= 32 Número de Autorización: son 10 dígitos generados de manera secuencial. Ejemplo: APIF4087320000000001SI
X-Invoker-SesSIonKeySesSIon keyTOKEN del consumo al API 30 primeras poSIcionesSI
X-Invoker-SourceOriginCampo nuevo – Valor fijo “18”NO
X-Invoker-CountryCountryCampo nuevo – Valor fijo “CO”SI
X-Invoker-ProcessBpmIdID BPM processEnviar espaciosNO
X-Invoker-ProcesSIdProcess IDObligatorio solo para los servicios de Aplicación contable, opcional para consulta, se debe enviar los ultimos 11 digitos del campo X-Invoker-TxId alineados a la derecha con cero a la izquierda asi: X-Invoker-TxId:APIF4087320000000001 X-Invoker-ProcessId:020000000001SI
X-Invoker-NetworkNetEnviar espaciosNO
X-Invoker-subChannelSubchannel with which the transaction must be registeredValor fijo “07”SI
X-Invoker-UserUserValor fijo “NEWCBSER”SI
X-Invoker-ActionActionC --> Create (Aplicación de negocio) R -- > Read (Consulta)SI
X-Invoker-DestinationDestinationEnviar espaciosNO
X-Invoker-ModifierUserModification userValor fijo “NEWCBSER”SI
X-Invoker-ReferencedNumberReference numberEnviar espaciosNO
X-Invoker-RequestNumberRequest numberEnviar espaciosNO
X-Invoker-CustIdCustIdEnviar espaciosNO
X-Ident-DeviceFingerPrintDeviceFingerPrintEnviar espaciosNO
x-invoker-allyClient codeEnviar espaciosNO

Request Body:

Field NameDescriptionTypeComments
trn.transactionHourHora local de la transaccióntimeHH:MM:SS ejemplo: 15:37:59
trn.codeCódigo del punto de servicioString
trn.depAcctIdFrom.acctIdNumero Cuenta a debitarString
trn.trnRqUIDNúmero de auditoría para seguimiento del sistemaString
trn.branchNameNombre PDSString
trn.cityIdCodigo Dane MunicipioString
trn.cityNombre Dane municipioString
trn.stateProvCo0digo Dane departamentoString
trn.depAcctIdTo.acctIdCuenta corresponsal BCString
trn.typeTipo transaccionStringN -> Normal, R-> Reverse
trn.RefIdCodigo convenioString15017573
trn.EANCodecodigo EANString
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Referencia de pago 1String
trn.aditionalData[]{"name": "ref1", "value":"0399200339917"}Nombre referencia 1String
trn.aditionalData[]{"name": "ref2", "value":"0399200339917"}Referencia de pago 2String
trn.aditionalData[]{"name": "ref2", "value":"0399200339917"}Nombre referencia 2String
trn.curAmt.amtreferencia de pagoStringOtra referencia de pago
trn.totalCurAmt.amtValor a pagarNumber
trn.DueDtFecha VencimientoString
trn.RefTypeTipo de convenioString
trn.refNameNombre ConvenioStringCOLEGIO JONATHAN SWIFT
trn.flagAnotherAmtFlag ingreso valorString
trn.PmtRefIdCódigo de notificaciónString.

Request Example:

{
  "trn": {
    "transactionHour": "15:37:59",
    "code": "123456789123456",
    "depAcctIdFrom": {
      "acctId": "12321414"
    },
    "trnRqUID": "123456",
    "branchName": "MI OFICINA BETTY",
    "cityId": "25386",
    "city": "LA MESA",
    "stateProv": "25",
    "depAcctIdTo": {
      "acctId": "12321414"
    },
    "type": "Normal",
    "refId": "123456",
    "eanCode": "",
    "aditionalData": [
      {
        "name": "Nombre referencia 1",
        "value":"Referencia de pago 1"
      },
      {
        "name": "Nombre referencia 2",
        "value":"Referencia de pago 2"
      }
    ],
    "curAmt": {
      "amt": "99"
    },
    "totalCurAmt": {
      "amt": 99
    },
    "dueDt": "",
    "refType": "",
    "refName": "",
    "flagAnotherAmt": "",
    "pmtRefId": ""
  }
}

Response Body:

Field NameDescriptionTypeComments
responseType.valuetipoRespuestaStringManejar validacion del ER o OK
trn.personName.fullNameNombre TitularStringNombre del titular
trn.approvalIdCodigoAutorizacionStringCodigo autorizacion

Success Response Example:

{
  "responseType": {
      "value": "OK"
  },
  "trn": {
    "personName": {
      "fullName": "full name"
    },
    "approvalId": "Z69599FB119FB12927E1"
  }
}

Response Error Example:

{
    "responseType": {
        "value": "ER500"
    },
    "responseDetail": {
        "errorCode": "",
        "errorDesc": "",
        "errorType": ""
    }
}

Diagram of sequence


- Payment PILA

Description:

This service allows payment PILA

Path:

POST: payments-management/v1/pila:

Request Data:

Headers:

NameDescriptionExampleCommentsRequired
client_idIdentificador del clientef1b1247...SI
client_secretClave del clienteb124731b4...SI
AuthorizationToken GeneradoBearer WxN_AU...SI
Accept/SI
X-Invoker-ChannelChannel of origin of consumptionValor fijo 13 (Corresponsal bancario)SI
X-Invoker-ATMIdAmt codeEnviar espaciosNO
X-Invoker-BranchIdOffice codeCampo nuevo – Valor fijo “1108”SI
X-Invoker-TerminalIdTerm codeCodigo de la terminal - ¿Como identifica SER las terminales de los PDS?SI
X-Invoker-ComponentComponentEnviar espaciosNO
X-Invoker-UserIPAddressClient IP AddressIP de la terminal que ejecuta la aplicaciónSI
X-Invoker-ServerIPAddressServer IP AddressIP servidor de aplicación que ejecuta la transacciónSI
X-Invoker-UserMACAddressClient MAC AddressDato esperable, si por limitantes técnicas o de seguridad no se pudiera obtener, se enviaria completo con ceros en formato MACNO
X-Invoker-ServerMACAddressServer MAC AddressDato esperable, si por limitantes técnicas o de seguridad no se pudiera obtener, se enviaria completo con ceros en formato MACNO
X-Invoker-ProcessDateProcess dateFormato AAA-MM-DDSI
X-Invoker-TxIdId TXDato esperable, identificador unico de la transacción/llamado al core. Largo máximo 16 caracteres. APIF+fecha juliana + 32 + Número de Autorización APIF : Es una constante que identifica que la transacción se realizó por el canal de Corresponsal bancario La fecha Juliana: Son 4 dígitos, en donde el primero corresponde al último dígito del año en curso y los 3 siguientes al número de días transcurridos en el año hasta la fecha actual. Código del banco= 32 Número de Autorización: son 10 dígitos generados de manera secuencial. Ejemplo: APIF4087320000000001SI
X-Invoker-SessionKeySession keyTOKEN del consumo al API 30 primeras posicionesSI
X-Invoker-SourceOriginCampo nuevo – Valor fijo “18”NO
X-Invoker-CountryCountryCampo nuevo – Valor fijo “CO”SI
X-Invoker-ProcessBpmIdID BPM processEnviar espaciosNO
X-Invoker-ProcessIdProcess IDObligatorio solo para los servicios de Aplicación contable, opcional para consulta, se debe enviar los ultimos 11 digitos del campo X-Invoker-TxId alineados a la derecha con cero a la izquierda asi: X-Invoker-TxId:APIF4087320000000001 X-Invoker-ProcessId:020000000001SI
X-Invoker-NetworkNetEnviar espaciosNO
X-Invoker-subChannelSubchannel with which the transaction must be registeredValor fijo “07”SI
X-Invoker-UserUserValor fijo “NEWCBSER”SI
X-Invoker-ActionActionC --> Create (Aplicación de negocio) R -- > Read (Consulta)SI
X-Invoker-DestinationDestinationEnviar espaciosNO
X-Invoker-ModifierUserModification userValor fijo “NEWCBSER”SI
X-Invoker-ReferencedNumberReference numberEnviar espaciosNO
X-Invoker-RequestNumberRequest numberEnviar espaciosNO
X-Invoker-CustIdCustIdEnviar espaciosNO
X-Ident-DeviceFingerPrintDeviceFingerPrintEnviar espaciosNO
x-invoker-allyClient codeEnviar espaciosNO

Request Body:

Field NameDescriptionTypeComments
trn.transactionHourHora local de la transacciónString
trn.trnRqUIDNúmero de auditoría para seguimiento del sistemaString
trn.codeCódigo del punto de servicioString
trn.depAcctIdTo.acctIdNumero de Cuenta para AcreditarString
trn.branchNameNombre PDSString
trn.cityIdCodigo Dane MunicipioString
trn.cityNombre Dane municipioString
trn.stateProvCo0digo Dane departamentoString
trn.depAcctIdFrom.acctIdCuentaCorresponsalBancarioString
trn.typeNormal - ReverseString
trn.InvoiceInfo.InvoiceNumNumero de planilla a pagarString
trn.InvoiceInfo.identSerialNumNIT del aportanteString
trn.ValidityPeriodInfo.ValidityPeriodPeriodo LiquidadoString
trn DueDtFecha VencimientoString
trn.curAmt.amtValor PagarString.

Request Example:

{
  "trn": {
    "transactionHour": "15:37:59",
    "trnRqUID": "123456",
    "code": "123456789123456",
    "depAcctIdTo": {
      "acctId": "12321414"
    },
    "branchName": "MI OFICINA BETTY",
    "cityId": "25386",
    "city": "LA MESA",
    "stateProv": "25",
    "depAcctIdFrom": {
      "acctId": "12321414"
    },
    "type": "",
    "invoiceInfo": {
      "invoiceNum": "12321414",
      "identSerialNum": "12321414"
    },
    "validityPeriodInfo": {
      "validityPeriod": "12321414"
    },
    "dueDt": "",
    "curAmt": {
      "amt": 24
    }
  }
}

Response Body:

Field NameDescriptionTypeComments
trn.personName.fullNameNombre del titularStringNombre del titular
trn.approvalIdNumero AutorizacionStringCodigo autorizacion
responseDetail.errorCodecodigoErrorStringNúmero de identificación del error
responseDetail.errorDescdescripcionErrorStringDescribe el tipo de error que se presentó durante la ejecución.
responseDetail.errorTypetipoErrorStringDescribe si el error fue de base de datos o de regla de negocio.
responseType.valuetipoRespuestaStringManejar validacion del ER o OK

Success Response Example:

{
  "responseType": {
      "value": "OK"
  },
  "trn": {
    "approvalId": "Z69599FB119FB12927E1",
    "personName": {
      "fullName": "full name"
    }
  }
}

Response Error Example:

{
    "responseType": {
        "value": "ER500"
    },
    "responseDetail": {
        "errorCode": "",
        "errorDesc": "",
        "errorType": ""
    }
}

Diagram of sequence.


- Remittances - Consult Payments.

Description:

This service allows consult remittances basic data.

Path:

GET

/payments-management/v1/remittances/consult-payment/{refId}:
URIParams:
NameDescriptionExampleMandatory
refIdIdentifier of the payment to consult. [Maximum characters: 10. Pattern: ^[a-zA-z,0-9,\W.]*$]12334432Yes

Headers

NameDescriptionExample
X-Invoker-ChannelChannel of origin of consumption007
X-Invoker-ATMIdAmt code1102
X-Invoker-BranchIdOffice code1102
X-Invoker-TerminalIdTerm code
X-Invoker-ComponentComponent
X-Invoker-UserIPAddressClient IP Address10.5.43.214
X-Invoker-ServerIPAddressServer IP Address192.168.169.197
X-Invoker-UserMACAddressClient MAC Address0E-A5-38-F7-C3-09
X-Invoker-ProcessDateProcess date2023-05-02
X-Invoker-TxIdId TX
X-Invoker-SessionKeySession key112w3w*b8a-1cfe9cdd35a1
X-Invoker-SourceOrigin
X-Invoker-CountryCountryCO
X-Invoker-ProcessBpmIdID BPM process
X-Invoker-ProcessIdProcess IDPRI2210323310590452
X-Invoker-NetworkNet0032
X-Invoker-subChannelSubchannel with which the transaction must be registered.01
X-Invoker-UserUserCC10009287
X-Invoker-ActionAction
X-Invoker-DestinationDestination
X-Invoker-ModifierUserModification
X-Invoker-ReferencedNumberReference number
X-Invoker-RequestNumberRequest number12345
X-Invoker-CustIdUsed to identify the user who logs in
client_idCustomer identifier154-111-1111-222
client_secretCustomer key1122222-222-333
AuthorizationBarear tokenBarear 2312323
AcceptAccept type formatcontent-type

Mapping Data:

- Response:
NameDescriptionTypeComments
responseType.valueIndicates if the service obtained a correct response (true) or if, on the contrary, inconsistencies were found (false)String
transaction.origDtDate and time in which a response was obtained from the service.String(Date)
transaction.spRefIdTransaction identifier for A&VString
transaction.refIdMTCN code consulted.String
transaction.xFerInfo.depAcctIdFrom.curtAmt.amtValue in the currency from which the payment was made.Number
transaction.xFerInfo.depAcctIdFrom.curtAmt.curCodeISO code of the currency from which the payment was made abroad.String
transaction.xFerInfo.depAcctIdFrom.fullNameNombre de la persona en el exterior que realiza el pago a Colombia.String
transaction.xFerInfo.depAcctIdFrom.countryISO code of the country from where the payment transaction was made abroad.String
transaction.xFerInfo.depAcctIdFrom.stateProvState and city from which the transaction is carried out abroad.String
transaction.xFerInfo.depAcctIdTo.curtAmt.amtValue in pesos of the payment consulted.Number
transaction.xFerInfo.depAcctIdTo.fullNameName of the person in Colombia who will receive the payment.String.

Examples:

Example of Body Response:

{
  "responseType": {
    "value": "OK"
  },
  "transaction": {
    "origDt": "2023-12-17T00:00:00",
    "spRefId": "7246",
    "refId": "8219535213",
    "xFerInfo": {
      "depAcctIdFrom": {
        "curtAmt": {
          "amt": 20.00,
          "curCode": "BRL"
        },
        "fullName": "SOLANGEL BALBINA VIANCHA VIANCHA",
        "country": "BR",
        "stateProv": "MT - Mato Grosso"
      },
      "depAcctIdTo": {
        "curtAmt": {
          "amt": 11097
        },
        "fullName": "NAVYA  RADHIKA"
      }
    }
  }
}

Response Error Example:

{
    "responseType": {
        "value": "ER400"
    },
    "responseDetail": {
        "errorCode": "",
        "errorDesc": "",
        "errorType": ""
    }
}

Diagrama.


- Remittances - Create Payments.

Description:

PagoRemesa is a service that was implemented so that a client can receive money sent by a sender who is located abroad. In order to receive the money, the client must provide personal, financial information, relationship with the sender, source of economic resources, etc. Once the service is consumed; the payment will be collected and its status in the system will change to 'Collected', that is, the payment will be collected only once.

Path:

POST

/payments-management/v1/remittances/payments:

Headers

NameDescriptionExample
X-Invoker-ChannelChannel of origin of consumption007
X-Invoker-ATMIdAmt code1102
X-Invoker-BranchIdOffice code1102
X-Invoker-TerminalIdTerm code
X-Invoker-ComponentComponent
X-Invoker-UserIPAddressClient IP Address10.5.43.214
X-Invoker-ServerIPAddressServer IP Address192.168.169.197
X-Invoker-UserMACAddressClient MAC Address0E-A5-38-F7-C3-09
X-Invoker-ProcessDateProcess date2023-05-02
X-Invoker-TxIdId TX
X-Invoker-SessionKeySession key112w3w*b8a-1cfe9cdd35a1
X-Invoker-SourceOrigin
X-Invoker-CountryCountryCO
X-Invoker-ProcessBpmIdID BPM process
X-Invoker-ProcessIdProcess IDPRI2210323310590452
X-Invoker-NetworkNet0032
X-Invoker-subChannelSubchannel with which the transaction must be registered.01
X-Invoker-UserUserCC10009287
X-Invoker-ActionAction
X-Invoker-DestinationDestination
X-Invoker-ModifierUserModification
X-Invoker-ReferencedNumberReference number
X-Invoker-RequestNumberRequest number12345
X-Invoker-CustIdUsed to identify the user who logs in
client_idCustomer identifier154-111-1111-222
client_secretCustomer key1122222-222-333
AuthorizationBarear tokenBarear 2312323
AcceptAccept type formatcontent-type

Mapping Data:

- Request:
NameDescriptionTypeComments
pmtInfo.trnRqUIDIdentifier of the trx for A&C, it will be sent in value 0.String
pmtInfo.refIdMTCN code that identifies the transaction.String
pmtInfo.additiionalData.reasonIdentifier of the reason why the money was sent.String
pmtInfo.additiionalData.originResourcesIdentifier of the resource that relates the origin of the money to be received.String
pmtInfo.additiionalData.relationshipTypeIdentifier of the type of relationship between the sender and recipient.String
pmtInfo.additiionalData.pmtTypeField where the payment method of the transaction is indicated. [C = Cheque, T = Transferencia, E = Efectivo]String
pmtInfo.additiionalData.descField intended to store additional information important to the trx. If you do not have information for this field, it must be sent empty between double quotes.String
pmtInfo.adviser.adviserIdDocument number that identifies the allied operator.String
pmtInfo.adviser.adviserNameAllied operator first name.String
pmtInfo.adviser.middleNameMiddle name of the allied operator. If you do not have information for this field, it must be sent empty between double quotes.String
pmtInfo.adviser.lastNameFirst surname of the allied operator.String
pmtInfo.adviser.secondLastNameSecond surname of the allied operator. If you do not have information for this field, it must be sent empty between double quotes.String
pmtInfo.personInfo.flagUpdateFlag that indicates whether the client information in the database will be updated (TRUE) regarding the request sent. If you do not want to update the information, the field must be set to 'FALSE'Boolean
pmtInfo.personInfo.cspRefIdCustomer identifier in database.Integer
pmtInfo.personInfo.govIssueIdent.identSerialNumCustomer identification number.String
pmtInfo.personInfo.govIssueIdent.govIssueIdentTypeIdentifier of the type of customer identification document.String
pmtInfo.personInfo.govIssueIdent.issDtDate of issue of the client's identity document. "YYYY-MM-DD" format.Date
pmtInfo.personInfo.govIssueIdent.expCityIdIdentifier of the city where the client issued their identity document.String
pmtInfo.personInfo.govIssueIdent.cityAdditional information about the city where the client issued their identity document. If you do not have information for this field, it must be sent empty between double quotes.String
pmtInfo.personInfo.personName.firstNameCustomer's first name.String
pmtInfo.personInfo.personName.middleNameClient's middle name.String
pmtInfo.personInfo.personName.lastNameClient's first last name. More than one word can be sent in this field.String
pmtInfo.personInfo.personName.secondLastNameClient's second last name. If you do not have information for this field, it must be sent empty between double quotes. More than one word can be sent in this field.String
pmtInfo.personInfo.emailAddrClient email.String
pmtInfo.personInfo.birthDtClient's date of birth. Format "YYYY-MM-DD".Date
pmtInfo.personInfo.govIssueIdent.expDtExpiration date for the customer's ID document.Date
pmtInfo.personInfo.genderClient gender identifier.String
pmtInfo.personInfo.countryIdentifier (ISO code) of the country where the client was born.String
pmtInfo.personInfo.govIssueIdent.countryIdentifier (ISO code) of the country where the client has nationality.String
pmtInfo.personInfo.certCodeCode of the economic activity associated with the client's occupation.String
pmtInfo.personInfo.jobTitleIdentifier of the occupation in which the client works.String
pmtInfo.personInfo.rankIdentifier of the employment level that is related to the position held by the client.String
pmtInfo.personInfo.flagPubExpPersonFlag that indicates if the client is a publicly exposed person. YES=TRUE, NO=FALSE.Boolean
pmtInfo.personInfo.businessInfo.branchNameName of the company where the client works, this field must be completed depending on the client's occupation, otherwise it can be sent between empty double quotes.String
pmtInfo.pmtReferences.createRefIdIdentifier of the ally from which the request is made.String
pmtInfo.pmtReferences.branchIdIdentificador de la oficina del aliado desde la cual se realiza la petición.String
pmtInfo.pmtReferences.statusClient status in the system. A= Active, I=Inactive. The field can be enclosed in empty double quotes.String
compliance.termsConditionsMandatory field to check that the client accepts the processing of personal data.Boolean
compliance.personDataProcessingField to accept or not the commercial use treatment.Boolean
pmtInfo.listAddress[].addrTypeIdentifier of the type of address that can be associated with the client (RESI or EMPR). Depending on the occupation, it will be mandatory to enter an 'EMPR' type address.String
pmtInfo.listAddress[].addr1Specific description of the address to be associated with the client.String
pmtInfo.listAddress[].cellPhoneContact phone number for the associated address.String
pmtInfo.listAddress[].phoneCustomer contact cell phone number for the associated address.String
pmtInfo.listAddress[].postalCodePostal code associated with the registered address.String
pmtInfo.listAddress[].cityIdIdentifier of the city where the associated address is located.String
pmtInfo.listAddress[].cityAdditional information about the city where the address is located.String
pmtInfo.listAddress[].stateProvAdditional information about the state or department where the address is located.String
pmtInfo.senderPmtInfo[].typeIdentifier of the type of financial concept to be associated with the client, an arrangement must be associated for each concept: VLRING (income value), VLRPAS (liability value), VLREGR (expenditure value) and VLRACT (asset value)String
pmtInfo.senderPmtInfo[].rankIdentifier of the range of values ​​that is applied for the financial concept.String.
- Response:
NameDescriptionTypeComments
responseType.valueIndicates whether the service obtained a correct response (Ok) or, on the contrary, inconsistencies were found (Er)String
pmtInfo.spRefIdConsecutive of the Trx in the A&V database.String
pmtInfo.originDtDate and time in which a response was obtained from the service. Format "YYYY-MM-DD HH:MM:SS"Date
pmtInfo.refIdMTCN code.String
pmtInfo.depAcctIdTo.curAmt.amtValue in pesos of the payment.Number
pmtInfo.depAcctIdFrom.curAmt.amtValue in the currency from which the payment was made.Number
pmtInfo.intRateInfo.amtValue of the exchange rate in Colombian pesos.String
pmtInfo.intRateInfo.curAmt.amtValue of the exchange rate in the foreign currency.Number
pmtInfo.taxPmtInfo.gmfInfo.amtValue of 4x1000 applied to the transaction in COP.Number
pmtInfo.taxPmtInfo.fee.amtValue of the commission applied in the transaction in COP.Number
pmtInfo.taxPmtInfo.amtValue of IVA applied in the transaction in COP.Number
pmtInfo.descField that returns information about specific comments for the transaction.String
pmtInfo.submitOffice.branchNameCurrent prefix for the ally's office.String
pmtInfo.submitOffice.branchIdCurrent consecutive number available in the ally's office.String
pmtInfo.statusIndicates the final status of the transaction: US (Usual), IU (Unusual), RW (Rejected).String.

Examples:

Example of Body Request:

{
    "pmtInfo": {
        "additionalData": {
            "reason": "REGALO",
            "originResources": "AHORR",
            "reationshipType": "AMG",
            "desc": "PRUEBA",
            "pmtType": "E"
        },
        "senderPmtInfo": [
            {
                "type": "VLRACT",
                "rank": "VLRACT1"
            },
            {
                "type": "VLREGR",
                "rank": "VLREGR1"
            },
            {
                "type": "VLRING",
                "rank": "VLRING3"
            },
            {
                "type": "VLRPAS",
                "rank": "VLRPAS5"
            }
        ],
        "personInfo": {
            "personName": {
                "lastName": "GONZALEZ",
                "secondLastName": "URZOLA",
                "firstName": "DANIEL",
                "middleName": "TATIANA"
            },
            "businessInfo": {
                "branchName": "BCS"
            },
            "certCode": "0010",
            "jobTitle": "EMPPLU",
            "birthDt": "1994-12-12",
            "country": "CO",
            "emailAddr": "corre@correo.com",
            "flagUpdate": true,
            "cspRefId": 0,
            "rank": "NIV1",
            "gender": "F",
            "flagPubExpPerson": false,
            "govIssueIdent": {
                "govIssueIdentType": "C.C.",
                "identSerialNum": "1234",
                "expCityId": "11001",
                "issDt": "2012-12-12",
                "city": "BOGOTA",
                "expDt": "2024-03-15",
                "country": "CO"
            }
        },
        "listAddress": [
            {
                "cellPhone": "123",
                "stateProv": "BOGOT",
                "addrType": "RESI",
                "addr1": "DIRECCION UFWPPYCVEU",
                "phone": "123",
                "city": "BOGOT",
                "postalCode": "11001",
                "cityId": "11001"
            },
            {
                "cellPhone": "123",
                "stateProv": "BOGOT",
                "addrType": "EMPR",
                "addr1": "DIRECCION UFWPPYCVEU",
                "phone": "231",
                "city": "BOGOT",
                "postalCode": "11001",
                "cityId": "11001"
            }
        ],
        "adviser": {
            "adviserId": "W9M7R1A9",
            "adviserName": "EDISON",
            "middleName": "EDISON",
            "lastName": "EDISON",
            "secondLastName": "EDISON"
        },
        "pmtReferences": {
            "createRefId": "",
            "branchId": "0106",
            "status": "A"
        },
        "refId": "123445433",
        "trnRqUID": "0"
    },
    "compliance": {
        "termsConditions": true,
        "personDataProcessing": true
    }
}

Example of Body Response:

{
    "responseType": {
        "value": "OK"
    },
    "pmtInfo": {
        "spRefId": "1111",
        "originDt": "2023-03-14 18:20:38",
        "refId": "123445433",
        "depAcctIdTo": {
            "curtAmt": {
                "amt": 8624
            }
        },
        "depAcctIdFrom": {
            "curtAmt": {
                "amt": 2
            }
        },
        "intRateInfo": {
            "amt": 4311.5385,
            "curtAmt": {
                "amt": 0.0002319
            }
        },
        "taxPmtInfo": {
            "amt": 0,
            "gmtInfo": {
                "amt": 34
            },
            "fee": {
                "amt": 0
            }
        },
        "desc": "",
        "submitOffice": {
            "branchName": "SP02",
            "branchId": "25"
        },
        "status": "US"
    }
}

Response Error Example:

{
    "responseType": {
        "value": "ER400"
    },
    "responseDetail": {
        "errorCode": "",
        "errorDesc": "",
        "errorType": ""
    }
}

Diagrama.



Reviews