bcs-transfers-management-api-services icon

bcs-transfers-management-api-services

(0 reviews)

home

resources/image-6d0b5863-ac26-45f1-ab01-1a72c17ce65f.png


API INFORMATION

Title: bcs-transfers-management-api-services


Version: 1.0.39

Protocols: HTTPS

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

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

URILive: https://transfers-management-api-services-prod.us-e1.cloudhub.io/transfers-management/v1

DOWLOAD RAML

DESCRIPTION

Summary


-Transfers.

Description: This resource management 3 kinds of transfers own, third parties, Interbank.

Path:

/transfers-management/v1/transfers


Transfers of type own.

Request information:

refId: Deal Reference.

xFerRec: Transfer record.

 categCode: Transfer type

custPayeeInfo: Contains information about documents.

 refId: Document number
 govIssueIdent: Identification given by the local government
     govIssueIdentType: Type of customer identification.
     identSerialNum: Number customer Identification

fee: Commission value.

 curAmt: Contains information of amount.
      amt: Amount.

xFerInfo: Transfer Information.

 depAcctIdFrom: Source account information.
    acctId: Account ID.
 processingCode: Commission code.
 amt: Amount of transfer.
 desc: Concept.
 bankId: Code that identifies the bank.
 depAcctIdTo: Destination account information.
     acctId: Account ID
     acctType: Account type
 xFerId: Funds Transfer Identifier.
 origDt: Transaction date.

bankInfo: Contains information of Origin office code and Destination office code.

 branchIdFrom: Origin office code.
 branchIdTo: Destination office code.

Response information:

> Response 200.
{
    "responseType": {
        "value": "OK"
    },
    "refId":"APII2223326017219999"
}
> Errors Code.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "2",
        "errorDesc": "Error description.",
        "errorType": "CLI"
    }
}
> Diagram of sequence.

####

resources/DiagramaSecuenciaTransferirPropiaTercerosPSE-8dd8d380-92a6-451a-a454-95d26a9cc7f5.jpg

##


Transfers of type third parties.

Request information:

refId: Deal Reference.

xFerRec: Transfer record.

 categCode: Transfer type

custPayeeInfo: Contains information about documents.

refId: Document number.

fee: Commission value.

 curAmt: Contains information of amount.
      amt: Amount.

xFerInfo: Transfer Information.

 personName: Holder name.
    fullName: Full name.
 depAcctIdFrom: Source account information.
    acctId: Account ID.
 processingCode: Commission code.
 amt: Amount of transfer.
 desc: Concept.
 bankId: Code that identifies the bank.
 depAcctIdTo: Destination account information.
     acctId: Account ID
 xFerId: Funds Transfer Identifier.
 origDt: Transaction date.

bankInfo: Contains information of Origin office code and Destination office code.

 branchIdFrom: Origin office code.
 branchIdTo: Destination office code.

Response information:

> Response 200.
{
    "responseType": {
        "value": "OK"
    },
    "refId":"APII2223326017219999"
}
> Errors Code.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "2",
        "errorDesc": "Error description.",
        "errorType": "CLI"
    }
}
> Diagram of sequence.

####

resources/DiagramaSecuenciaTransferirPropiaTercerosPSE-a3d58f41-6559-432b-b6c2-9cdfe661b622.jpg

##


Transfers of type Interbank.

Request information:

refId: Deal Reference.

xFerRec: Transfer record.

 categCode: Transfer type

custPayeeInfo: Contains information about documents.

 refId: Document number
 govIssueIdent: Identification given by the local government
     govIssueIdentType: Type of customer identification.
     identSerialNum: Number customer Identification

fee: Commission value.

 curAmt: Contains information of amount.
      amt: Amount.

xFerInfo: Transfer Information.

 personName: Holder name.
    fullName: Full name.
 depAcctIdFrom: Source account information.
    acctId: Account ID.
 processingCode: Commission code.
 pseTrnCode:  PSE transaction code.
 amt: Amount of transfer.
 desc: Concept.
 bankId: Code that identifies the bank.
 depAcctIdTo: Destination account information.
     acctId: Account ID
     acctType: Account type
 xFerId: Funds Transfer Identifier.
 origDt: Transaction date.

bankInfo: Contains information of Origin office code and Destination office code.

 branchIdFrom: Origin office code.
 branchIdTo: Destination office code.

Response information:

> Response 200.
{
    "responseType": {
        "value": "OK"
    },
    "refId":"APII2223326017219999"
}
> Errors Code.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "2",
        "errorDesc": "Error description.",
        "errorType": "CLI"
    }
}
> Diagram of sequence.

####

resources/DiagramaSecuenciaTransferirPropiaTercerosPSE-8e353f50-18a1-4e32-9f05-41afdfa76d5a.jpg

##

-Error codes for any type transfers.

