Risk Notification API


❗️

Risk Notification API is being deprecated and has not received updates since 2024.

In order to continue your chargeback management, please migrate to Chargeback API.



Overview

Risk Notification API was developed by Braspag's Risk team for clients to consult fraud alerts, chargebacks, submit files for chargeback contestation and accept chargebacks.

The API is based on REST architecture, which exchange data in JSON format following authorization flows defined by the OAuth 2 protocol, where all standards are widely used by the industry and supported by the technical communities.

To learn more about OAuth 2, see https://oauth.net/2/

Objective

The purpose of this documentation is to guide the developer on how to integrate with the Risk Notification API by describing the operations available with examples of requests and responses.

To perform an operation, combine the base endpoint of the environment with the endpoint of the desired operation and send using the HTTP VERB as described in the operation.

Hosts

BraspagAuth API

Chargeback API Braspag

Authentication

Access Token

Risk Notification API Braspag uses the industry standard OAuth 2.0 protocol to authorize access to its environment-specific resources, which are: Sandbox and Production.

This session describes the flow required for client applications to obtain valid access tokens for use in the API.

Obtaining the access token

The access token is obtained through the oauth client_credentials. The diagram below illustrates, in chronological order, the communication between Client Application, BraspagAuth API and Risk Notification API.

  1. The Client Application, informs the BraspagAuth API your credential.

  2. The BraspagAuth API validates the credential received. If valid, returns the access token for Client Application.

  3. The Client Application informs the access token in the header of the HTTP requests made to the Risk Notification API.

  4. If the access token is valid, the request is processed and the data is returned to the Client Application

