The "doReAuthorizationResponse" is the response made by Payline to a debit authorization request. The answer has the following structure :
Request to send
Élément Description Requis Type Exemple transaction Informations sur la transaction oui card Informations sur la carte non extendedCard Informations supplémentaire sur la carte non Object result Field Description Format code Web service return code : More information Return code and Payline message Accepted transaction: 00000, 02400, 02500, 02501, 03000, 04000. N5 shortMessage Short message of transaction status. See the list of values AN50 longMessage Message of transaction result : status detail AN255 Object transaction Date and time of Payline transaction. Format : dd/mm/yy HH24:MI pour les services : doRefund, doCapture, ... Format : dd/mm/yy HH24:MI:SS pour getWebPaymentDetailsResponse 01/01/18 12:00 01/01/18 12:00:00 This indicator is returned by Payline in case of transaction duplicated 1 = duplicate transaction This indicator is calculated according to the criteria defined by the merchant: 1 = There is a risk of fraud This indicator is returned by Payline during 3DSecure transactions : Y = 3DS Transaction Information displayed on the account statement of the buyer, limited with certain payment method. This information will be displayed on the payment ticket. Special characters (not A..Z and 1..9) are specific to each acquirer / payment method. Check acquirer for format and support (version CB2A 1.5). version 13 or higher. version 16 or higher for Paypal. Information returned to the merchant from the partners: version 16 or higher Object cardOut Field Description Format Example number Card marked according to PCI DSS AN 111122XXXXXX4444 If the token field is populated, the number field must be empty. type Type of card: CB, VISA, MASTERCARD, MAESTRO, AMEX AN CB expirationDate Expiration date of the card AN 0311 cardholder Cardholder's name AN20 Pierre Dupont token Alias of the card number. The version must be greater than or equal to 3 AN19 1111gPNzHtyu4444 In response card type used from XPay : TOKEN ou CARD_PAN Object extendedCardType Field Description Format Example country Card country issuer : CODE ISO AN3 FRA isCvd The card is it a Virtual Carte : Y or N AN1 Y bank The bank of the card used for payment AN50 Crédit Lyonnais type The type of payment card AN20 MASTERCARD network Refers to attachment of card to an entity managing the acceptance of card at national or international level MASTERCARD product Indicates the category to which the card type belongs: see product codes AN100 Gold/Premierresult Informations sur le résultat de la demande de ré-autorisation oui Object - result Object - transaction Voir les éléments ci-dessous Object - cardOut Voir les éléments ci-dessous Object - extendedCardType Voir les éléments ci-dessous Les éléments de références
Condition
Other code: Transaction not accepted.partnerCode Return code from partner (payment method) and SAA acquirer AN50 From version 14 partnerCodeLabel Description of the partner error code AN255 From version 14 Field Description Format Example Condition id Unique Payline transaction identifier AN50 date AN17 Suivi les webservices le format peut changer. isDuplicated
0 = no duplicate detectedAN1 1 isPossibleFraud
0 = No risk of fraud detectedAN1 1 fraudResult Fraud Code AN50 fraudResultDetails Fraud Details Object fraudResultDetails explanation Reason for refusal in case of fraud AN50 threeDSecure
N = Non-3DS Transaction
D = 3DS Downgraded by issuer (Version 14 or higher)AN1 softDescriptor AN64 www.boutique.fr score Fraud scoring value : Score from 0 to 10 N5 2 scoring Activated with subscription for Clearsale Object scoring externalWalletType Type of wallet used during the transaction. Ex : V.Me, Masterpass AN20 Masterpass Not used in doAuthorization externalWalletContractNumber VAD contract number associated with Wallet payment AN50 Not used in doAuthorization PartnerAdditionalData AN avs AVS Address Verification Service object avs version 17 or higher customerId For specific use only. AN version 23 or higher type For specific use only. AN version 23 or higher orderReference For specific use only. AN version 23 or higher payment For specific use only. object payment version 23 or higher pointOfSell For specific use only. object pointOfSell version 23 or higher card For specific use only. object card version 23 or higher extendedCard For specific use only. object extendedCard version 23 or higher Mandatory Condition No No No No No panType No AN TOKEN API version 22 or superior (4.60.1 ). AN20