HTTP CodeError CodeError TypeDescription
500ZEROSTPSERROR DE INICIO TX
500ZEROSTPXFALLO EL COMMIT DE LA TRANSACCION
500SQLCODETPSError de Inicio TP
500SQLCODEORAFSESTSIS:ERROR LEYENDO TABLA CA1401BANK
500SQLCODEORAERROR LEYENDO TABLA FS8003PARAM_TXFINANCI
404SQLCODEVALREGISTRO NO EXISTE
5002TRSEN EL MOMENTO NO LO PODEMOS ATENDER BM00134037
40010002TPSVERIFIQUE STATUS FSBMCU_BMVALCT2
50010003TPSVERIFIQUE STATUS STAR_COMMMGR
40010004TPSERROR CON EL CODIGO DE PROCESO
40010006TPSVERIFIQUE STATUS UTILCB_CONSNOMT
40011111EXPProducto/Cuenta destino debe ser numérico
40011112EXPCampo Concepto deber ser alfanumérico
400163VALCUENTA ES CUENTA CANCELADA
4006905VALCUENTA CON BLOQUEO BM
40011101VALCUENTA ES CUENTA INACTIVA
40011102VALCUENTA CON BLOQUEO FS :
40011103VALCUENTA ES CUENTA DE PENSIONADO ISS
40011104VALCUENTA ES CUENTA DE PENSIONADO
40011105VALCUENTA DE AHORROS PROGRAMADO
40011106VALCUENTA ES CUENTA RECAUDADORA
40011109VALCUENTA DE PRESTAMO O CDT:
40011110VALCUENTA ORIGEN IGUAL A CUENTA DESTINO
500SQLCODEORACA0201ACCOUNT
404SQLCODEORANO EXISTE REGISTRO CC0105CLIENTNUM
404SQLCODEORANO EXISTE REGISTRO CD0105CLIENT,CD0102RCLIENT
500SQLCODEORATABLAS CD0105CLIENT,CD0102RCLIENT
500SQLCODEORACC0105CLIENTNUM
500SQLCODEORASELECT CD0105CLIENT
500SQLCODEORAFSESTSIS:ERROR LEYENDO TABLA CA1401BANK
500SQLCODETPSERROR DE INICIO TP
4005620RGNNO EXISTE NÚMERO DE CUENTA
4005621RGNNO EXISTE TITULAR PARA LA CTA
40014257AUTERROR AL GENERAR SECUENCIA DE AUTORIZACION
40035704ERNNumero de Tarjeta no es valido
40435705ERNNumero de Tarjeta no encontrado
40035706ERNLa tarjeta no tiene cuenta corriente relacionada
40035707ERNLa tarjeta no tiene cuenta de ahorros relacionada
40035708ERNTipo de cuenta no es valido
40035709ERNError Validando Cuenta
400N1TRXDEBE INGRESAR REFERENCIA DE LA TRANSACCION
400N2TRXREF.DE TRANSAC.DEBE IDENTIFICAR USUARIO VALIDO
400N3TRXREF.TRANSAC.PARA NUEVAS NEGOC.DEBE SER UNICA
400N4TRXREF.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
404NCTRXCUENTA NO EXISTE
400NDTRXCUENTA CERRADA
400NFTRXCUENTA BLOQUEADA
400NGTRXREF. 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
400NKTRXCUENTA SECUNDARIA NO SE PUEDE CERRAR
400NLTRXCUENTA SECUNDARIA NO PUEDE ESTAR BLOQUEADA
400NMTRXTERCERA CUENTA DEBE SER CTA. VALIDA
400NNTRXTERCERA CUENTA NO SE PUEDE CERRAR
400NOTRXTERCERA 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
400OVTRXMONTO PPAL BASE EQUIV.NO PUEDE ING.SI MON.EXT.
400OWTRXMONTO PPAL BASE EQUIV.DEBE ING.SI ING.MON.EXTR.
400OXTRXMONTO EXTRANJERO BASE EQUIV. DEBE SER VALIDO
400OYTRXMONTO EXT.BASE EQUIV.NO PUEDE ING.SI MONEDA EXT
400OZTRXMONTO EXT.BASE EQUIV.DEBE ING.SI ING.MONEDA EXT
400P1TRXREF.NEG.REV.MONTO,FEC.LIB Y MONTO DEBEN COINC.
400PATRXCTA. PRINCIPAL, FRACCIONAMIENTO NO PERMITIDO
500PBTRXCTA.PPAL PARCIAL.BLOQ.MONTO TRANS.EXCEDE SALDO
400PHTRXMONTO NO COINCIDE
400PJTRXCANAL NO VALIDO
400PKTRXFECHA INGRESO DEBE SER IGUAL A FECHA SISTEMA
400PMTRXREFERENCIA DEAL YA EXISTE. REINTENTE
400W1TRXFECHA EN LIBROS NO DEBE SER < NUM.MAXIMO DIAS
400W2TRXFONDOS INSUFICIENTES PARA RETIRO
400W4TRXTRANSACCION POSTEADA PARA REINTENTO
400W5TRXSE ALCANZO EL MAXIMO NUMERO DE REINTENTOS
400W6TRXCUENTA BLOQUEADA PARA CREDITOS
400W7TRXCUENTA BLOQUEADA PARA DEBITOS
400W8TRXCUENTA BLOQUEADA CREDITOS/DEBITOS
400OSB10001El valor enviado en el campo tipoTransferencia no es válido.
40028108AUTTRANSACCION DE UTILIZACION - EXCEDE EL MONTO MAXIMO
40028110AUTTRANSACCION DE UTILIZACION - EXCEDE ACUMULADO DIARIO
40028112AUTTRANSACCION DE UTILIZACION - EXCEDE ACUMULADO MENSUAL
40028127AUTTRANSACCION DE UTILIZACION - EXCEDE EL MONTO DEFEC/MAXIMO
40028129AUTTRANSACCION DE UTILIZACION - EXCEDE ACUMULADO DEFEC/DIARIO
40028131AUTTRANSACCION DE UTILIZACION - EXCEDE ACUMULADO DEFEC/MENSUAL
40028134AUTTRANSACCION DE UTILIZACION - EXCEDE MONTO ACUMULADO POR DIA
40028136AUTTRANSACCION DE UTILIZACION - EXCEDE MONTO ACUMULADO POR MES
40028247AUTPRODUCT BLOCKED FOR THIS CHANNEL
40028248AUTPRODUCT BLOCKED FOR THIS CHANNEL - SUBCHANNEL
500(Core system error)(Core system type error)Any error that is not identified will return a 500 error with the description returned by the core system

-Fees.

Description: This service allows you to generate transfers.

Path:

/transfers-management/v1/fees


Request information:

-----------------------------------------------------------------------------------------------------------------------------------------

Considerations:

To calculate commission commission code (xFerInfo.processingCode ) :

CaseValue
For own transfers and to third parties from the same bank88018
For interbank transfers88013
For COBRO CHEQUERA 25 CHEQUES88029
For COBRO CHEQUERA 50 CHEQUES88030
For COBRO CHEQUERA 100 CHEQUES88032
For Project TIN (Transferencias Inmediatas Tya)77134
When X-Invoker-Channel = 007 and X-Invoker-subChannel= 0677134

depAcctIdFrom: Source account information.

 depAcctId:  Account ID
     acctId: Account number

depAcctIdTo: Destination account information.

 depAcctId:  Account ID
     acctId: Account number

xFerInfo: Contains information about documents.

 processingCode: Commission code (for X-Invoker-Channel = 007 and X-Invoker-subChannel= 06 send value 77134).
 curAmt: Contains information of amount.
      amt: Amount.

Response information:

responseType: Source account information.

 value:

personName: Holder name.

 fullName:  Full name.

xFerInfo: Destination account information.

 processingCode:  Commission code

transaction: Tax payment information.

 curAmt: Contains information of amount.
      amt: Amount.