Request a credential by opening a ticket through our support tool, sending the exit IP (s) of your homologation and production servers.
[Support Braspag](https://suporte.braspag.com.br/hc/en-us

How to get the token

Once in possession of the credential, you will need to "encrypt" it in Base64, using the client_id:client_secret convention, and send the result in the header through the Authorization field.

Exemple:

  • client_id: braspagtestes
  • client_secret: 1q2w3e4r5t6y7u8i9o0p0q9w8e7r6t5y4u3i2o1p
  • String to be encoded in Base64: braspagtestes:1q2w3e4r5t6y7u8i9o0p0q9w8e7r6t5y4u3i2o1p
  • Result after encoding: YnJhc3BhZ3Rlc3RlczoxcTJ3M2U0cg==

Request

POST oauth2/token

Parâmetros no cabeçalho (Header)

KeyValue
Content-Typeapplication/x-www-form-urlencoded
AuthorizationBasic YnJhc3BhZ3Rlc3RlczoxcTJ3M2U0cg==

Parâmetros no corpo (Body)

KeyValue
scopeChargeback
grant_typeclient_credentials

Response

{
  "access_token": "faSYkjfiod8ddJxFTU3vti_ ... _xD0i0jqcw",
  "token_type": "bearer",
  "expires_in": 599
}

Parameters in the body (Body)

ParameterDescription
access_tokenThe access token requested. The application can use this token to authenticate itself to the protected resource, in this case the Antifraud Gateway API
token_typeIndicates the value of the token type
expires_inExpiry of the access token, in seconds
The token when it expires, it is necessary to get a new one

Simulating Chargeback

Through this option you will be able to create chargeback for transactions only in the sandbox environment. To do this, perform a POST according to the guidelines below.

POSTchargeback/test

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional
{
    "ChargebackBrandGroups": [{
        "Brand": "Visa",
        "Details": [{
            "Acquirer": "Cielo",
            "AcquirerCaseNumber": "2020052301",
            "AcquirerTransactionId": "0523103051968",
            "Amount": 100,
            "AuthorizationCode": "433946",
            "CardHolder": "Teste Holder",
            "EstablishmentCode": "TestAffiliation",
            "MaskedCardNumber": "402400******2931",
            "ReasonCode": "101",
            "ReasonMessage": "Responsabilidade EMV - Falsifcação",
            "SaleDate": "2020-05-23",
            "TransactionAmount": 100,
            "ProofOfSale": "3051968"
        }]
    },
    {
        "Brand": "Master",
        "Details": [{
            "Acquirer": "Cielo",
            "AcquirerCaseNumber": "2020052302",
            "AcquirerTransactionId": "0523103114691",
            "Amount": 100,
            "AuthorizationCode": "722134",
            "CardHolder": "Teste Holder",
            "EstablishmentCode": "TestAffiliation",
            "MaskedCardNumber": "402400******2931",
            "ReasonCode": "101",
            "ReasonMessage": "Responsabilidade EMV - Falsifcação",
            "SaleDate": "2020-05-23",
            "TransactionAmount": 100,
            "ProofOfSale": "3114691"
        }]
    }]
}
ParameterDescriptionTypeRequiredSize
ChargebackBrandGroups[n].BrandBrand
Informar o mesmo valor informado no campo Payment.CreditCard.Brand na criação da transação
stringyes32
ChargebackBrandGroups[n].Details[n].AcquirerAcquirer identifier
Send fixed Cielo
stringyes16
ChargebackBrandGroups[n].Details[n].AcquirerCaseNumberChargeback case number
This value will be used to carry out the Acceptance and Contestation operations
stringyes10
ChargebackBrandGroups[n].Details[n].AcquirerTransactionIdAcquirer transaction ID
If a transaction was created using Pagador Braspag API, inform the same value received in the field Payment.AcquirerTransactionId of the response
If a transaction was created using the Cielo 3.0 API or the Split Braspag API, inform the same value received in the Payment.Tid field of the response
stringyes20
ChargebackBrandGroups[n].Details[n].AmountChargeback amount in cents
Ex: 123456 = r$ 1.234,56
longyes-
ChargebackBrandGroups[n].Details[n].AuthorizationCodeAcquirer authorization code
Inform the same value received in the Payment.AuthorizationCode field of the response of the creation of the transaction
stringyes8
ChargebackBrandGroups[n].Details[n].CardHolderCard holder
Inform the same value informed in the field Payment.CrediCard.Holder when creating the transaction
In production, this field may be empty or may contain information other than the card holder
stringno100
ChargebackBrandGroups[n].Details[n].EstablishmentCodeEstablishment code or affiliation code
Inform the same value informed in the field Payment.Credentials.Code when creating the transaction
stringyes10
ChargebackBrandGroups[n].Details[n].MaskedCardNumberMasked card number
Inform the same value received in the Payment.CreditCard.Number field of the response of the creation of the transaction
stringyes16
ChargebackBrandGroups[n].Details[n].ReasonCodeChargeback reason code
Inform the code according to the table XXXXXXX
stringyes5
ChargebackBrandGroups[n].Details[n].ReasonMessageChargeback reason nessage
Inform the message according to the table XXXXXXX
stringyes128
ChargebackBrandGroups[n].Details[n].SaleDateAcquirer authorization date
Format: YYYY-MM-DD
dateyes10
ChargebackBrandGroups[n].Details[n].TransactionAmountTransaction amount in cents
Inform the same value informed in the field Payment.Amount when creating the transaction
Ex: 123456 = r$ 1.234,56
longyes-
ChargebackBrandGroups[n].Details[n].ProofOfSaleAcquirer unique sequential number (NSU)
Inform the same value received in the Payment.ProofOfSale field of the response of the creation of the transaction
stringyes20

Response

KeyValue
Content-Typeapplication/json
Status200 OK

Acceptance

Accepting a chargeback

POSTacceptance/{CaseNumber}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "CaseNumber": "000001",
    "Status": 2,
    "StatusDescription": "AcceptedByMerchant"
}

Parameters in the header (Header)

KeyValue
Content-Typeapplication/json
Status200 OK

Parameters in the body (Body)

