e-SiTef

e-SiTef

  • Portal do Desenvolvedor
  • Fale Conosco
  • English

›REST Payment

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

Multiple transactions status query

These services can be called to retrieve data from multiple transactions for a store or store group. It is essential to use this operation in cases of communication error to check the current status of transactions, which may have been carried out or not received by e-SiTef.

Note:

Consultation of transactions on e-SiTef ** DOES NOT perform a query on the status of transactions on the acquirer / authorizer **. This service returns the status of the transaction in the e-SiTef database.

Example: If a payment transaction is confirmed in e-SiTef, but is reversed via telephone directly to the acquirer / authorizer, this reversal will not necessarily be reflected in the e-SiTef transaction query service.

Call details

  • Resource: /v1/transactions
  • HTTP Method: GET
  • Request format: query string
  • Response format: JSON
  • Header parameters:
ParameterDescriptionFormatMandatory
merchant_idMerchant code on e-SiTef. The production and certification codes will be different.< 15 ANYES
merchant_keyMerchant authentication key on e-SiTef. The production and certification keys will be different.< 80 ANYES
group_idStore group code in e-SiTef. If sent, a search will be made for the store group. It is necessary that the store code is within the group.< 38 NNO
  • Request parameters:
ParameterDescriptionFormatMandatory
start_dateStart date of the transactions to be listed. Format: dd/MM/yyyy= 10 ANYES
end_dateEnd date of the transactions to be listed. Maximum period: 5 DAYS (configurable). Format: dd/MM/yyyy= 10 ANYES
statusTransaction status filter. Ex.: "CON"= 3 NNO
pageListing page. The first page has a value of "0". If it is not sent, we will assume the value "0".< 1000 NNO
limitMaximum number of records per page. If not sent, we will assume the maximum value of 1000 transactions at a time (configurable).< 4 NNO
payment_linkFilter to query by payment link transactions. Only active in true value< 5 T/FNO

Examples

Below are some examples of the query services calls using the cURL tool.

Payment query

Request:

curl
--request GET "https://esitef-homologacao.softwareexpress.com.br/e-sitef/api/v1/transactions?start_date=25/11/2020&end_date=27/11/2020&status=CON&page=0&limit=50"
--header "merchant_id: xxxxxxxxxxxxxxx" 
--header "merchant_key: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
--header "group_id: 12345"
--verbose

Response:

{
   "code":"0",
   "message":"OK. Transaction successful.",
   "current_page":"0",
   "total_pages":"1",
   "count":"2",
   "transactions":[
      {
         "type":"P",
         "authorizer_code":"000",
         "authorizer_message":"Transacao OK",
         "status":"CON",
         "nit":"1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqr",
         "order_id":"13064421440",
         "customer_receipt":"==== CUPOM COMPRADOR ====",
         "merchant_receipt":"==== CUPOM ESTABELECIMENTO ====",
         "authorizer_id":"2",
         "acquirer_id":"1005",
         "acquirer_name":"Redecard",
         "authorizer_date":"13/07/2017T18:44",
         "authorization_number":"132048",
         "merchant_usn":"13064421441",
         "esitef_usn":"170713097341620",
         "sitef_usn":"132048",
         "host_usn":"999132048   ",
         "payment_date":"13/07/2017T18:44",
         "amount":"1000",
         "payment_type":"C",
         "issuer":"2",
         "authorizer_merchant_id":"000000000000005",
         "merchant_id": "xxxxxxxxxxxxxxx",
         "creation_date": "13/07/2017T18:43",
         "installments": "1"
      },
      {
         "type":"F",
         "authorizer_code":"000",
         "authorizer_message":"Transacao OK",
         "status":"CON",
         "nit":"1234567890abcdefghijklmnopqrstuvwxyz1234567890abcdefghijklmnopqr",
         "order_id":"13064421440",
         "customer_receipt":"==== CUPOM COMPRADOR ====",
         "merchant_receipt":"==== CUPOM ESTABELECIMENTO ====",
         "authorizer_id":"2",
         "acquirer_id":"1005",
         "acquirer_name":"Redecard",
         "authorizer_date":"13/07/2017T18:44",
         "authorization_number":"132048",
         "merchant_usn":"13064421441",
         "esitef_usn":"170713097341620",
         "sitef_usn":"132048",
         "host_usn":"999132048   ",
         "payment_date":"13/07/2017T18:44",
         "amount":"1000",
         "payment_type":"C",
         "issuer":"2",
         "authorizer_merchant_id":"000000000000005",
         "merchant_id": "xxxxxxxxxxxxxxx",
         "creation_date": "13/07/2017T18:42",
         "installments": "3"
      }
   ]
}

Response parameters

If successful, the HTTP response code will be 200. Any other code must be interpreted as an error. The table below describes the response parameters of the multiple transactions query:

ParameterDescriptionFormat
codee-SiTef response code. Any code different from 0 means failure. Learn more.< 4 N
messagee-SiTef response message.< 500 AN
current_pageCurrent page of records.< 4 N
total_pagesTotal number of pages.< 4 N
countTotal count of records.< 4 N
transactions[] List of transactions found for the selected filters. We will return only the fields in common between the various types of transaction, besides the new "type" field, which explains what the type of transaction is.
typeType of transaction. Ex.: G = Pre Authorization Capture, A = AVS Consultation, E = Cancel, P = Payment, F = pre Authorization, R = Recharge< 1 A
authorizer_codeAuthorizer response code.< 10 AN
authorizer_messageAuthorizer response message.< 500 AN
statusStatus of the payment transaction on e-SiTef. Learn more.= 3 AN
nitIdentifier of the payment transaction on e-SiTef.= 64 AN
merchant_idMerchant code on e-SiTef. The production and certification codes will be different.< 15 AN
order_idOrder code sent by the merchant on the creation of the transaction.< 40 AN
merchant_usnUnique sequential number sent by the merchant on the creation of the transaction.< 12 N
amountTotal price of the purchase specified by the merchant (in cents) on the creation of the transaction.< 12 N
sitef_usnUnique sequential number of the payment transaction on SiTef.= 6 N
esitef_usnUnique sequential number of the payment transaction on e-SiTef.= 15 N
customer_receiptCustomer's receipt.< 4000 AN
merchant_receiptMerchant's receipt.< 4000 AN
authorizer_idCode of the authorizer used on the transaction.< 4 N
acquirer_idCode of the acquirer used on the transaction.< 4 N
acquirer_nameName of the acquirer used on the transaction.< 100 AN
authorizer_datePayment authorization date returned by the authorizer in dd/MM/yyyy'T'HH:mm format. Example: 13/07/2017T16:03= 16 D
authorization_numberAuthorization number.< 6 AN
host_usnHost USN.< 15 AN
tidID of the transaction on the acquirer. This field is only returned on transactions with acquirers that are external to SiTef.< 40 AN
payment_datePayment authorization date on e-SiTef in dd/MM/yyyy'T'HH:mm format. Example: 13/07/2017T16:03= 16 D
issuerIssuer code returned by the authorizer.< 5 AN
authorizer_merchant_idAffiliation code of the merchant on the authorizer.< 100 AN
payment_typeType of payment of the chosen authorizer. C = Credit, D = Debit< 1 A
creation_dateTransaction creation date on e-SiTef in dd/MM/yyyy'T'HH:mm format. Example: 13/07/2017T16:03= 16 D
installmentsTransaction installments number< 2 N
← Transaction status queryCard query service →
  • Call details
  • Examples
    • Payment query
  • 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