> Response 200.
{
    "responseType": {
        "value": "OK"
    },
    "personName": {
        "fullName": "JOBS C"
    },
    "xFerInfo": {
        "processingCode": "372999"
    },
    "transaction": {
        "curtAmt": {
            "amt": 0
        }
    }
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "2",
        "errorDesc": "Error description.",
        "errorType": "CLI"
    }
}
> Errors Code.
HTTP CodeError CodeError TypeDescription
500SQLCODETPSError de Inicio TP
40014252TPSVERIFIQUE STATUS COMMMGR
50014257AUTERROR AL GENERAR SECUENCIA DE AUTORIZACION
500SQLCODEORAFSESTSIS:ERROR LEYENDO TABLA CA1401BANK
500SQLCODEORACA2301CARD
500SQLCODEORACA0201ACCOUNT
404SQLCODEORANO EXISTE REGISTRO CC0105CLIENTNUM
500SQLCODEORACC0105CLIENTNUM
404SQLCODEORANO EXISTE REGISTRO CD0105CLIENT,CD0102RCLIENT
500SQLCODEORATABLAS CD0105CLIENT,CD0102RCLIENT
500SQLCODEORASELECT CD0105CLIENT
40405620RGNNO EXISTE NÚMERO DE CUENTA
40405621RGNNO EXISTE TITULAR PARA LA CTA
40024543RGNNUM. TARJETA INVALIDO
40035704ERNNúmero de Tarjeta no es valido
40435705ERNNúmero de Tarjeta no encontrado
40035706ERNLa tarjeta no tiene cuenta corriente relacionada
40035707ERNLa tarjeta no tiene cuenta de ahorros relacionada
40035708ERNTipo de cuenta no es valido
50035709ERNError Validando Cuenta
500(Core system error)(Core system type error)Any error that is not identified will return a 500 error with the description returned by the core system
> Diagram of sequence.

####

resources/DiagramaSecuenciaConsultarCostoComision-67897e37-f762-4949-9aff-71571a8cf76a.jpg

##

Transfers of Operation using advance Credit Card and Revolving Credit .

Request information:

xFerRec: Transfer record.

 categCode: Transfer type = CCR (Required)

refId: Deal Reference.(Required

bankInfo: Contains information of Origin office code and Destination office code.

  branchIdTo: Destination office code. (Required)

xFerInfo: Transfer Information.

xFerId: Funds Transfer Identifier. (Required)
    acctId: Account ID (for credit card send encrypted data*). (Required)
    acctType: Account type (ej. CCA , RLA ) (Required)
depAcctIdTo: Destination account information.
    acctId: Account ID(Required)
    acctType: Account type (ej. SDA, DDA )(Required)
amt: Amount of transfer.(Required)
numberOfInstallments: Number of months for the term. (Required)
approvalId: Challenge authorization number (op)

custPayeeInfo: Contains information about customer information.

  govIssueIdent : Contains information about GovIssueIdent
     govIssueIdentType: Type of customer identification. (Required)
     identSerialNum: Number customer Identification. (Required)

> Body request example:.

{
  "xFerRec": {
    "categCode": "CCR"
  },
  "refId": "APII2377331380587280",
  "xFerInfo": {
    "xFerId": "AV001",
    "depAcctIdFrom": {
      "acctId": "cecdea9ea716f0948a508c",
       "acctType": "RLA"
       },
   "depAcctIdTo": {
      "acctId": "57172460999",
      "acctType": "SDA"
     },
    "amt": 1044000.00,
    "numberOfInstallments": 12
  },
  "custPayeeInfo": {
    "govIssueIdent": {
      "identSerialNum": "1234569999",
      "govIssueIdentType": "CC"
    }
  }
}

Response information:

> Response 201.
{
    "responseType": {
        "value": "OK"
    },
    "xFerInfo":{
        "approvalId":"324D1D"
    },
    "refId":"APII2223326017219999"
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "00014",
        "errorDesc": "Tarjeta de Credito o Credito Rotativo No Existe",
        "errorType": "OPC"
    }
}
> Errors Code.
HTTP CodeError CodeError TypeDescription
40000001INPPlazo Avance es obligatorio
50000003TPEError al invocar Componente
40000007INPError en campos de entrada
50000031TXSError en Autorización de Avance/Uso
40000040TXSTransacción Rechazada por Supervisor
50000041TXSError retornado en el DEAL
40000012OPCTransacción No Autorizada
50000013OPCEl Monto es Inferior al mínimo permitido
40400014OPCTarjeta de Crédito o Crédito Rotativo No Existe
40000051OPCFondos Insuficientes
40000052OPCEl número de Cuenta No Existe
40000054OPCTarjeta de Crédito o Crédito Rotativo se encuentra vencido
40000061OPCEl valor solicitado No es Permitido
40000062OPCTarjeta de Crédito o Crédito Rotativo se encuentra bloqueado
40000065OPCLímite de Usos Excedido (Crédito Rotativo)
40000097OPCLa identificación no corresponde a la del producto
50000099TXSError Desconocido
404SQLCODEVALCUENTA NO EXISTE
500SQLCODESQLERROR CONSULTANDO CUENTA
40011123VALCUENTA MAESTRA
40014252TPSVERIFIQUE STATUS BMVALCT2
> Diagram of sequence.

resources/DiagramaSecuenciaUsarAvanceTCYCR-bdf4c4b4-4241-4019-ba00-701fa788f468.jpg

##

Transfers of operation investment fund .

Request information:

refId: Deal Reference.

xFerRec: Transfer record.

 categCode: Transfer type = TFI (Required)

xFerInfo: Transfer Information.


depAcctIdFrom: Source account information.
    acctId: Origin product number (Required)
    acctType: Account type (ej. OFA, SDA , DDA ) (Required)
amt: Amount of transfer.(Required)
xFerId: Funds Transfer Identifier. (Required)
origDt: Transaction date (Required)
depAcctIdTo: Destination product number.
    acctId: Account ID(Required)
    acctType: Account type (ej. OFA, SDA , DDA)(Required)
flagTradeType: Flag Trade Type (opt)

approvalId: Challenge authorization number (opt)

bankInfo: Contains information of Origin office code and Destination office code.

  branchIdFrom: Contains information of destination office code. (opt)

refId: Document number . (Required)

workingDayFrame: Contains information of workday. (opt)

> Body request example:.


