e-SiTef

e-SiTef

  • Portal do Desenvolvedor
  • Fale Conosco
  • English

›HTML Recharge

REST Payment

  • Overview
  • Quick start
  • Transaction creation service
  • Payment effectuation service
  • Payment confirmation service
  • Transaction status query
  • Multiple transactions status query
  • Card query service
  • Payment with multiple payment methods service
  • Payment with multiple payment methods confirmation service
  • External origin payment confirmation service

REST Store

  • Overview

REST Cancel

  • Flow
  • Quick start
  • Cancel via host
  • Cancel external origin
  • Cancel creation service
  • Cancel service

REST Pre-Authorization

  • Overview
  • Quick start
  • Pre-Authorization Creation Service
  • Pre-Authorization effectuation service
  • Pre-Authorization Status Query
  • Pre-Authorization Editing Service
  • Pre-Authorization Editing External Origin Service
  • Pre-Authorization Increment Service
  • Card Query Service
  • Pre-Authorization Capture Service
  • Pre-Authorization Capture External Origin Service

REST Schedule

  • Overview
  • Quick start
  • Transaction creation service
  • Schedule activation service
  • Execution of the scheduled payments
  • Schedule editing flow
  • Quick start: schedule editing
  • Schedule editing creation service
  • Schedule editing service

REST Recharge

  • Overview
  • Quick start
  • Recharge creation service
  • List dealers service
  • List branch data service
  • Recharge effectuation service
  • Recharge confirmation service
  • Recharge query service

HTML Payment

  • Overview
  • Quick start
  • Initializing a payment transaction
  • Status notification
  • Transaction status query
  • Payment with card storage
  • Pages Customization
  • Payment link
  • Split Payment
  • Payment with multiple payment methods
  • 3DS 2.0 Integration

HTML Pre-Authorization

  • Overview

HTML Recharge

  • Overview
  • Quick start
  • Initializing a Recharge transaction

REST Generic Operations

  • Overview
  • Token creation service
  • Generic operation service

JavaScript Payment

  • Overview
  • Quick start
  • Transaction creation service
  • Virtual store's payment page
  • Transaction query service

JavaScript Store

  • Overview
  • Quick start
  • Transaction creation service
  • Virtual store's page

Merchant Web Page

  • Introduction
  • Access to web page
  • Two-Factor Authentication
  • User Configuration
  • Configure Authorizers
  • Transaction Report
  • Daily Summary Report
  • Store Report
  • Recharge Report
  • Analytical Report
  • Transaction Cancellation
  • Schedule
  • Configure Risk Analysis
  • Configure Order Authorizers
  • Users Administration
  • Generate Payment Link

Retry

  • Overview
  • Flow
  • Retry and Schedule

SiTef Routings

  • Bradescard
  • Cetelem
  • GetnetLac
  • Orbitall
  • Vero
  • Bin
  • Sipag

Non SiTef Routings

  • Banco do Brasil
  • Banrisul Vero
  • Cielo e-Commerce
  • EPX
  • e.Rede Rest
  • Fepas HUB
  • Getnet WS
  • GlobalPayments WS
  • IPG
  • Itaú Shopline
  • Mercado Pago
  • PagSeguro
  • PayPal
  • SafraPay
  • Stone WS

Digital Wallet

  • Overview
  • VEE Digital Wallet via CardSE
  • Pix via CardSE
  • Google Pay
  • Visa Checkout
  • Masterpass
  • Samsung Pay
  • Apple Pay
  • Configuration for Digital Wallets

Anti-Fraud Integration

  • Overview
  • Risk analysis service on the HTML Interface
  • Risk analysis response
  • Manual review flow
  • Fraud notification service
  • ClearSale
  • CyberSource
  • Konduto
  • Fraud Detect

General Information

  • Authorizers
  • Digital Certificates
  • API codes
  • Soft Descriptor
  • Signature authentication

Batch Registrations

  • Batch Store Registration
  • Batch Routing Configuration

REST Merchants Registration

  • Overview
  • Quick start
  • Token creation service
  • Merchant creation service
  • Merchant editing service
  • Merchant query service
  • Merchant status query service
  • List merchants service
  • API codes