KeyValue
CaseNumberChargeback case number
StatusChargeback status - [Table 3 - Chargebacks{n}.Status]({{ site.baseurl_root }}manual/chargeback#table-4-status)
StatusDescriptionChargeback status description

Accepting a nonexistent chargeback

POSTacceptance/{CaseNumber}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "Code": "ChargebackNotFounded",
    "Message": "Chargeback not found"
}

Parameters in the header (Header)

KeyValue
Content-Typeapplication/json
Status404 Not Found

Parameters in the body (Body)

KeyValue
CodeCode that chargeback was not found
MessageMessage that chargeback was not found

Accepting a previously accepted or contested chargeback

POSTacceptance/{CaseNumber}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "Code": "ChargebackAlreadyUpdated",
    "Message": "Chargeback already updated"
}

Parameters in the header (Header)

KeyValue
Content-Typeapplication/json
Status400 Bad Request

Parameters in the body (Body)

KeyValue
CodeCode that chargeback was previously accepted or contested
MessageMessage that chargeback was previously accepted or contested

Contestation

Contesting a chargeback

POSTv2/contestation/{CaseNumber}
{
    "Files":
    [{
        "FileName": "file1.png",
        "Content": "asdfghjkle ********** lkjhgfdsa"
    },
    {
        "FileName": "file2.jpg",
        "Content": "zxcvbnmasd ********** qwertyuio"
    },
    {
        "FileName": "file3.jpg",
        "Content": "qwertyuiop ********** asdfghjkl"
    }]
}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Parameters in the body (Body)

ParameterDescriptionTypeRequiredSize
Files[n].FileNameFile name with extension
File extension jpeg, jpg or png
Note: All files must add up to a maximum of 7mb in size
The deadline to submit the appeal is 7 calendar days, ie. chargeback from 2019-02-13 is possible to send the contestation until 2019-02-19
stringyes100
Files[n].ContentBase64 file contentstringyes-

Response

Parameters in the header (Header)

KeyValue
Content-Typeapplication/json
Status200 OK

Contesting a nonexistent chargeback

POSTv2/contestation/{CaseNumber}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "Code": "ChargebackNotFounded",
    "Message": "Chargeback not found"
}

Parameters in the header (Header)

KeyValue
Content-Typeapplication/json
Status404 Not Found

Parameters in the body (Body)

KeyValue
CodeCode that chargeback was not found
MessageMessage that chargeback was not found

Contesting a previously contested or accepted chargeback

POSTv2/contestation/{CaseNumber}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "Code": "ChargebackAlreadyUpdated",
    "Message": "Chargeback already updated"
}

Parameters in the header (Header)

KeyValue
Content-Typeapplication/json
Status400 Bad Request

Parameters in the body (Body)

KeyValue
CodeCode that chargeback was previously contested or accepted
MessageMessage that chargeback was previously contested or accepted

Contesting a chargeback and not sending the contestation files

POSTv2/contestation/{CaseNumber}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "Message": "The request is invalid.",
    "ModelState": {
        "contestationRequest.Files[0].FileName": [
        "FileName can not be null or empty."
    ],
    "contestationRequest.Files[0].Content": [
        "Content can not be null or empty."
    ]}
}

Parameters in the header (Header)

KeyValue
Content-Typeapplication/json
Status400 Bad Request

Parameters in the body (Body)

KeyValue
CodeCode that contestation file was not sent
MessageMessage that contestation file was not sent
ParameterDescription
MessageMessage stating that the request is invalid
Message.ModelState.ContestationRequest.Files[n].FileNameMessage stating that the file name was not sent
Message.ModelState.ContestationRequest.Files[n].ContentMessage stating that the content file was not sent

Contesting a chargeback by submitting the contestation file with an extension different than jpeg, jpg or png

POSTv2/contestation/{CaseNumber}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "Message": "The request is invalid.",
    "ModelState": {
    "contestationRequest.Files[0].FileName": [
        "The file extension must be sent. The accepted extensions are: '.png', '.jpg', '.jpeg'"
    ]}
}