{
  "xFerRec": {
    "categCode": "TFI"
   },
  "xFerInfo": {
    "depAcctIdFrom": {
       "acctId": "24517151999",
       "acctType": "OFA"
    },
    "amt": 1044000.00,
    "xFerId": "AV001",
    "origDt": "2015-07-04T21:00:00",
   "depAcctIdTo": {
     "acctId": "57172460999",
     "acctType": "SDA"
   },
   "flagTradeType": false
  },
 "bankInfo": {
   "branchIdFrom": "0148"
   },
  "refId": "APII2223326017219999"
}

Response information:

> Response 201.
{
    "responseType": {
        "value": "OK"
    },
    "refId":"APII2223326017219999"
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "00003",
        "errorDesc": "No hay matricula vigente en BMRS",
        "errorType": "RNE"
    }
}
> Errors Code.
HTTP CodeError CodeError TypeDescription
50016001TPSERROR DE INICIO TX
50016002TUXFALLO EL COMMIT DE LA TRANSACCION
40016005VALESTADO INVALIDO PARA REGISTRO
40016007VALREGISTRO YA SE ENCONTRABA EN ESTADO R
4041403ORAREGISTRO NO ENCONTRADO
500SQLCODEORASQLERRMC
40000002PRAFecha de sistema no corresponde a la fecha permitida. Fecha
40000015PRAEl estado actual del plan: BLOQUEADO POR CONFIR, no permite
40000077PRATransaccion NO permitida en este horario.
40400078PRAEquivalencia de Oficina no existe.
40000102PRATransaccion de canal NO permitida en este horario.
40000191PRAValor Retiro supera el Valor M¿ximo Individual definido para
40000296PRAValor Retiro no permitido por Saldo Insuficiente.
40000315PRAValor Minimo Apertura no válido según definición del Fondo
40000047PRAFecha ya se encuentra Actualizada Contablemente

####

> Diagram of sequence.

resources/DiagramaSecuenciaTransferirFondoInversion-324740de-98d7-4b29-ac8e-0391f784daba.jpg


-------------------------------------Immediate Transfers (Transfiya) - operations ------------------------------------------------

DescriptionRelated operationMethodPath
1 - Consult EnrollmentGET/transfers-management/v1/transfiya/enrollment/{identserialnum}
2 - Create-Update EnrollmentPOST/transfers-management/v1/transfiya/enrollment
3 - Check recent transfersGET/transfers-management/v1/transfiya/transfers/{cellphone}/recent
4 - Send money ->6 - Accept moneyPOST/transfers-management/v1/transfiya/credit
5 - Consult Pending Transfers to ReceiveGET/transfers-management/v1/transfiya/transfers/{cellphone}/pending/get
6 - Accept money4 - Send moneyPUT/transfers-management/v1/transfiya/transfers/agree
7 - Request money ->9 - Accept send moneyPOST/transfers-management/v1/transfiya/request-money
8 - Check Pending Transfers to SendGET/transfers-management/v1/transfiya/transfers/{cellphone}/pending/send
9 - Accept send money7 - Request moneyPUT/transfers-management/v1/transfiya/credit/agree
10 - Consult Trust RelationshipGET/transfers-management/v1/transfiya/account-relationships/{cellphone}
11 - Manage Trust RelationshipPOST/transfers-management/v1/transfiya/account-relationships

Considerations:

To calculate commission commission code in /transfers-management/v1/fees (xFerInfo.processingCode ) for operations that use fee.curAmt.amt (commission value) :

CaseValue
For own transfers and to third parties from the same bank88018
For interbank transfers88013
For COBRO CHEQUERA 25 CHEQUES88029
For COBRO CHEQUERA 50 CHEQUES88030
For COBRO CHEQUERA 100 CHEQUES88032
For Project TIN (Transferencias Inmediatas Tya)77134
When X-Invoker-Channel = 007 and X-Invoker-subChannel= 0677134

------------------------------------------------------------------------------------------------------------------------------------------

-(1) Consult Enrollment .

Description: This resource manages the operation to obtain enrollment.

Path [GET]:

/transfers-management/v1/transfiya/enrollment/{identserialnum}?govIssueIdentType={govIssueIdentType}

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

URI parameters

identSerialNum: Identification number (Required)

Query parameters

govIssueIdentType: Type of identification issued by the government of the country (Required)

cellPhone: Mobile number of the registered account.. (Optional)

Response information:

responseType: Response type object.

 value: Response Value

personInfo: Information about a person

cellPhone:  Cell phone number.

depAcctId: ontains information related to savings account product.

acctId:  Identifier of an account.
> Example response 200.
{
    "responseType": {
        "value": "OK"
    },
    "personInfo": {
        "cellPhone": "3017561255"
    },
    "depAcctId": {
        "acctId": "21002908664"
    }
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
"value": "ER"
  },
  "responseDetail": {
    "errorCode": "00050",
    "errorDesc": "Valor del plan menor al lmmite permitido",
    "errorType": "APL"
  }
}

-(2) Create - Update enrollment .

Description: With this resource you can create or update an enrollment.

Path [POST]:

/transfers-management/v1/transfiya/enrollment

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

Request information (Body):

govIssueIdent: Transfer record.

   identSerialNum: Contains information of number customer Identification. (Required)
   govIssueIdentType: Contains information of type of customer identification. (Required)
   cellPhone: Contains information of user's cell phone number. (Required)

xFerInfo: xFerInfo object.

depAcctIdFrom: depAcctIdFrom object.
    acctId: Account number to register in ach. (Required)

transfiyaOperationType: Contains informatin of transfiyaOperationType , enum : [ Create , Modify ] (If it is not sent, the default value is: Create ) (Optional)

deviceFingerPrint: Contains informatin of component where the operation is performed (ACH FingerPrint).(Required)

> Body request example:.


{
  "govIssueIdent": {
    "identSerialNum": "51434566546",
    "govIssueIdentType": "CC",
    "cellPhone":"2334545646"
   },
  "xFerInfo": {
    "depAcctIdFrom": {
       "acctId": "24517151999"
    }
   },
   "transfiyaOperationType": "Create",
   "deviceFingerPrint":"{\"Geolocation\":{\"city\":\"Bogota\",\"country\":\"Colombia\",\"ip\":\"120.243.57.210\",\"isp\":\"LevS.A\"},\"Hash\":{\"id\":\"26bdb237b9d81404702589e4c385b5472e4fe405b733e582ef97fa5a28fe07e0\"},\"General\":{\"deviceId\":\"daf1895883e4a82c42e6c0c597662588\",\"hostname\":\"Chrome\",\"macAddress\":\"Windows\",\"passiveId\":\"\"}}"
}

