e-SiTef

e-SiTef

  • Portal do Desenvolvedor
  • Fale Conosco
  • English

›Anti-Fraud Integration

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

ClearSale

Required credentials

As mentioned in "Overview - Required credentials", each institution has credentials that must be obtained for the integration. ClearSale's services demand credentials below:

  • app_code (Merchant Code)
  • entity_code - Merchant identification in ClearSale

IMPORTANT: The credentials above should be obtained from ClearSale. It is recommended to contact ClearSale and receive guidance on how to obtain the credentials. Then, the merchant should contact e-SiTef support and send the credentials to register in e-SiTef.

Manual review

As mentioned in "manual review flow", ClearSale is one of the anti-fraud institutions that has a manual review flow. Then, confirm that the registration of the manual review warning URLs are properly configured in the ClearSale. In case of doubt, contact our support.

Parâmetros antifraude da ClearSale

Below is the list of anti-fraud parameters processed by ClearSale. Some parameters have different treatments depending on the institution and the "Additional detail" column that specifies ClearSale's treatment. For details of each parameter, see the anti-fraud parameters list

Property
e-SiTef
Property
ClearSale
Additional detail
b2b_b2cOrder.B2B_B2C-
item_amountOrder.TotalItems-
total_order_amountOrder.TotalOrder-
delivery_time_cdOrder.DeliveryTimeCD-
qty_payment_typesOrder.QtyPaymentTypes-
ip (deprecated)Order.IP-
giftOrder.Gift-
gift_messageOrder.GiftMessage-
obsOrder.Obs-
sla_customOrder.SlaCustom-
originOrder.Origin-
reservation_dateOrder.ReservationDate-
nationalityOrder.Nationality-
list_type_idOrder.ListTypeID-
list_idOrder.ListID-
sequentialPayment.Sequential-
interestPayment.Interest-
interest_valuePayment.InterestValue-
shipping_typeOrder.ShippingType-
itemsObject json Array (Learn more)
payerObject json (Learn more)
billing_dataObject json (Learn more)
shipmentObject json Array (Learn more)
passengersObject json Array (Learn more)
connectionsObject json Array (Learn more)
hotel_reservationsObject json Array (Learn more)
purchase_dataObject json (Learn more)

Object items

Property
e-SiTef
Property
ClearSale
Additional detail
idItem.ID-
titleItem.Name-
quantityItem.Qty-
unit_priceItem.ItemValue-
category_idItem.CategoryIDOptional and numeric with size 1
category_nameItem.CategoryName-
giftItem.Gift-

Object payer

Property
e-SiTef
Property
ClearSale
Additional detail
namePayment.NameOptional and with format <150 A
cityPayment.Address.City-
address_street_complementPayment.Address.Comp-
address_countryPayment.Address.Country-
address_countyPayment.Address.County-
address_street_numberPayment.Address.Number-
statePayment.Address.State-
address_street_namePayment.Address.Street-
address_zip_codePayment.Address.ZipCode-
address_referencePayment.Address.Reference-
legal_documentPayment.LegalDocument-

Object billing_data

Property
e-SiTef
Property
ClearSale
Additional detail
cliente_idBillingData.ID-
personBillingData.Type-
cnpj_cpfBillingData.LegalDocument1-
identification_numberBillingData.LegalDocument2-
nameBillingData.Name-
birth_dateBillingData.BirthDate-
emailBillingData.Email-
genderBillingData.Gender-
addressObject json (Learn more)
phonesObject json Array (Learn more)
documentsObject json Array (Learn more)

Object address of billing_data

Property
e-SiTef
Property
ClearSale
Additional detail
street_nameBillingData.Address.Street-
street_numberBillingData.Address.Number-
complementBillingData.Address.Comp-
countyBillingData.Address.County-
cityBillingData.Address.City-
stateBillingData.Address.State-
countryBillingData.Address.Country-
zip_codeBillingData.Address.ZipCode-
referenceBillingData.Address.Reference-

Object phones of billing_data

Property
e-SiTef
Property
ClearSale
Additional detail
typeBillingData.Phones.Phone.Type-
ddiBillingData. Phones. Phone.DDI-
dddBillingData. Phones. Phone.DDD-
numberBillingData. Phones. Phone.Number-
extensionBillingData. Phones. Phone.Extension-