Parâmetros no cabeçalho (Header)

KeyValue
Content-Typeapplication/json
Status400 Bad Request

Parâmetros no body (Corpo)

ParameterDescription
MessageMessage stating that the request is invalid
Message.ModelState.ContestationRequest.Files[n].FileNameMessage stating that the file was sent with an invalid extension

Contesting a chargeback by submitting contest files larger than 7mb

POSTv2/contestation/{CaseNumber}

Request

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes
EstablishmentCodexxxxxxxxxxEstablishment Code
Note: If this Key was not sent, MerchantId must be sent
conditional
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmMerchantID
Note: If this Key was not sent, EstablishmentCode must be sent
conditional

Parameters in the route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "Message": "File(s) file1.png, file2.png has length bigger than the size limit of 7MB."
}

Parameters in the header (Header)

KeyValue
Content-Typeapplication/json
Status400 Bad Request

Parâmetros no body (Corpo)

ParameterDescription
MessageMessage stating which file (s) are larger than 7mb

Contesting a chargeback by sending files and the sum of the size of all is greater than 7mb

POSTv2/contestation/{CaseNumber}

Request

Parâmetros no cabeçalho (Header)

KeyValueDescriçãoObrigatório
Content-Typeapplication/jsonTipo do conteúdo da requisiçãosim
AuthorizationBearer {access_token}Tipo da autorizaçãosim
EstablishmentCodexxxxxxxxxxNúmero do estabelecimento ou afiliação na adquirente
Obs.: Caso esta Key não seja enviada, obrigatoriamente a MerchantId deverá ser enviada
sim
MerchantIdmmmmmmmm-mmmm-mmmm-mmmm-mmmmmmmmmmmmId da loja na Braspag
Obs.: Caso esta Key não seja enviada, obrigatoriamente a EstablishmentCode deverá ser enviada
sim

Parâmetros na route

ParameterDescriptionRequired
CaseNumberChargeback related case numberyes

Response

{
    "Message": "Files has length bigger than the size limit of 7MB.",
}

Parâmetros no cabeçalho (Header)

KeyValue
Content-Typeapplication/json
Status400 Bad Request

Parâmetros no body (Corpo)

ParameterDescription
MessageMessage stating that all files sent by adding their sizes is greater than 7mb

Queries

Request

GETChargeback?StartDate={StartDate}&EndDate={EndDate}&PageIndex={PageIndex}&PageSize={PageSize}

Parameters in the header (Header)

KeyValueDescriptionRequired
Content-Typeapplication/jsonRequest content typeyes
AuthorizationBearer {access_token}Authorization typeyes

Parameters in the querystring

ParameterDescriptionRequired
StartDateQuery start datesim
EndDateQuer end datesim
PageIndexPage numberyes
PageSizeNumber of items per page
Maximum 250 items
yes
MerchantIdsMerchantId(s) to be used in the query
Note: If not submitted, the query will be performed taking into account the MerchantId(s) associated with ClientId
no
EstablishmentCodesEstablishment code(s) to be used in the query
Note: If not submitted, the query will be performed taking into account the Establishment code(s) associated with ClientId
no
CaseNumberChargeback case numberno
AcquirerTransactionIdAcquirer transaction ID (TID)no
BraspagTransactionIdPagador transaction ID or PaymentId (Cielo 3.0)no

Response