Response information:

responseType: Response type object.

 value: Response Value
> Response 201.
{
    "responseType": {
        "value": "OK"
    }
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
    "responseType": {
        "value": "ER"
    },
    "responseDetail": {
        "errorCode": "20001",
        "errorDesc": "MATRICULA INEXISTENTE",
        "errorType": "RNE"
    }
}

-(3) Check recent transfers. .

Description: With this resource you can obtain the cell phone numbers of recent transfers

Path [GET]:

/transfers-management/v1/transfiya/transfers/{cellphone}/recent

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

URI parameters

cellphone: Origin cell phone number . (Required)

Query parameters

totalRecords: Total Number of Records (If it is not sent, the default value is: 1 ) (Optional)

recordsXPage: Number of Records Returned (If it is not sent, the default value is: 10 ) (Optional)

Response information:

responseType: Response type object.

 value: Response Value

xFerInfo: xFerInfo object.

 depAcctIdTo: depAcctIdTo object
        cellPhone: cell phone.
> Example response 200.

{
    "responseType": {
        "value": "OK"
    },
    "xFerInfo": [
        {
            "depAcctIdTo": {
                "cellPhone": "3204633555"
            }
        },
        {
            "depAcctIdTo": {
                "cellPhone": "3208824555"
            }
        },
        {
            "depAcctIdTo": {
                "cellPhone": "322802455"
            }
        }
    ]
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "00050",
    "errorDesc": "Valor del plan menor al lmmite permitido",
    "errorType": "APL"
  }
}

###


-(4) Send Money.

Description: With this resource you can send money ( to 6- Accept Money).

Path [POST]:

/transfers-management/v1/transfiya/credit

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

Request information (Body):

xFerInfo: xFerInfo object

   depAcctIdFrom: depAcctIdFrom object. (Required)
        acctId: Contains information of registered account number. (Required)
        cellPhone:  Contains information of origin User's cell phone number. (Required)
   depAcctIdTo: (Required)
        cellPhone: Contains information of destination user's cell phone number.(Required)

   amt: Contains information of ammount. (Required)
   desc: Contains information of description. (Required)

fee: fee object.

curAmt: curAmt object. (Required)
     amt: Contains information of commission value. (Required)

deviceFingerPrint: Contains information of the component where the operation is performed (ACH FingerPrint) .(Required)

> Body request example:.


{
  "xFerInfo": {
    "depAcctIdFrom": {
      "acctId": "24517151999",
      "cellPhone": "55677878"
    },
    "depAcctIdTo": {
      "cellPhone": "55677878"
    },
    "amt": 5677.23,
    "desc": "Transfer to phone"
  },
  "fee": {
    "curAmt": {
      "amt": 0
    }
  },
  "deviceFingerPrint": "{\"Geolocation\":{\"city\":\"Bogota\",\"country\":\"Colombia\",\"ip\":\"190.217.17.210\",\"isp\":\"Level3ColombiaS.A\"},\"Hash\":{\"id\":\"26bdb237b9d81404702589e5c384b5472e4fe405b733e582ef97fa5a28fe07e0\"},\"General\":{\"deviceId\":\"daf1895883eda82c45e6c0c597662588\",\"hostname\":\"Chrome\",\"macAddress\":\"Windows\",\"passiveId\":\"\"}}"
}

###

Response information:

responseType: Response type object.

 value: Response Value

xFerInfo: xFerInfo object.

pseTrnCode: Transaction identifier given by ach

> Example response 201.

{
    "responseType": {
        "value": "OK"
    },
    "xFerInfo":{
        "pseTrnCode":"6dGl2pEs3bra47Bz3"
    }
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "00050",
    "errorDesc": "Valor del plan menor al lmmite permitido",
    "errorType": "APL"
  }
}

-(5) Consult pending transfers to receive .

Description: With this resource you can obtain the list of transfers to receive.

Path [GET]:

/transfers-management/v1/transfiya/transfers/{cellphone}/pending/get

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

URI parameters

cellphone: Destination moviel phone . (Required)

Query parameters

initialRecord: InitialRecord for consult (If it is not sent, the default value is: 1 ) (Optional)

recordsXPage: Number of Records Returned (If it is not sent, the default value is: 10 ) (Optional)

Response information:

responseType: Response type object.

 value: Response Value

xFerInfo: xFerInfo object.

depAcctIdTo: Destination account information

cellPhone: Cell phone number.

curAmt: Contains a list all the data of the different balance e.g. Total balance , Available Balance , Exchange Balance , Pocket Balance,Total contingent withholding, Credit saving guarantee.

amt: Value to send.

desc: Concept of tranfers.

pseTrnCode: Transaction identifier given by ach

> Example response 200.
{
 "responseType": {
        "value": "OK"
    },
  "xFerInfo": [
    {
      "depAcctIdTo": {
        "cellPhone": "3208824364"
      },
      "curAmt": {
        "amt": 2000.00,
        "desc": "envio"
      },
      "pseTrnCode": "6dGl5pEsSbrar7Bz3"
    },
    {
      "depAcctIdTo": {
        "cellPhone": "3208824364"
      },
      "curAmt": {
        "amt": 2000.00,
        "desc": "envio"
      },
      "pseTrnCode": "6dGl5pEsSbrar7Bz3"
    }
  ]
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "00050",
    "errorDesc": "Valor del plan menor al lmmite permitido",
    "errorType": "APL"
  }
}

- (6) Accept money.

Description: With this resource you can accept money (from 4 - Send money).

Path [PUT]:

/transfers-management/v1/transfiya/transfers/agree

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

Request information (Body):

xFerInfo: xFerInfo object

   pseTrnCode: Contains information of transaction ID. (Required)
   depAcctIdFrom: depAcctIdFrom object. (Required)
        acctId: Contains information of registered account number. (Required)
        cellPhone:  Contains information of origin User's cell phone number. (Required)
   depAcctIdTo: (Required)
        cellPhone: Contains information of destination user's cell phone number. (Required)

   amt: Contains information of ammount. (Required)
   desc: Contains information of description. (Required)

fee: fee object.

curAmt: curAmt object. (Required)
     amt: Contains information of commission value. (Required)

flagTransferAccept: Contains information of Flag in which it is sent if you want to accept or reject the money transfer. [ Accept , Reject , ToBlock ] (Required)