Object documents of billing_data

Property
e-SiTef
Property
ClearSale
Additional detail
typeBillingData.TypeAllowed values: CPF or CNPJ

Object shipment

Property
e-SiTef
Property
ClearSale
Additional detail
idShippingData.ID-
costOrder.ShippingPrice-
typeShippingData.Type-
legal_document1ShippingData.LegalDocument1-
legal_document2ShippingData.LegalDocument2-
nameShippingData.Name-
birth_dateShippingData.BirthDate-
emailShippingData.Email-
genderShippingData.Gender-
receiver_addressObject json (Learn more)
phonesObject json Array (Learn more)

Object receiver_address of shipment

Property
e-SiTef
Property
ClearSale
Additional detail
street_nameShippingData.Address.Street-
street_numberShippingData.Address.Number-
complementShippingData.Address.Comp-
countyShippingData.Address.County-
cityShippingData.Address.City-
stateShippingData.Address.State-
countryShippingData.Address.Country-
zip_codeShippingData.Address.ZipCode-

Object phones of shipment

Property
e-SiTef
Property
ClearSale
Additional detail
typeShippingData.Phones.Phone.Type-
ddiShippingData.Phones.Phone.DDI-
dddShippingData.Phones.Phone.DDD-
numberShippingData.Phones.Phone.Number-
extensionShippingData.Phones.Phone.Extension-

Object passengers

Property
e-SiTef
Property
ClearSale
Additional detail
namePassenger.NamePreencher com o nome completo
frequente_flyer_cardPassenger.FrequentFlyerCard-
legal_document_typePassenger.LegalDocumentType-
legal_documentPassenger.LegalDocument-
birth_datePassenger.BirthDate-

Object connections

Property
e-SiTef
Property
ClearSale
Additional detail
companyConnection.Compay-
flight_numberConnection.FlightNumber-
flight_dateConnection.FlightDate-
classConnection.Class-
fromConnection.From-
toConnection.To-
departure_dateConnection.DepartureDate-
arrival_dateConnection.ArrivalDate-

Object hotel_reservations

Property
e-SiTef
Property
ClearSale
Additional detail
hotelHotelReservation.Hotel-
cityHotelReservation.City-
stateHotelReservation.State-
countryHotelReservation.Country-
reservation_dateHotelReservation.ReservationDate-
reservation_expiration_dateHotelReservation.ReservationExpirationDate-
checkin_dateHotelReservation.CheckInDate-
checkout_dateHotelReservation.CheckOutDate-

Object purchase_data

Property
e-SiTef
Property
ClearSale
Additional detail
last_date_inserted_mailPurchaseInformationData.LastDateInsertedMail-
last_date_change_passwordPurchaseInformationData.LastDateChangePassword-
last_date_change_phonePurchaseInformationData.LastDateChangePhone-
last_date_change_mobile_phonePurchaseInformationData.LasteDateChangeMobilePhone-
last_date_inserted_addressPurchaseInformationData.LastDateInsertedAddress-
purchase_loggedPurchaseInformationData.PurchaseLogged-
purchase_logged_with_facebookPurchaseInformationData.PurchaseLoggedWithFacebook-

Example

Example of a request with basic parameters to begin a risk analysis payment transaction. Learn more payment parameters.

