Foros

Solicitud de actualización de API de Tarjetas de Crédito, Búsquedas de Pagos Móviles y Botón de Pagos Móviles y Vueltos C2P

Tenemos tres herramientas desarrolladas de su catálogo de aplicaciones:
-Botón de Pagos Móviles y Vuelto C2P
-Búsquedas de Pagos Móviles
-TZM Tarjetas de Crédito

MERCANTIL_VUELTO_CLIENT_ID=
MERCANTIL_VUELTO_AFILIANCION_ID=
MERCANTIL_VUELTO_CIFRADO=
MERCANTIL_VUELTO_ENDPOINT=

MERCANTIL_BUSCAR_PAGOMOVIL_CLIENT_ID=
MERCANTIL_BUSCAR_PAGOMOVIL_VUELTO_AFILIANCION_ID=
MERCANTIL_BUSCAR_PAGOMOVIL_VUELTO_CIFRADO=
MERCANTIL_BUSCAR_PAGOMOVIL_ENDPOINT=

MERCANTIL_PAGO_TARJETA_CLIENT_ID=
MERCANTIL_PAGO_TARJETA_VUELTO_AFILIANCION_ID=
MERCANTIL_PAGO_TARJETA_VUELTO_CIFRADO=
MERCANTIL_PAGO_TARJETA_ENDPOINT=

En APIPORTAL solo nos permite ver los datos de CLAVE DE API, pero necesitamos confirmar los otros 3 datos, AFILIACION_ID, CIFRADO, ENDPOINT, para empezar a trabajar con estas herramientas en producción, ya que su desarrollo esta totalmente listo y a su vez, también fue aprobado por ustedes para su uso.

Sin más que decir, solo agradeciendo su atención y su pronta respuesta me despido,

Freddy Unda

Por favor enviar la respuesta a los siguientes correos:
dptofinanzastzm@gmail.com
tabyguillen@gmail.com
freddyundac@gmail.com 

A continuación les envío los datos solicitados de los desarrollos de cada aplicación:

=========================================

===BOTÓN DE PAGOS MÓVILES Y VUELTO C2P===

=========================================

https://apimbu.mercantilbanco.com/mercantil-banco/prod/v1/payment/c2p