flagEstablishTrust: Contains information of flag in which a record is marked as a trusted link, to perform operations without acceptance by any origin or destination. [ true , false] (Required)

deviceFingerPrint: Contains information of the component where the operation is performed (ACH FingerPrint) .(Required)

> Body request example:.

 {
  "xFerInfo": {
    "pseTrnCode": "6dG45pEs5brar7Bz3",
    "depAcctIdFrom": {
      "acctId": "24517151999",
      "cellPhone": "5567787448"
    },
    "depAcctIdTo": {
      "cellPhone": "5567766878"
    },
    "amt": 45677.23,
    "desc": "Transfer to phone"
  },
  "fee": {
    "curAmt": {
      "amt": 0
    }
  },
  "flagTransferAccept": "Accept",
  "flagEstablishTrust": true,
  "deviceFingerPrint": "{\"Geolocation\":{\"city\":\"Bogota\",\"country\":\"Colombia\",\"ip\":\"190.217.17.210\",\"isp\":\"Level3ColombiaS.A\"},\"Hash\":{\"id\":\"26bdb237b9d81404702589e5c384b5472e4fe405b733e582ef97fa5a28fe07e0\"},\"General\":{\"deviceId\":\"daf1895883eda82c45e6c0c597662588\",\"hostname\":\"Chrome\",\"macAddress\":\"Windows\",\"passiveId\":\"\"}}"
}

Response information:

> Response 201.
{
    "responseType": {
        "value": "OK"
    }
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "00050",
    "errorDesc": "Valor del plan menor al lmmite permitido",
    "errorType": "APL"
  }
}

-(7) Request Money

Description: With this resource you can request money (to 9- Accept send money).

Path [POST]:

/transfers-management/v1/transfiya/request-money

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

URI parameters

acctid: Registered account number. (Required)

Request information (Body):

xFerInfo: xFerInfo object

   depAcctIdFrom: depAcctIdFrom object. (Required)
        cellPhone:  Contains information of origin cell phone number. (Required)
   depAcctIdTo: (Required)
        cellPhone: Contains information of destination user's cell phone number.  (Required)

   amt: Contains information of value to send.(Required)
   desc: Contains information of description. (Required)

fee: fee object.

curAmt: curAmt object. (Required)
     amt: Contains information of commission value. (Required)

deviceFingerPrint: Contains information of the component where the operation is performed (ACH FingerPrint) .(Required)

> Body request example:.


{
  "xFerInfo": {
    "depAcctIdFrom": {
      "cellPhone": "5569875258"
    },
    "depAcctIdTo": {
      "cellPhone": "5589568788"
    },
    "amt": 5677.23,
    "desc": "Transfer to phone"
  },
  "fee": {
    "curAmt": {
      "amt": 0
    }
  },
  "deviceFingerPrint": "{\"Geolocation\":{\"city\":\"Bogota\",\"country\":\"Colombia\",\"ip\":\"190.217.17.210\",\"isp\":\"Level3ColombiaS.A\"},\"Hash\":{\"id\":\"26bdb237b9d81404702589e5c384b5472e4fe405b733e582ef97fa5a28fe07e0\"},\"General\":{\"deviceId\":\"daf1895883eda82c45e6c0c597662588\",\"hostname\":\"Chrome\",\"macAddress\":\"Windows\",\"passiveId\":\"\"}}"
}

Response information:

responseType: Response type object.

 value: Response Value

xFerInfo: xFerInfo object.

 pseTrnCode: Transaction identifier given by ach *
> Response 201.

{
    "responseType": {
        "value": "OK"
    },
    "xFerInfo":{
        "pseTrnCode":"6dGl2pEs3bra47Bz3"
    }
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "00050",
    "errorDesc": "Valor del plan menor al lmmite permitido",
    "errorType": "APL"
  }
}

-(8) Consult pending transfers send

Description: With this resource you can obtain the list of transfers to send.

Path [GET]:

/transfers-management/v1/transfiya/transfers/{cellPhone}/pending/send

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

URI parameters

cellphone: Origin cellphone (Required)

Query parameters

initialRecord: initial registration (If it is not sent, the default value is: 1 ) (Optional)

totalRecords: Number of Records Returned (If it is not sent, the default value is: 10 ) (Optional)

Response information:

responseType: Response type object.

 value: Response Value

xFerInfo: List of transfers

depAcctIdTo: Destination account information
   cellPhone:  Contains information of Destination Cell phone number
curAmt:  Contains a list all the data of the different balance e.g. Total balance , Available Balance , Exchange Balance , Pocket Balance,Total contingent withholding, Credit saving guarantee.
  > amt:  Value to send.
  > desc:  Concept of tranfers.

pseTrnCode:  Contains information of  transaction identifier given by ACH
> Example response 200.

{
  "responseType": {
    "value": "OK"
  },
  "xFerInfo": [
    {
      "depAcctIdTo": {
        "cellPhone": "5767867567"
      },
      "curAmt":{
        "amt": 768.10,
        "desc": "Money to "
       },
      "pseTrnCode": "6dG45pEs5brar7Bz8"
    },
    {
      "depAcctIdTo": {
        "cellPhone": "5745645567"
      },
      "curAmt":{
        "amt": 678.10,
      "desc": "Money to "
      },
      "pseTrnCode": "6dG43pEs5brar7Bz3"
    },
    {
      "depAcctIdTo": {
        "cellPhone": "5789567245"
      },
      "curAmt":{
        "amt": 454.10,
        "desc": "Money to "
      },
      "pseTrnCode": "6dG48pEs5brar7Bz1"
    }
  ]
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "00050",
    "errorDesc": "Valor del plan menor al lmmite permitido",
    "errorType": "APL"
  }
}

-(9)Accept send money

Description: With this resource you can accept send money (from 7 - Request money).

Path [PUT]:

/transfers-management/v1/transfiya/credit/agree

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

Request information (Body):

xFerInfo: xFerInfo object


pseTrnCode:  Contains information of  transaction identifier given by ACH *
depAcctIdFrom: depAcctIdFrom object. (Required)
        acctId: Contains information of registered account number. (Required)
        cellPhone:  Contains information of origin cell phone number. (Required)
   depAcctIdTo: (Required)
        cellPhone: Contains information of destination user's cell phone number.  (Required)
   amt: Contains information of value to send.(Required)
   desc: Contains information of description. (Required)
   flagTransferAccept: Contains information of Flag in which it is sent if you want to accept or reject the money transfer. ( Accept , Reject , ToBlock) (Required)