{
    "merchant_id": "LOJATESTE",
    "merchant_usn": "9876",
    "order_id": "111",
    "redirect": "M",
    "authorizer_id": "",
    "amount": "1000",
    "installments": "",
    "installment_type": "",
    "style": "N",
    "store_card": "",
    "soft_descriptor": "",
    "authenticate": "0",
    "transaction_type": "payment",
    "additional_data": {
        "anti_fraud": "enabled_after_auth",
        "extra_info": "",
        "currency": "BRL",
        "item_amount": "12343",
        "total_order_amount": "13412",
        "interest": "10.3",
        "interest_value": "100",
        "items": [
            {
                "id": "1",
                "title": "bola 1",
                "quantity": "1",
                "unit_price": "50000",
                "currency": "BRL",
                "picture_url": "http://sportv.globo.com/platb/files/1103/2011/08/bola_futebol.gif",
                "category_id": "others",
                "description": "bola para jogar 1",
                "weight": "200",
                "shipping_cost": "1000"
            },
            {
                "id": "2",
                "title": "bola 2",
                "quantity": "2",
                "unit_price": "25000",
                "currency": "BRL",
                "picture_url": "http://sportv.globo.com/platb/files/1103/2011/08/bola_futebol.gif",
                "category_id": "others",
                "description": "bola para jogar 2",
                "weight": "200",
                "shipping_cost": "1000"
            }
        ],
        "payer": {
            "name": "Joaquim",
            "surname": "Severino",
            "email": "js@softexpress.com.br",
            "date_created": "2014-03-12T06:55:17.413-04:00",
            "phone_area_code": "11",
            "phone_number": "11111111",
            "identification_type": "CPF",
            "identification_number": "09719224703",
            "address_street_name": "Rua Jose Ninguem",
            "address_street_number": "11",
            "address_street_complement": "ap 12",
            "address_zip_code": "01230120",
            "born_date": "12/12/1900",
            "city": "Sao Paulo",
            "state": "SP",
            "address_country": "Brazil",
            "address_county": "Campos Eliseos"
        },
        "purchase_data": {
            "purchase_logged_with_facebook": "1",
            "purchase_logged": "1",
            "last_date_inserted_address": "2016-02-19T10:00:00",
            "last_date_change_phone": "2016-02-19T10:00:00",
            "last_date_change_password": "2016-02-19T10:00:00",
            "last_date_inserted_mail": "2016-02-19T10:00:00",
            "last_date_change_mobile_phone": "2016-02-19T10:00:00"
        },
        "billing_data": {
            "phones": [
                {
                    "number": "123123123",
                    "ddd": "11",
                    "ddi": "34",
                    "extension": "1234",
                    "type": "0"
                }
            ],
            "address": {
                "zip_code": "02932900",
                "street_number": "123",
                "street_name": "rua legal",
                "floor": "1",
                "apartment": "1200",
                "complement": "lala",
                "city": "sao paulo",
                "state": "SP",
                "country": "Brazil",
                "county": "jardim lala",
                "reference": "lalelo"
            },
            "email": "email@gmail.com",
            "birth_date": "1990-02-19T10:00:00",
            "name": "John",
            "identification_number": "48515484755",
            "cnpj_cpf": "54861548806",
            "person": "1",
            "client_id": "123",
            "gender": "M"
        },
        "shipment": {
            "id": "98765432",
            "cost": "2000",
            "type": "1",
            "name": "Joao",
            "legal_document1": "1092384",
            "receiver_address": {
                "zip_code": "12345678",
                "street_number": "Rua of Exemplo",
                "street_name": "123",
                "floor": "3",
                "apartment": "901",
                "city": "São Paulo",
                "complement": "Sobreloja 3",
                "country": "brazil",
                "district": "Jardim of Exemplo",
                "state": "SP",
                "county": "jardins"
            },
            "phones": [
                {
                    "number": "123123123",
                    "ddd": "11",
                    "ddi": "34",
                    "extension": "1234",
                    "type": "0"
                }
            ]
        }
    }
}

ATTENTION: Pending transactions can be confirmed or undone by expired time. Learn more.

e-SiTef considers that ClearSale Payment has the data of the user making the purchase and BillingData refers to the data of the cardholder. Also, consider that the order e-mail is the buyer's e-mail and the order date is the date of creation of the payment transaction.

Response Codes

As explained in the chapter "Risk analysis response", the codes below are ClearSale's specific responses.

CodeDescriptionResend
00Transaction completedN
01Non-existent userN
02XML validation errorY
03XML transforming errorY
04Unexpected errorY
05Request already sent or not in reanalysisY
06Input Plugin ErrorY
07Output Plugin ErrorN
← Fraud notification serviceCyberSource →
  • Required credentials
  • Manual review
  • Parâmetros antifraude da ClearSale
    • Object items
    • Object payer
    • Object billing_data
    • Object shipment
    • Object passengers
    • Object connections
    • Object hotel_reservations
    • Object purchase_data
  • Example
    • Response Codes
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