[
 "headers" => [
   "X-IBM-Client-Id" => "96889e2a-f80c-4850-8295-b92240fd2298"
   "content-type" => "application/json"
 ]
 "json" => [
   "merchant_identify" => [
     "integratorId" => "1"
     "merchantId" => "212445"
     "terminalId" => "1"
   ]
   "client_identify" => [
     "ipaddress" => "172.22.0.1"
     "browser_agent" => "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
     "mobile" => [
       "manufacturer" => "Samsung"
       "model" => "S9"
       "os_version" => "Oreo 9.1"
       "location" => [
         "lat" => 37.422476
         "lng" => 122.08425
       ]
     ]
   ]
   "transaction_c2p" => [
     "amount" => 80.0
     "currency" => "ves"
     "destination_bank_id" => "0102"
     "destination_id" => "riRQKKCwBTdjXfzn7I7DkQ=="
     "origin_mobile_number" => "fSdKquA3nrkad90dvn6sTQ=="
     "destination_mobile_number" => "J8hJB/VMri5jd0kiJfllag=="
     "trx_type" => "vuelto"
     "payment_method" => "p2p"
     "invoice_number" => "VUEL571533"
   ]
 ]
]
"Respuesta"
[
 "info" => [
   "header_size" => 467
   "request_size" => 915
   "total_time" => 2.022747
   "namelookup_time" => 0.058797
   "connect_time" => 0.126028
   "pretransfer_time" => 0.266064
   "size_upload" => 647.0
   "size_download" => 273.0
   "speed_download" => 134.0
   "speed_upload" => 319.0
   "upload_content_length" => 647.0
   "starttransfer_time" => 2.022188
   "primary_ip" => "200.3.4.141"
   "primary_port" => 443
   "local_ip" => "172.22.0.6"
   "local_port" => 39318
   "http_version" => 2
   "protocol" => 2
   "scheme" => "HTTPS"
   "appconnect_time_us" => 265915
   "connect_time_us" => 126028
   "namelookup_time_us" => 58797
   "pretransfer_time_us" => 266064
   "starttransfer_time_us" => 2022188
   "total_time_us" => 2022747
   "effective_method" => "POST"
   "capath" => "/etc/ssl/certs"
   "cainfo" => "/etc/ssl/certs/ca-certificates.crt"
   "start_time" => 1720876119.1519
   "pause_handler" => Closure(float $duration) {#4262 ▶}
   "debug" => """
     * WARNING: failed to open cookie file ""
     * Host apimbu.mercantilbanco.com:443 was resolved.
     * IPv6: (none)
     * IPv4: 200.3.4.141
     *   Trying 200.3.4.141:443...
     * Connected to apimbu.mercantilbanco.com (200.3.4.141) port 443
     * ALPN: curl offers h2,http/1.1
     *  CAfile: /etc/ssl/certs/ca-certificates.crt
     *  CApath: /etc/ssl/certs
     * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / secp521r1 / RSASSA-PSS
     * ALPN: server did not agree on a protocol. Uses default.
     * Server certificate:
     *  subject: C=VE; L=Caracas; O=Mercantil C.A., Banco Universal; CN=apimbu.mercantilbanco.com
     *  start date: Jul 19 21:44:39 2023 GMT
     *  expire date: Jul 19 21:44:38 2024 GMT
     *  subjectAltName: host "apimbu.mercantilbanco.com" matched cert's "apimbu.mercantilbanco.com"
     *  issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2012 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1K
     *  SSL certificate verify ok.
     *   Certificate level 0: Public key type RSA (3072/128 Bits/secBits), signed using sha256WithRSAEncryption
     *   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
     *   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
     * using HTTP/1.x
     > POST /mercantil-banco/prod/v1/payment/c2p HTTP/1.1
     Host: apimbu.mercantilbanco.com
     X-IBM-Client-Id: 96889e2a-f80c-4850-8295-b92240fd2298
     content-type: application/json
     Accept: */*
     User-Agent: Symfony HttpClient/Curl
     Accept-Encoding: gzip
     Content-Length: 647

     < HTTP/1.1 401 
     < Connection: Keep-Alive
     < Transfer-Encoding: chunked
     < X-Backside-Transport: FAIL FAIL
     < Access-Control-Allow-Origin: *
     < Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,Access-Control-Allow-Origin,Access-Control-Allow-Credentials
     < Content-Type: application/json;charset=UTF-8
     < Date: Sat, 13 Jul 2024 13:08:41 GMT
     < X-Global-Transaction-ID: 2c2a31e466927c5770ffc74f
     < 
     """
 ]
 "response_headers" => [
   "HTTP/1.1 401 "
   "Connection: Keep-Alive"
   "Transfer-Encoding: chunked"
   "X-Backside-Transport: FAIL FAIL"
   "Access-Control-Allow-Origin: *"
   "Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,Access-Control-Allow-Origin,Access-Control-Allow-Credentials"
   "Content-Type: application/json;charset=UTF-8"
   "Date: Sat, 13 Jul 2024 13:08:41 GMT"
   "X-Global-Transaction-ID: 2c2a31e466927c5770ffc74f"
 ]
 "response_content" => [
   "{"processing_date":"2024-07-13 09:08:41 VET","merchant_identify":{"integratorId":1,"merchantId":212445,"terminalId":"1"},"error_list":[{"error_code":"9008","description":"El numero de telefono destino no es valido por favor corregir y realizar la transaccion nuevamente"}]}"
 ]
]

=================================

===BÚSQUEDAS DE PAGOS MÓVILES===

=================================

https://apimbu.mercantilbanco.com/mercantil-banco/prod/v1/mobile-payment/search

"Solicitud"
[
 "headers" => [
   "X-IBM-Client-Id" => "81188330-c768-46fe-a378-ff3ac9e88824"
   "content-type" => "application/json"
 ]
 "json" => [
   "merchant_identify" => [
     "integratorId" => "1"
     "merchantId" => "200284"
     "terminalId" => "1"
   ]
   "client_identify" => [
     "ipaddress" => "127.0.0.1"
     "browser_agent" => "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
     "mobile" => [
       "manufacturer" => "Samsung"
       "model" => "S9"
       "os_version" => "Oreo 9.1"
       "location" => [
         "lat" => 37.422476
         "lng" => 122.08425
       ]
     ]
   ]
   "search_by" => [
     "amount" => 823.88
     "currency" => "ves"
     "origin_mobile_number" => "Wy+kngqwT9e1AFP1UJVFtQ=="
     "destination_mobile_number" => "+6Dhe9pJB9M48ZJkbOoDEg=="
     "payment_reference" => "12345678"
     "trx_date" => "2024-06-14"
   ]
 ]
]

"Respuesta"
[
 "info" => [
   "header_size" => 343
   "request_size" => 828
   "total_time" => 0.446974
   "namelookup_time" => 0.111371
   "connect_time" => 0.179163
   "pretransfer_time" => 0.362989
   "size_upload" => 550.0
   "size_download" => 100.0
   "speed_download" => 223.0
   "speed_upload" => 1230.0
   "upload_content_length" => 550.0
   "starttransfer_time" => 0.444523
   "primary_ip" => "200.3.4.141"
   "primary_port" => 443
   "local_ip" => "169.254.76.1"
   "local_port" => 32798
   "http_version" => 2
   "protocol" => 2
   "scheme" => "HTTPS"
   "appconnect_time_us" => 362816
   "connect_time_us" => 179163
   "namelookup_time_us" => 111371
   "pretransfer_time_us" => 362989
   "starttransfer_time_us" => 444523
   "total_time_us" => 446974
   "effective_method" => "POST"
   "cainfo" => "/opt/bref/ssl/cert.pem"
   "start_time" => 1720874305.5028
   "pause_handler" => Closure(float $duration) {#11214 ▶}
   "debug" => """
     * WARNING: failed to open cookie file ""
     * Host apimbu.mercantilbanco.com:443 was resolved.
     * IPv6: (none)
     * IPv4: 200.3.4.141
     *   Trying 200.3.4.141:443...
     * Connected to apimbu.mercantilbanco.com (200.3.4.141) port 443
     * ALPN: curl offers h2,http/1.1
     *  CAfile: /opt/bref/ssl/cert.pem
     *  CApath: none
     * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / secp521r1 / RSASSA-PSS
     * ALPN: server did not agree on a protocol. Uses default.
     * Server certificate:
     *  subject: C=VE; L=Caracas; O=Mercantil C.A., Banco Universal; CN=apimbu.mercantilbanco.com
     *  start date: Jul 19 21:44:39 2023 GMT
     *  expire date: Jul 19 21:44:38 2024 GMT
     *  subjectAltName: host "apimbu.mercantilbanco.com" matched cert's "apimbu.mercantilbanco.com"
     *  issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2012 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1K
     *  SSL certificate verify ok.
     *   Certificate level 0: Public key type RSA (3072/128 Bits/secBits), signed using sha256WithRSAEncryption
     *   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
     *   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
     * using HTTP/1.x
     > POST /mercantil-banco/prod/v1/mobile-payment/search HTTP/1.1
     Host: apimbu.mercantilbanco.com
     X-IBM-Client-Id: 81188330-c768-46fe-a378-ff3ac9e88824
     content-type: application/json
     Accept: */*
     User-Agent: Symfony HttpClient/Curl
     Accept-Encoding: gzip
     Content-Length: 550

     < HTTP/1.1 401 Unauthorized
     < Connection: Keep-Alive
     < Transfer-Encoding: chunked
     < Content-Type: application/json
     < Access-Control-Allow-Origin: *
     < Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID
     < WWW-Authenticate: default
     < X-Backside-Transport: FAIL FAIL
     < 
     """
 ]
 "response_headers" => [
   "HTTP/1.1 401 Unauthorized"
   "Connection: Keep-Alive"
   "Transfer-Encoding: chunked"
   "Content-Type: application/json"
   "Access-Control-Allow-Origin: *"
   "Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID"
   "WWW-Authenticate: default"
   "X-Backside-Transport: FAIL FAIL"
 ]
 "response_content" => [
   "{ "httpCode":"401", "httpMessage":"Unauthorized", "moreInformation":"Invalid client id or secret." }"
 ]
]

=========================

===TARJETAS DE CRÉDITO===

=========================

https://apimbu.mercantilbanco.com/mercantil-banco/prod/v1/payment/pay

"Solicitud"
[
 "headers" => [
   "X-IBM-Client-Id" => "96889e2a-f80c-4850-8295-b92240fd2298"
 ]
 "json" => [
   "merchant_identify" => [
     "integratorId" => "1"
     "merchantId" => "229451"
     "terminalId" => "1"
   ]
   "client_identify" => [
     "ipaddress" => "172.22.0.1"
     "browser_agent" => "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0"
   ]
   "transaction" => [
     "trx_type" => "compra"
     "payment_method" => "tdc"
     "card_number" => "4242424242424242"
     "customer_id" => "001"
     "invoice_number" => "ORD571547"
     "expiration_date" => "2025/05"
     "cvv" => "wBv/m2CYe8FtjZMCjWUR+g=="
     "currency" => "ves"
     "amount" => 442.35
   ]
 ]
]

"Respuesta"
[
 "info" => [
   "header_size" => 467
   "request_size" => 731
   "total_time" => 0.499847
   "namelookup_time" => 0.06256
   "connect_time" => 0.120949
   "pretransfer_time" => 0.248945
   "size_upload" => 463.0
   "size_download" => 224.0
   "speed_download" => 448.0
   "speed_upload" => 926.0
   "upload_content_length" => 463.0
   "starttransfer_time" => 0.49434
   "primary_ip" => "200.3.4.141"
   "primary_port" => 443
   "local_ip" => "172.22.0.6"
   "local_port" => 59722
   "http_version" => 2
   "protocol" => 2
   "scheme" => "HTTPS"
   "appconnect_time_us" => 248716
   "connect_time_us" => 120949
   "namelookup_time_us" => 62560
   "pretransfer_time_us" => 248945
   "starttransfer_time_us" => 494340
   "total_time_us" => 499847
   "effective_method" => "POST"
   "capath" => "/etc/ssl/certs"
   "cainfo" => "/etc/ssl/certs/ca-certificates.crt"
   "start_time" => 1720875735.175
   "pause_handler" => Closure(float $duration) {#10165 ▶}
   "debug" => """
     * WARNING: failed to open cookie file ""
     * Host apimbu.mercantilbanco.com:443 was resolved.
     * IPv6: (none)
     * IPv4: 200.3.4.141
     *   Trying 200.3.4.141:443...
     * Connected to apimbu.mercantilbanco.com (200.3.4.141) port 443
     * ALPN: curl offers h2,http/1.1
     *  CAfile: /etc/ssl/certs/ca-certificates.crt
     *  CApath: /etc/ssl/certs
     * SSL connection using TLSv1.2 / ECDHE-RSA-AES256-GCM-SHA384 / secp521r1 / RSASSA-PSS
     * ALPN: server did not agree on a protocol. Uses default.
     * Server certificate:
     *  subject: C=VE; L=Caracas; O=Mercantil C.A., Banco Universal; CN=apimbu.mercantilbanco.com
     *  start date: Jul 19 21:44:39 2023 GMT
     *  expire date: Jul 19 21:44:38 2024 GMT
     *  subjectAltName: host "apimbu.mercantilbanco.com" matched cert's "apimbu.mercantilbanco.com"
     *  issuer: C=US; O=Entrust, Inc.; OU=See www.entrust.net/legal-terms; OU=(c) 2012 Entrust, Inc. - for authorized use only; CN=Entrust Certification Authority - L1K
     *  SSL certificate verify ok.
     *   Certificate level 0: Public key type RSA (3072/128 Bits/secBits), signed using sha256WithRSAEncryption
     *   Certificate level 1: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
     *   Certificate level 2: Public key type RSA (2048/112 Bits/secBits), signed using sha256WithRSAEncryption
     * using HTTP/1.x
     > POST /mercantil-banco/prod/v1/payment/pay HTTP/1.1
     Host: apimbu.mercantilbanco.com
     X-IBM-Client-Id: 96889e2a-f80c-4850-8295-b92240fd2298
     Content-Type: application/json
     Accept: */*
     User-Agent: Symfony HttpClient/Curl
     Accept-Encoding: gzip
     Content-Length: 463

     < HTTP/1.1 400 
     < Connection: Keep-Alive
     < Transfer-Encoding: chunked
     < X-Backside-Transport: FAIL FAIL
     < Access-Control-Allow-Origin: *
     < Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,Access-Control-Allow-Origin,Access-Control-Allow-Credentials
     < Content-Type: application/json;charset=UTF-8
     < Date: Sat, 13 Jul 2024 13:02:15 GMT
     < X-Global-Transaction-ID: 2c2a31e466927ad770d0752f
     < 
     """
 ]
 "response_headers" => [
   "HTTP/1.1 400 "
   "Connection: Keep-Alive"
   "Transfer-Encoding: chunked"
   "X-Backside-Transport: FAIL FAIL"
   "Access-Control-Allow-Origin: *"
   "Access-Control-Expose-Headers: APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID,Access-Control-Allow-Origin,Access-Control-Allow-Credentials"
   "Content-Type: application/json;charset=UTF-8"
   "Date: Sat, 13 Jul 2024 13:02:15 GMT"
   "X-Global-Transaction-ID: 2c2a31e466927ad770d0752f"
 ]
 "response_content" => [
   "{"processing_date":"2024-07-13 09:02:15 VET","merchant_identify":{"integratorId":1,"merchantId":229451,"terminalId":"1"},"error_list":[{"error_code":"B24N0","description":"Codigo de error no existe en la tabla de errores"}]}"
 ]
]

Soporte

¿Está buscando ayuda? Consulte las preguntas más frecuentes en nuestra página de soporte.

Contáctenos

Envíenos un mensaje. Nos pondremos en contacto con usted en cuanto podamos.

Establecer relaciones