fee: fee object.

curAmt: curAmt object. (Required)
     amt: Contains information of commission value. (Required)

tx:Transaction Information

id: Transaction ID (Required)

deviceFingerPrint: Contains information of the component where the operation is performed (ACH FingerPrint) .(Required)

> Body request example:.

  {
  "xFerInfo": {
    "pseTrnCode": "6dG45pEs5brar7Bz3",
    "depAcctIdFrom": {
      "acctId": "22875459846",
      "cellPhone": "5744564566"
    },
    "depAcctIdTo": {
      "cellPhone": "5778566766"
    },
    "amt": 20000.10,
    "desc": "Transfer to ",
    "flagTransferAccept": "Accept"
  },
  "fee": {
    "curAmt": {
      "amt": 40.10
    }
  },
  "tx": {
    "id": "100082"
  },
  "deviceFingerPrint": "{\"Geolocation\":{\"city\":\"Bogota\",\"country\":\"Colombia\",\"ip\":\"190.217.17.210\",\"isp\":\"Level3ColombiaS.A\"},\"Hash\":{\"id\":\"26bdb237b9d81404702589e5c384b5472e4fe405b733e582ef97fa5a28fe07e0\"},\"General\":{\"deviceId\":\"daf1895883eda82c45e6c0c597662588\",\"hostname\":\"Chrome\",\"macAddress\":\"Windows\",\"passiveId\":\"\"}}"
}

Response information:

responseType: Response type object.

 value: Response Value

xFerInfo: List of transfers

pseTrnCode:  Contains information of  transaction identifier given by ACH
> Example response 201.

  {
    "responseType": {
        "value": "OK"
    },
    "xFerInfo":{
        "pseTrnCode":"6dGl2pEs3bra47Bz3"
    }
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "00050",
    "errorDesc": "Valor del plan menor al limite permitido",
    "errorType": "APL"
  }
}

-(10) Consult Trust Relationship

Description: With this resource you can obtain the list of consult Trust Relationship.

Path [GET]:

/transfers-management/v1/transfiya/account-relationships/{cellPhone}

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

URI parameters

cellphone: Origin cellphone (Required)

Response information:

responseType: Response type object.

 value: Response Value

xFerInfo: List of transfers

transaction: Transaction Object
   trnRqUid:  Transaction's ID

depAcctIdFrom: Origin account information
  cellPhone: Origin Cell phone number

depAcctIdTo: Destination account information.
  cellPhone: Destination Cell phone number

transfiyaOperationType: Determine if you have a trust relationship (Values [ A = Active , B = Blocked]).
startDt: Creation date.
> Example response 200.
{
  "responseType": {
    "value": "OK"
  },
  "xFerInfo": [
    {
      "transaction": {
        "trnRqUid": "29503d4b-6fe4-4b87-a29f-1412a07fbc7b"
      },
      "depAcctIdFrom": {
        "cellPhone": "574564556666"
      },
      "depAcctIdTo": {
        "cellPhone": "573564457766"
      },
      "transfiyaOperationType": "B",
      "startDt": "2022-05-05"
    },
    {
      "transaction": {
        "trnRqUid": "13703d4b-6fe4-4b87-a29f-1712a075bc3b"
      },
      "depAcctIdFrom": {
        "cellPhone": "5745678877"
      },
      "depAcctIdTo": {
        "cellPhone": "5735609896"
      },
      "transfiyaOperationType": "A",
      "startDt": "2022-05-05"
    }
  ]
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "20001",
    "errorDesc": "Matricula inexistente",
    "errorType": "RGN"
  }
}

-(11) Manage Trust Relationship .

Description: With this resource you can manage trust relationships

Path [POST]:

/transfers-management/v1/transfiya/account-relationships

Headers

X-Ident-DeviceFingerPrint: Device Fingerprint (optional)

X-Invoker-BranchId: Office code

X-Invoker-TerminalId: Term code

X-Invoker-Component: Component

X-Invoker-UserIPAddress: Client IP Address

X-Invoker-ServerIPAddress: Server IP Address

X-Invoker-UserMACAddress: Client MAC Address

X-Invoker-ServerMACAddress: Server MAC Address

X-Invoker-ProcessDate: Process date

X-Invoker-TxId: Id TX

X-Invoker-SessionKey: Session key

X-Invoker-Source: Origin

X-Invoker-Country: Country

X-Invoker-ProcessBpmId: ID BPM process

X-Invoker-ProcessId: Process ID

X-Invoker-Network: Net

X-Invoker-subChannel: Subchannel with which the transaction must be registered.

X-Invoker-User: User

X-Invoker-Action: Action

X-Invoker-Destination: Destination

X-Invoker-ModifierUser: Modification user

X-Invoker-ReferencedNumber: Reference number

X-Invoker-RequestNumber: Request number

X-Invoker-CustId: Client code

Headers Security

X-Security-CustLoginId: Used to identify the user who logs in

client_id: The Mule expression to use for obtaining the client ID from

client_secret: The Mule expression to use for obtaining the client secret from API requests

authorization: Used to send a valid OAuth 2 access token

Request information (Body):

xFerInfo [] : xFerInfo Array

   depAcctIdFrom: depAcctIdFrom object.
        cellPhone:  Contains information of origin cell phone number. (Required)
   depAcctIdTo:
        cellPhone: Contains information of destination user's cell phone number. (Required)

   transfiyaOperationType: Contains information of transfiyaOperationType [Enum:  Activate , Eliminate].(Required)

deviceFingerPrint: Contains information of the component where the operation is performed (ACH FingerPrint) .(Required)

> Body request example:

*Maximum size of trust relationships = 50 items.


{
  "xFerInfo": [
    {
      "depAcctIdFrom": {
        "cellPhone": "578956789878"
      },
      "depAcctIdTo": {
        "cellPhone": "568556677788"
      },
      "transfiyaOperationType": "Activate"
    },
    {
      "depAcctIdFrom": {
        "cellPhone": "585666677677"
      },
      "depAcctIdTo": {
        "cellPhone": "594566672323"
      },
      "transfiyaOperationType": "Eliminate"
    }
  ],
  "deviceFingerPrint": "{\"Geolocation\":{\"city\":\"Bogota\",\"country\":\"Colombia\",\"ip\":\"190.217.17.210\",\"isp\":\"Level3ColombiaS.A\"},\"Hash\":{\"id\":\"26bdb237b9d81404702589e5c384b5472e4fe405b733e582ef97fa5a28fe07e0\"},\"General\":{\"deviceId\":\"daf1895883eda82c45e6c0c597662588\",\"hostname\":\"Chrome\",\"macAddress\":\"Windows\",\"passiveId\":\"\"}}"
}