{
    "PageIndex": 1,
    "PageSize": 250,
    "Total": 500,
    "Chargebacks":
    [
        {
            "Id": "fd14e3fb-cf2a-4228-b690-1338660afc54",
            "CreatedDate": "2018-09-01 09:51:25",
            "Date": "2018-08-30",
            "CaseNumber": "000001",
            "Amount": 10000,
            "ReasonCode": "28",
            "ReasonMessage": "Consumidor nao reconhece a compra",
            "Status": "Received",
            "Comment": "Cliente enviou documentos inválidos",
            "IsFraud": true,
            "Transaction":
            {
                "AcquirerType": "Cielo",
                "EstablishmentCode": "1234567890",
                "MerchantOrderId": "abc123efg",
                "Tid": "1234567890BA2018XPTO",
                "Nsu": "258654",
                "AuthorizationCode": "T85245",
                "SaleDate": "2018-08-15",
                "PagadorMerchantId": "a1052460-92b2-49c3-a929-fc985df0ba2f",
                "BraspagTransactionId": "bb33b5c5-82fe-4254-9f1d-b9c97297b0d5",
                "Amount": 10000,
                "RawData": "JOAO D COUVES",
                "MaskedCardNumber": "453906******8385",
                "Brand": "Visa",
                "AntifraudMerchantId": "4b1b017a-a8b5-4e83-ae36-19c69f11845e",
                "AntifraudTransactionId": "9f6ec028-b55d-4605-b655-164ce62aeaef",
                "AntifraudSourceApplication": "Gateway",
                "ProviderTransactionId": "5446494501496896403073",
                "NegativeValues": [
                    "CustomerDocumentNumber",
                    "ShippingStreet"
                ], 
                "ProviderChargebackMarkingEvent": {
                    "Id": "5446495589216876903021",
                    "Status": "ACCEPT",
                    "Code": "100",
                }
            }
        }
    ]
}
ParameterDescriptionType
IdChargeback ID at Risk Notification APIguid
CreatedDateChargeback creation date at Risk Notification API
Ex.: 2018-09-01 09:51:25
date
DateChargeback date
Ex.: 2018-08-30
date
CaseNumberChargeback case numberstring
AmountChargeback amount in cents
Ex: 123456 = r$ 1.234,56
long
ReasonCodeChargeback reason codestring
ReasonMessageChargeback reason nessagestring
StatusChargeback status at Risk Notification API - [Table 3]({{ site.baseurl_root }}manual/chargeback#table-3-chargebacks[n].status)string
CommentComment associated with chargeback
If Cybersource transaction chargeback, this comment will be visible on Cybersource backoffice
string
IsFraudIdentifies if chargeback is fraudbool
Transaction.AcquirerTypeAcquirer identifierstring
Transaction.EstablishmentCodeEstablishment codestring
Transaction.MerchantOrderIdOrder IDstring
Transaction.TidAcquirer transaction IDstring
Transaction.NsuAcquirer unique sequential number (NSU)string
Transaction.AuthorizationCodeAcquirer authorization codestring
Transaction.SaleDateAcquirer authorization date
Ex.: 2018-08-15
date
Transaction.PagadorMerchantIdMerchant ID at Pagador or Cielo 3.0guid
Transaction.BraspagTransactionIdTransaction ID at Pagador or Cielo 3.0 (PaymentId)guid
Transaction.AmountTransaction amount in cents
Ex: 123456 = r$ 1.234,56
long
Transaction.RawDataData sent by acquirer and may be the card holder or other messagestring
Transaction.MaskedCardNumberMasked card numberstring
Transaction.BrandBrandstring
Transaction.AntifraudMerchantIdMerchant ID at Antifraudguid
Transaction.AntifraudTransactionIdTransaction Id at Antifraudguid
Transaction.AntifraudSourceApplicationOrigin of the antifraud platform - [Table 6]({{ site.baseurl_root }}manual/chargeback#table-6-chargebacks[n].transaction.antifraudsourceapplication)string
Transaction.ProviderTransactionIdTransaction ID at antifraud provider
Transaction.NegativeValuesParameters that were included in negative list when antifraud transaction for Cybersource
Parameters are concatenated using the character ,
Ex.: CustomerDocumentNumber, ShippingStreet
- [Table 1]({{ site.baseurl_root }}manual/chargeback#table-1-chargebacks[n].negativevalues)
string
Transaction.ProviderChargebackMarkingEvent.IdID of the chargeback transaction markup event. Cybersource onlystring
Transaction.ProviderChargebackMarkingEvent.StatusStatus of the chargeback transaction markup event. Cybersource only - [Table 4]({{ site.baseurl_root }}manual/chargeback#table-4-chargebacks[n].transaction.providerchargebackmarkingevent.status)string
Transaction.ProviderChargebackMarkingEvent.CodeCode of the chargeback transaction markup event. Cybersource only - [Table 5]({{ site.baseurl_root }}manual/chargeback#table-5-chargebacks[n].transaction.providerchargebackmarkingevent.code)string

Tables

Table 1 - Chargebacks[n].NegativeValues

Possible values to be entered in the negative list in Cybersource

ValueDescription
CustomerDocumentNumberCustomer document number: CPF or CNPJ
CustomerIpAddressCustomer IP address
CustomerPhoneCustomer phonenumber
ShippingStreetShipping address street
DeviceFingerprintSmartIdCustomer device fingerprint

Table 2 - Result.ProcessingStatus

Possible returns of the sent chargeback

ValueDescription
AlreadyExistTransaction already marked with chargeback previously
RemandChargeback to be resent
NotFoundTransaction found in database for values sent in Transaction node fields

Table 3 - Chargebacks[n].Status

Possible chargeback values

ValueDescription
ReceivedChargeback received from acquirer
AcceptedByMerchantChargeback accepted by merchant. In this case the store understands that it has indeed suffered a chargeback and will not hold the dispute
ContestedByMerchantChargeback contested by merchant. In this case the store has sent the necessary documents to try to reverse the chargeback

Table 4 - Chargebacks[n].Transaction.ProviderChargebackMarkingEvent.Status

ValueDescriptionProvider
ACCEPTChargeback markup accepted on providerCybersource
REJECTChargeback markup rejected on providerCybersource

Table 5 - Chargebacks[n].Transaction.ProviderChargebackMarkingEvent.Code

ValueDescriptionProvider
100Operation successfully performedCybersource
150Internal Error
Possible Action: Wait a few minutes and try resubmitting the chargeback tag
Cybersource
151The chargeback flag was received, but timeout occurred on the server. This error does not include client-server time-out
Possible Action: Please wait a few minutes and try resubmitting
Cybersource
152Chargeback markup received, but timeout occurred
Possible action: Please wait a few minutes and try resubmitting
Cybersource
234Cybersource Store Configuration Issue
Possible Action: Contact support to fix configuration issue
Cybersource

Table 6 - Chargebacks[n].Transaction.AntifraudSourceApplication

ValueDescriptionProvider
GatewayGateway Antifraud
LegacyLegacy Antifraud

Matrix

Matrix 1 - Documents

Segment\ReasonStandard DocumentsBearer Does Not Recognize TransactionProduct Not ReceivedServices Not ProvidedProduct Defective/Does not CheckUnprocessed CreditDuplicate Processing/Payments by Other Methods
Rental Company1. Copy of Proof of Sale
2) Cardholder Registration (name of cardholder, name registered on the website, Social Security Number, email, address, landline / mobile)
3) Invoice
4) Duly signed rental agreement stating insurance policy
5) Signature document on file (debit authorization)
6. Notification of paid traffic violation (if any)
7) Disclaimer (future damage)
8) Event report (if any)
9) Three accident and vehicle repair budgets (if any)
10 ) Notice to the bearer of damage / penalty charges
-6. Proof of checkout-6. Cancellation policy6. Two or more vouchers proving that there have been two or more transactions, inform the authorization code of the two transactions
Hotels1. Copy of proof of sale
2) Holder's registration (cardholder name, website name, social security number, email, address, landline / mobile phone)
3) Invoice
4) File signature document (debit authorization)
5. Description of services provided (chekin and checkout)-5. Description of services provided (chekin and checkout)-5. cancellation (no show) with a copy of the cancellation option screen on the website by the carrier proving the date5. Two or more vouchers proving that there were two or more transactions, inform the authorization code of the two transactions
Tourist Agency1. Copy of proof of sale
2) Holder's registration (Cardholder Name, Website Name, Social Security Number, Email, Address, Landline / Mobile)
3) Invoice
4) Travel Service Agreement (if any)
5. Official document certifying bearer's identity (double-sided)
6) Signature document on file (debit authorization) )
-5. Copy of issued tickets / voucher's-5. Cancellation policy5. Two or more vouchers showing that there have been two or more transactions, inform the authorization code of the two transactions
Cias Aereas1. Copy of proof of sale
2) Cardholder registration (name of cardholder, name registered on the website, social security number, email, address, landline / mobile phone)
3 ) Invoice
4) Travel service agreement (if any)
5. Official document certifying bearer's identity (double-sided)
6) Signature document on file (debit authorization)
-5. Copy of issued tickets / voucher's
6) Checkin (if any)
-5. Cancellation policy5. Two or more vouchers showing that there have been two or more transactions, enter authorization code of the two transactions
Data Processing Service
Online Services
1. Copy of Proof of Sale
2) Cardholder Registration (name of cardholder, name registered on the website, Social Security Number, email, address, phone number) fixed / mobile)
3) Invoice
4) Debit authorization
5) Purchase order for internet transactions
6) Copy of payment details screen
7. Description of the Services Provided
8) Cardholder Registration (Name of cardholder, Name registered on the website, Social Security number, Email, Address, Landline / Mobile
-7. Contract with details of the provision of services
8) Protocol on services provided
---
Supermarket or Retail1. Copy of Proof of Sale
2) Cardholder Registration (Cardholder's Name, Website Name, Social Security Number, Email, Address, Landline / Mobile)
3) Invoice
4) Debit authorization
5) Purchase order for internet transactions
6) Copy of payment details screen 7) Description of services provided
7) Proof of delivery of product and / or signed protocol
8) Electronic acceptance (if any)
7. Contract with details of service provision
8) Protocol of services provided
7. Return policy and exchange with electronic acceptance (if any)7. Cancellation policy7. Two or more vouchers proving that there have been two or more transactions, inform the authorization code of the two transactions
Tickets1. Copy of Proof of Sale
2) Cardholder Registration (Cardholder's Name, Website Name, Social Security Number, Email, Address, Landline / Mobile)
3) Invoice
4) Debit Authorization
5) Purchase Order for Internet Transactions
6) Copy of Means of Payment Screen
-7. Proof of Product Delivery and / or signed protocol
8) Electronic accept (if any)
-7. Return and exchange policy with electronic accept (if any)--
Publisher or Bookstore1. Copy of Proof of Sale
2) Cardholder Registration (Cardholder's Name, Website Name, Social Security Number, Email, Address, Landline / Mobile)
3) Invoice
4) Debit Authorization
5) Purchase Order for Internet Transactions
6) Copy of Means of Payment Screen
-7. Proof of Delivery product and / or signed protocol
8) Electronic accept (if any)
-7. Return and exchange policy with electronic accept (if any)--
Insurance Companies1. Copy of proof of sale
2) Cardholder registration (name of cardholder, name registered on the website, social security number, email, address, landline / mobile)
3) Invoice
4) Debit authorization
5) Purchase order for internet transactions
6) Copy of payment method screen
--7. return and exchange with electronic acceptance (if any)--
Other Segments1. Copy of proof of sale
2) Cardholder registration (name of cardholder, name registered on the website, social security number, email, address, landline / mobile)
3 ) Invoice
4) Debit Authorization
5) Purchase Order for Internet Transactions
6) Copy of Means of Payment Screen
7. Proof of Product Delivery and / or signed protocol
8) Letter from the true bearer acknowledging the expense
7. Proof of delivery of the product and / or signed protocol
8) Electronic acceptance (if any)
7. Contract with delivery details Services
8) Service Protocol
7. Return and Exchange Policy with Electronic Acceptance (if any)7. Cancellation Policy7. Two or more vouchers showing that there were two or more transactions, enter code of authorization of the two transactions