3DS Server

  • Overview
  • Quick start
  • Transaction creation service
  • Authentication service
  • Transaction query service
  • Challenge messages
  • Decoupled notification
  • Initiating a 3DS Method
  • API codes

Initializing a Recharge transaction

Transaction creation process

The transaction creation process must follow these steps:

  • The transaction is created according to the parameters sent in the request key and represented by a JSON object via POST in the request;
  • The merchant receives a success or error message, formatted as XML or JSON, according to the response_type parameter in the URL sent when starting a transaction.

URL to start a transaction via HTTPS POST:

Homologation environment:
https://esitef-homologacao.softwareexpress.com.br/e-sitef-hml/init/[response_type].se
Production environment:
https://esitef-ec.softwareexpress.com.br/e-sitef/init/[response_type].se

Attention: The IP should never be used instead of the domain esitef-ec.softwareexpress.com.br (or esitef-homologacao.softwareexpress.com.br for the homologation environment). IP can change at any time and without notice, so it is important to always use the domain to access e-SiTef.

POST parameters:

  • Key: request;
  • Value: JSON object;
  • [response_type]: json or xml;

JSON request example (JavaScriptObjectNotation):

URL: https://esitef-homologacao.softwareexpress.com.br/e-sitef-hml/init/json.se

Basic JSON request example:

{
    "merchant_id": "codigoDaLoja",
    "amount": "1800"
}

JSON object request with some additional parameters:

{
    "merchant_id": "codigoDaLoja",
    "order_id": "123456",
    "installments": "4",
    "recharge_included":"true",
    "recharge":{
        "dealer_code":"2",
        "phone":{
            "number":"87654321",
            "ddd":"11"
        }
    }
}

Test tools

For initial testing in this interface, if necessary, some tools can be used in order to better understand REST communication:

  • Application for Windows/Linux/Mac:
    • POSTMAN
  • Firefox extension:
    • RESTClient

Sample screens of these tools:

POSTMAN

RESTClient

Request parameters

To initiate a transaction in the new HTML payment interface, the following parameters can be initially filled in JSON format:

{
    "merchant_id": "codigoDaLoja",
    "recharge_included":"true",
    "recharge":{ }
}
ParameterDescriptionFormatMandatory
amountTotal amount that will be paid by the customer.
Format:
Must be sent in cents.
Ex.: 1000 (10 real).
< 12 NYES
recharge_includedNotifies that a recharge will be included.

Allowed values:
true – if a recharge will be included.
false – if a recharge will not be included.
Default value - false
< 5 AYES
rechargeRECHARGE object.
Contains information related to a recharge transaction.
NO

RECHARGE (recharge)

{
    "dealer_code": "1",
    "phone": { },
}
ParameterDescriptionFormatMandatory
dealer_codeDealer code.< 3 NNO
phonePHONE object.
Contains information related to the phone.
NO

PHONE (phone)

{
    "number": "123456789",
    "ddd": "11",
}
ParameterDescriptionFormatMandatory
numberPhone number.< 20 NNO
dddPhone area code.< 4 NNO

Response parameters

The response of the transaction creation operation (JSON format):

{
  "responseCode": 0,
  "description": "OK. Transaction successful.",
  "url": "https:// esitef-homologacao.softwareexpress.com.br/e-sitef/do.se?input['nit']= 1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqr",
  "nsuesitef": "123456789012345",
  "nit": "1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqr"
}

The returned fields are described in table below:

ParameterDescriptionFormat
responseCodee-SiTef response code. Any code different from 0(zero) means failure. Learn more.< 5 N
descriptionResponse description.< 1024 A
urlRedirection URL to begin the payment.< 256 A
nitTransaction identifier on e-SiTef.= 64 A
nsuesitefUSN (Unique Sequential Number) of the transaction on e-SiTef.= 15 A
← Quick startOverview →
  • Transaction creation process
    • Test tools
    • Request parameters
    • Response parameters
e-SiTef
Relacionamento com o cliente
+55 (11) 3170-5300+55 (11) 4766-8000comercial@softwareexpress.com.br
Acessos
Portal do DesenvolvedorPortal e-SiTefVersão para impressão
Copyright © 2021 Software Express Informática Ltda - Todos os direitos reservados