Response information:

responseType: Response type object.

 value: Response Value

xFerInfo: List of transfers

depAcctIdFrom: Origin account information
  cellPhone: Origin Cell phone number

depAcctIdTo: Destination account information.
  cellPhone: Destination Cell phone number

startDt: Creation date.

responseType: Response type object.
   value: Response Value

responseDetail: responseDetail object.
  errorCode: Error code.
  errorDesc: Error description.
  errorType: Error type.
> Example response 201.

{
  "responseType": {
    "value": "OK"
  },
  "xFerInfo": [
    {
      "depAcctIdFrom": {
        "cellPhone": "43464567676"
      },
      "depAcctIdTo": {
        "cellPhone": "43464566787"
      },
      "startDt": "2022-02-12",
      "responseType": {
        "value": "OK"
      },
      "responseDetail": {
        "errorCode": "",
        "errorDesc": "",
        "errorType": ""
      }
    }
  ]
}
> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "20001",
    "errorDesc": "Matricula inexistente",
    "errorType": "RGN"
  }
}

> Diagram of sequence for Immediate Transfers (Transfiya) all operations.

resources/DiagramaSecuenciaTrasnferenciasInmediatas-4312a69e-3dce-45da-a566-0a7c8bf2fc6e.jpg


> Common errors codes (Immediate Transfers (Transfiya) ).
HTTP CodeError CodeError TypeDescription
40420001RGNMATRICULA INEXISTENTE
40420002RGNTRANSACCION INEXISTENTE
40020101RGNEL CAMPO $ NO SE PERMITE NULO O VACIO
40400001RGNNo existen transferencias pendientes por Recibir
40400002RGNNo existen transferencias pendientes por Enviar
40400003RGNNo existen transferencias recientes
40400004RGNNo existe Relación de confianza.
40000123RESSe excede monto permitido para esta transacción
40000010EXPFunción no disponible
40000005RGNNumero de Celular YA Matriculado
40000101RGNNumero de Celular YA Matriculado
40011102VALCUENTA CON BLOQUEO FS
40000163VALCUENTA ES CUENTA CANCELADA
40011101VALCUENTA ES CUENTA INACTIVA
40006905VALCUENTA CON BLOQUEO BM
40011105VALCUENTA DE AHORROS PROGRAMADO
40011102VALCUENTA CON BLOQUEO FS
40011109VALCUENTA DE PRESTAMO O CDT
40001101RGNTRANSACCION DE RECHAZO YA PROCESADA
40011201RGNCUENTA NO POSEE FONDOS PARA ESTA OPERACIÓN.
40001102RGNTRANSFERENCIA NO PUEDE SER ACEPTADA POR EL MISMO CLIENTE.
50000304RGNError en la eliminacion de la relacion de confianza.

Pockets transfers.

/transfers-management/v1/transfers/pockets

-Pockets transfers .

Description: Pockets transfers

Path [POST]:

/transfers-management/v1/transfers/pockets

Request information (Body):

depAcctId: Account identification

   acctId: Product number

xFerInfo: Transfer Information

   amt: Amount
   flagTransfer: Transfer flag D : Transfer from transactional account to pocket - Debit, C: Pocket transfer to transactional account – Credit

branch: Information used to identify the bank

   branchId: Code of the office where you will collect the certification

> Body request example:


{
  "depAcctId": {
    "acctId": "240269999"
  },
  "xFerInfo": {
    "amt": 1000,
    "flagTransfer": "D"
  },
  "branch": {
    "branchId": "1102"
  }
}


Response information:

responseType: Response type object.

 value: Response Value

acctBal: Account balance

curAmt: contains the amount
  amt: Amount
> Example response 201.

{
    "responseType": {
        "value": "OK"
    },
    "acctBal": {
        "curAmt": {
            "amt": 5812025.20
        }
    }
}

> Example response Error.
Additional the error code of APIKit this resource it has some custom errors code or bussines errors and all errors used the follogin structur.
{
  "responseType": {
    "value": "ER"
  },
  "responseDetail": {
    "errorCode": "20001",
    "errorDesc": "Matricula inexistente",
    "errorType": "RGN"
  }
}

> Diagram of sequence for .... operations.

> Common errors codes (Immediate Transfers (Transfiya) ).
HTTP CodeError CodeError TypeDescription
40000001INPLa longitud del mensaje de entrada no es correcta
500*SQLm
500*MDBm
50000011EXPm
50030024PRAm

- Deposit

Description:

This service allows deposit

Path:

PUT: /transfers-management/v1/deposit:

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 - ¿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 constant e 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 IDObligatorio 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 transaccion asi: IDTX consulta 1234 ProccesId Pago: 1234SI
X-Invoker-NetworkNetEnviar espaciosNO
X-Invoker-subChannelSubchannel with which the transaction must be registeredValor fijo “06”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 userEnviar espaciosSI
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.depAcctIdTo.acctIdNumero Cuenta a despositarStringNumero de cuenta
trn.curAmt.amtValorNumberValor a depositar
trn.typeTipoTXStringN --> Normal R --> reverso
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.depAcctIdFrom.acctIdCuenta corresponsal BCStringCuenta de corresponsal

Request Example:

{
  "trn": {
    "transactionHour": "15:37:59",
    "code": "123456789123456",
    "depAcctIdTo": {
      "acctId": "12321414"
    },
    "curAmt": {
      "amt": 99
    },
    "type": "Normal",
    "trnRqUID": "123456",
    "branchName": "MI OFICINA BETTY",
    "cityId": "25386",
    "city": "LA MESA",
    "stateProv": "25",
    "depAcctIdFrom": {
      "acctId": "12321414"
    }
  }
}

Response Body:

Field NameDescriptionTypeComments
trn.personName.fullNameNombre TitularStringNombre del titular
trn.depAcctId.acctIdIdentificacion de la cuentaStringNumero de cuenta
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"
    },
    "depAcctId": {
      "acctId": "12321414"
    },
    "approvalId": "Z69599FB119FB12927E1"
  }
}

Response Error Example:

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

Diagram of sequence



Reviews