Arborescence des pages

Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.





Align
alignright

     



Align
aligncenter


 Request

Response




Response

The "getWebPaymentDetailsResponse" message is Payline's response to a request for the result of a web payment. It allows you to obtain, among other things, the unique transaction number on Payline and the debit authorization number issued by your bank. 
The answer has the following structure:


Element

Description

Required

Format

Example

Condition

result

Information on the result of the request for payment information:

00000: Transaction approved 
01xxx: Transaction refused 
021xx: Internal Error

See below the elements

Yes

Object result



transaction

Transaction Information : See below the elements

transaction

Transaction Information

Yes

Object transaction



payment

Payment Information : See below the elements

payment

Payment Information

Yes

Object payment



authorization

Authorization Information : See below the elements

authorization

Authorization Information

Yes

Object authorizationSee below the elements



privateDataList

Information on private data See below the elements

no

Object privateDataList

See below the elements



paymentRecordId

Identifier of the payment record

no

YEAR

173661


billingRecordList


Deadline table See below the elements

no

Object billingRecordList

See below the elements


Only in the case of a recurring or subscription payment.

authentication3DSecure

Referred to POST by CSA See below the elements

noObject authentication3DSecure



card

Card Information : See below the elements

card

Card Information

no

Object cardOut

See below the elements



extendedCard

Additional information on the map See below the elements

noExtendedCardType Object



order

Order Information : See below the elements

order

Order Information

noObject order

See below the elements




paymentAdditionalList

Table of supplementary payments See below the elements

noObject paymentAdditionalList

See below the elements



Only in the case of additional payment (s)

media

Detection of the media by Payline used during the payment.

The possible values ​​of this tag are:

- Computer 
- Mobile 
- Tablet 
- TV 
- Console 
- Undefined

 no

AN25

Computer


numberOfAttempt

The number of attempts made by the customer during his web payment

List of possible values:

- 0: No payment attempt 
- 1, 2 or 3 payment attempts 
- 4, 5 or 6 payment attempts (only possible with the replay option of the transaction)

 no

N1

3

version 5 or higher

wallet

Portfolio InformationWallet Information : See below the elements

no

Object wallet

See below the elements



contractNumberWalletList

A chart of the contract numbers of the wallet See below the elements

noObject contractNumberWalletList

See below the elements


Not used in Widget mode. 
contractNumberNumber of the contract on which the transaction was carried outnoYEAR

bankAccountDataBank account information See below the elementsnoObject bankAccountDataSee below the elements

subMerchantPayment Facilitator Information See below the elementsnoObject subMerchant

buyerBuyer Information : See below the elementsbuyerBuyer InformationnoObject buyerSee below the elements
version 19 or higher



The reference elements

Object result


Extrait
Element

Ancre

Description

objectresult

Format

objectresult

Example

code

The return code of the web service:

Accepted transaction: 00000, 02400, 02500, 02501, 02517, 02520, 02616, 03000, 04000.

Other code: Transaction not accepted

N5

See details of Payline Return Codes

ShortMessage

Short message of the result of the transaction

AN50

See the list of values

longMessage

Message of the result of the transaction

AN255

partnerCodeReturn code from partner (payment method) and SAA acquirerAN50from version 14partnerCodeLabelPartner's wordingAN255from version 14

Object transaction

Element
Description
Format
Example
Condition
idUnique identifier of the Payline transactionAN50datedDate and time of Payline transactionAN17Format: dd / mm / yyyy HH24: MIisDuplicated

This indicator is returned by Payline in the case of a duplicate transaction:

1 = duplicate transaction 
0 = no duplicate detected

AN11isPossibleFraud

This indicator is calculated according to the criteria defined by the merchant:

1 = There is a risk of fraud 
0 = No risk of fraud detected

AN11fraudResultFraud CodeAN50fraudResultDetailsFraud DetailsObject fraudResultDetailsexplanationReason for refusal in case of fraudAN50threeDSecure

This indicator lets you know if the transaction is 3DSecure or not:

Y = 3DS Transaction 
N = Non-3DS Transaction 
D = Demotion Case (Version 14 or higher)

AN1softDescriptor

Information displayed on the account statement of the buyer, limited with certain means of payment. This information will be displayed on the payment ticket.

Special characters (not A..Z and 1..9) are specific to each acquirer / payment method.

AN64 *www.boutique.fr

version 13 or higher.

version 16 or higher for Paypal.

scoreScoring the possibility of fraud: Score from 0 to 10N52externalWalletTypeType of wallet used during the transactionAN20Ex: V.Me, MasterpassexternalWalletContractNumberVAD contract number associated with Wallet paymentAN50PartnerAdditionalData

Information returned to the merchant from the partners:

YEAR

version 16 or higher

avs
AVS Address Verification Service
object avsversion 17 or higher

Object fraudResultDetails

Element
Description
Format
Example
code

Return code of the web service.

N5

00000: Transaction approved

01xxx: Transaction refused

021xx: Internal Error

cf. complete list in the appendix table "List of return codes"ShortMessageShort message of the result of the transactionAN50longMessageMessage of the result of the transactionAN255

Object payment

Element

Description

Prerequisites

Format

Example

Condition

amount

Information passed when calling the doWebPayment function

Yes

N12

100

The value 100 corresponds to 1 €

currency

Currency of payment

Yes

N3

978

action

Action Code

Yes

N3

100

see the table

fashion

Payment method

Yes

AN3

CPT

see the table

contractNumber

Contract number

Yes

AN50

1234567

doWebPayment (defined point of sale), doCapture / doRefund (contractNumber returned by getPaymentDetails / getWebPaymentDetails).

differedActionDate

Date on which payment will be made

no

AN8

07/04/2016

Format: dd / mm / yy

If the mode = DIF field, then the DifferedActionDate date is required otherwise this field must be empty.

method

Name of the card issuer

no

AN20

CB

version 10 or higher

Ex: CB, PAYSAFECARD

softDescriptor

Information displayed on the account statement of the buyer, limited with certain means of payment. This information will be displayed on the payment ticket. 
Special characters (not A..Z and 1..9) are specific to each acquirer / payment method.

noAN64www.boutique.frversion 13 or higher
cardBrand

Indicates the mark used for the operation, see the values. 
It is taken into account only if the means of payment allows the choice of the mark.

noYEAR15

version 15 or higher

see table

registrationToken

Token used in response in services. 
It allows the partner to return a token to identify a consumer and finds this data when making a payment request.noYEARversion 18 or later RELEASE 4.53

Object authorization

Element

Description

Required

Format

Example

number

Authorization number issued by the acquirer authorization server. This field is filled in if the authorization request is granted1.

Yes

N6

123456

dated

Date and time of authorization

Yes

AN16

Format: dd / mm / yyyy HH24: MI

Object privateDataList

Element

Description

Required

Format

Example

privateData

List containing privateData

Number of items 0 to 100

Yes

Object privateData

Object privateData

Element

Description

Required

Format

Example

key

The name of the key of value

Yes

AN50

wear

value

Value associated with the key

Yes

AN50

dupond or durand, etc.

Object billingRecord

Element

Comment

Required

Format

Example

terms

dated

The date of the expiry

Yes

AN10

Format: dd / mm / yyyy

amount

The amount of maturity in the smallest unit of the currency.

Yes

N12

for an amount of 100 €, you must set the value 10000.

status

The status of a deadline

Yes

AN1

0: future deadline. 
1: accepted deadline 
2: deadline refused. 
3: current deadline (a retry is scheduled after one or more failures)

result

The return code of the due date processing

no

Object

cf. complete list in the appendix table "List of return codes"

00000: Transaction approved 
01xxx: Transaction refused 
02302: Transaction invalid

transaction

Payline transaction information

noObject

authorization

Information about the authorization issued by the acquirer authorization server

no

Object

nbTry

Number of payment attempts made

no

N3

version greater than or equal to 8

rank

Rank of the due date within the payment record.

Allows editing via updateBillingRecord

no

N12

version greater than or equal to 8

Object authentication3DSecure

Element

Description

Required

Type

Example

Condition

md

Referred to POST by CSA

no

AN20

pares

Referred to POST by CSA

no

YEAR

xid

Unique transaction identifier

no

AN20

eci

Electronic Commerce Indicator. To pass in the authorization

no

AN2

CAVV

Cardholder Authentication Verification Value determined by the ACS.

no

AN28

cavvAlgorithm

Positive integer specifying the algorithm used for CAVV generation. The current possible values ​​are:

0 = HMAC (SET ™ TransStain), 
1 = CVV, 
2 = CVV with ATN, 
3 = AAV MasterCard

W = Cryptogram generated by a Wallet solution

no

N1

W: UEP Wallet

Object result

Inclusion d'extrait
Object result
Object result
nopaneltrue


Ancre
objecttransaction
objecttransaction

Object transaction

Inclusion d'extrait
Object - transaction
Object - transaction
nopaneltrue


Ancre
objectfraudResultDetails
objectfraudResultDetails

Object fraudResultDetails

Inclusion d'extrait
Object - fraudResultDetails
Object - fraudResultDetails
nopaneltrue


Ancre
objectpayment
objectpayment

Object payment

Inclusion d'extrait
Object - payment
Object - payment
nopaneltrue


Ancre
objectauthorization
objectauthorization

Object authorization

Inclusion d'extrait
Object - authorization
Object - authorization
nopaneltrue


Ancre
objectprivateDataList
objectprivateDataList

Object privateDataList

Inclusion d'extrait
Object - privateDataList
Object - privateDataList
nopaneltrue


Ancre
objectprivateData
objectprivateData

Object privateData

Inclusion d'extrait
Object - privateData
Object - privateData
nopaneltrue


Ancre
objectbillingRecord
objectbillingRecord

Object billingRecord

Inclusion d'extrait
Object - billingRecord
Object - billingRecord
nopaneltrue


Ancre
objectauthentication3DSecure
objectauthentication3DSecure

Object authentication3DSecure

Inclusion d'extrait
Object - authentication3DSecure
Object - authentication3DSecure
nopaneltrue


Ancre
objectcardOut
objectcardOut

Object cardOut

Inclusion d'extrait
Object - cardOut
Object - cardOut
nopaneltrue


Ancre
objectextendedCardType
objectextendedCardType

Object extendedCardType

Inclusion d'extrait
Object - extendedCardType
Object - extendedCardType
nopaneltrue


Ancre
objectorder
objectorder

Object order

Inclusion d'extrait
Object - order
Object - order
nopaneltrue


Ancre
objectorderdetail
objectorderdetail

Object orderDetail

Inclusion d'extrait
Object - orderDetail
Object - orderDetail
nopaneltrue


Ancre
objectpaymentAdditionalList
objectpaymentAdditionalList

Object paymentAdditionalList

Inclusion d'extrait
Object - paymentAdditionalList
Object - paymentAdditionalList
nopaneltrue


Ancre
objectpaymentAdditional
objectpaymentAdditional

Object paymentAdditional

Inclusion d'extrait
Object - paymentAdditional
Object - paymentAdditional
nopaneltrue


Ancre
objectwallet
objectwallet

Object wallet

Inclusion d'extrait
Object - wallet
Object - wallet
nopaneltrue


Ancre
Object_address
Object_address

Object address

Inclusion d'extrait
Object - address
Object - address
nopaneltrue


Ancre
Object_card
Object_card

Object card

Inclusion d'extrait
Object - card
Object - card
nopaneltrue


Ancre
objectcontractNumberWalletList
objectcontractNumberWalletList

Object contractNumberWalletList

Inclusion d'extrait
Object - contractNumberWalletList
Object - contractNumberWalletList
nopaneltrue


Ancre
objectbankAccountData
objectbankAccountData

Object bankAccountData

Inclusion d'extrait
Object - bankAccountData
Object - bankAccountData
nopaneltrue


Ancre
objectsubmerchant
objectsubmerchant

Object subMerchant

Inclusion d'extrait
Object - subMerchant
Object - subMerchant
nopaneltrue



Ancre
objectbuyer
objectbuyer

Object buyer

Inclusion d'extrait
Object - buyer
Object - buyer
nopaneltrue

vadsResult

Summary of 3DSecure operations in hexadecimal. This field is no longer used.

no

AN8

typeSecurisationField used as information for authentication. This field is no longer used.noAN1020: VADS 
otherwise 9: VADPaResStatus

To use a non-Payline MPI, you must fill in this field.

Values ​​are: 
Y: Successful authentication 
N: Erroneous authentication 
A: Planned passage through ACS 
U: Call to ACS performed 
empty: Time out on ACS

noAN1VeResStatus

To use a non-Payline MPI, you must fill in this field.

Values ​​are: Y / N / U or empty

noAN1

Object cardOut

Element

Description

Required

Format

Example

Condition

number

Card marked according to PCI DSS

no

YEAR

111122XXXXXX4444

If the token field is populated, the number field must be empty.

type

Type of card: CB, VISA, MASTERCARD, MAESTRO, AMEX

no

YEAR

CB

expirationDate

Expiration date of the card

no

YEAR

0311

card holder

Cardholder

no

AN20

Pierre Dupont

token

Alias ​​of the card number.

The version must be greater than or equal to 3

no

AN19

1111gPNzHtyu4444

ExtendedCardType Object

Element

Comment

Required

Example

country

Country of issue of the card

AN2

ISO CODE: example FR

isCvd

The card is it a blue card

AN1

Y OR N

bank

The bank of the card used for payment

YEAR

Credit Lyonnais

type

The type of payment card

AN20

MASTERCARD

network

Refers to the attachment of the card to an entity managing the acceptance of the card at a national or international level

AN20

MASTERCARD

product

Indicates the category to which the card type belongs: see product codes

YEAR

Gold / Premier for a VISA card

Object order

Element

Description

Required

Type

Example

Condition

ref

Reference of the order. This reference must be unique because it is used for control in duplicate request. 
The \ character is forbidden.

Yes

AN50

12345678

origin

Origin of the order. If you have subscribed to the Mail Order and Telephone Order option then the values ​​are MO or TO.

No

AN50

SVI_ # 12

country

Code of the country in which the order was made, see the list.

Yes

AN2

EN

taxes

The amount of taxes on the order in the smallest unit of the currency. 
An amount of 1 € corresponds to 100

No

N12

100

amount

The amount of the order in the smallest unit of the currency. Usually the same amount as payment.amount. 
An amount of 60 € corresponds to

Yes

N12

6000

currency

The ISO code of the payment currency:

978: euros 
840: US dollars

cf. complete list in the appendix table "List of currencies"

Yes

N3

978

dated

The date of the order at the merchant:

Format to be respected: dd / mm / yyyy HH24: MI

Yes

AN16

07/04/2016 11:00

details

Information about the ordered items

No

Object OrderDetails

deliveryTime

Delivery time :

1 = express 
2 = standard

No

NOT

1

deliveryMode

Delivery method :

1: withdrawal of the goods from the merchant 
2: Use of a network of points-withdrawal third (type kiala, alveol, etc.) 
3: Withdrawal in an airport, a station or a travel agency 
4: Carrier (La Poste , Colissimo, UPS, DHL ... or any private carrier) 
5: Issuing an electronic ticket, downloads

No

NOT

4

deliveryChargeAmount of delivery charges in the smallest unit of the currency: example 250 for 2.50 eurosNoNOTversion 18 or higherdeliveryExpectedDate

Expected delivery date must be greater than the current date. Format: dd / mm / yyyy

NoAN1807/04/2016Posted to LimonetikdeliveryExpectedDelayExpected delivery time (in days)NoN210Posted to Limonetik

Object orderDetail

Element

How

required

Format

example

ref

Item reference

No.

AN50

price

Item price, in the smallest currency unit

No.

N12

quantity

Number of Items

No.

N5

how

How

No.

AN255

category

Category of item

No.

AN50

See table values

brand

Product brand

No.

AN50

Eg: HERMES

subcategory1

Rank 1 subcategory

No.

AN50

Eg: Watches & Jewelery

subcategory2

Rank 2 subcategory

No.

AN50

Eg: Jewelery

additionalData

List of specifications required for certain payment methods

No.

AN255

Eg: LegalAge = 18 & Discount = 0105

TaxRate

Item tax rate (expressed in hundredths)

No.

N4

Eg: 1580 for 15.8%

Object paymentAdditionalList

Element

How

Required

Format

Example

paymentAdditional

List containing paymentAdditional

Number of items 0 to 100

-

Object paymentAdditional

Object paymentAdditional

Element

Description

Required

Type

Example

transaction

Transaction Information

Yes

Object transaction

paymentPayment InformationYesObject payment

authorization

Authorization information

Yes

Object authorization

authentication3DSecure

Information on the 3Dsecure of the operation

no

 Objectauthentication3DSecure

cardBuyer card informationYesObject cardOutextendedCardBuyer card informationnoExtendedCardType Object

Object wallet

Element

Description

Required

Type

Example

Condition

walletId

The unique identifier of the virtual wallet. You must provide Payline with a unique identifier that corresponds to one and only one buyer on your information system. It is with this same identifier you can request a payment by virtual wallet.

Yes

AN50

lastNameThe name of the buyer. This information is useful for finding a portfolio in the Trading Administration Center.noAN100

firstName

First name of the buyer.

no

AN100

E-mail

The email address of the buyer. Payline will use this information to send a proof of payment to your customer.

no

AN150

shippingAddress

Delivery address of the buyer

no

Object address

cardBuyer card informationYesObject cardhowcommentsnoAN255defaultCard saved by defaultnoAN1Y or N: Default cardcardStatus

Possible values: 
- EXP: Date expired 
- OPP: setting opposition 
- MAN: manual deactivation 
- INT: internal rules

noAN3EXPcardBrand

Indicates the mark used for the operation:

Code
Wording
0CB1VISA4MASTERCARD5MAESTRO8BCMC

It is taken into account only if the means of payment allows the choice of the mark.

noN1CBfrom version 15

Object address

Element

Description

Required

Type

Example

title

Title, see table of values

no

AN2

1

name

Name or building number

no

AN100

firstName

First name

no

AN100

lastName

Name

no

AN100

street1

Street name

no

AN100

street2

Complement of the street name

no

AN100

CityName

City

no

AN40

zipCode

Postal code

no

AN20

country

Country, see the list of values.

no

AN2

EN

phone

Phone

no

AN15

state

State

no

AN15

countyRegionnoAN15PHONETYPEPhone category, see table of valuesnoN1

Object card

Element

Description

Required

Format

Example

Condition

encryptionKeyId

RSA Payline key identifier for encryption. Disregard this field.

no

N4

encryptedData

The encrypted card data. Disregard this field.

no

AN400

number

Masked card number, PCI DSS compliant

no

 AN19

4970102121041646 as input to our API. 
In output, the number is hidden: 497010XXXXXX1646

If the token field is populated, the number field must be empty.

type

Card type: CB, VISA, MASTERCARD, MAESTRO, AMEX.

Yes

YEAR

CB

expirationDate

Expiration date of the card

noN4

0311

cvx

Visual cryptogram on the back of the credit card

no

N10

XXX

  • if presence cavv, put "xxx"
  • if cavv absence, put "null"

ownerBirthdayDate

Bearer's birthday

no

N6

Format to respect: ddmmyy

password

Encrypted password

no

AN16

cardPresent

This service is used only if you make the Mail Order or Telephone Order or if the user is physically present

no

N1

0 or 1 (present)

card holder

Cardholder

no

AN20

Pierre Dupont

token

Alias ​​of the card number.

The version must be greater than or equal to 3

no

AN19

1111gPNzHtyu4444

You must use the PAN token option and the version must be greater than or equal to 3.

paymentDataObject at the input of the service to convey the data of the payment method ApplePaynoObject PaymentData

Object contractNumberWalletList

Element

How

required

Format

Example

Condition

contractNumberWallet

List containing the contract numbers of the portfolio. Number of elements 0 to 10.

The Widget mode uses the multi-PDV and multi-contract wallet: the wallet is linked to the merchant level.

No.

Not used in Widget mode. RELEASE 4.53

Object bankAccountData

Element

Description

Required

Format

Example

countryCodeCountry codenoYEAR

BANKCODE

Country code of the account number

no

AN10

accountNumber

Bank number

no

YEAR

keyIBAN accountnoYEAR

Used only for ELV

Object subMerchant

Object available in version 18 or higher of web services

Element

Description

Required

Type

Amex

CBMSCVISA

subMerchantId

Identifier of the sub-market (final beneficiary) defined by the payment provider (Payment Facilitator)

Yes

YesYes

YEAR

subMerchantName

Sub-merchant's name

Yes

no

YEAR

subMerchantMCC

MCC Code

Yes

YesYes

YEAR

subMerchantSIRET

Number Siret

no

Yesnono

YEAR

subMerchantTaxCode

Tax: Mandatory for countries: USA and CAN. It is up to the Payment Facilitator to determine whether this information should be provided or not.

no

no

YEAR

subMerchantStreet

Street name

Yes

no

YEAR

subMerchantCity

City

Yes

no

YEAR

subMerchantZipCode

Postal code

Yes

no

YEAR

subMerchantCountry

Country, see the list of values.

Yes

no

AN2

subMerchantState

state

no

no

YEAR

subMerchantEmailAddressE-mailYesyears.40subMerchantPhoneNumber

Phone number

YesYEAR

Object buyer

Element

Description

Required

Type

Example

ConditiontitletitlenoAN1See the table of values

lastName

Name of the buyer

no

AN100

firstName

Buyer's name

no

AN100

E-mail

Buyer's email address

no

AN150

Do not put more than 12 consecutive digits (egtest123456789101@test.test )

shippingAdress

Delivery address.

no

Object Address

billingAddress

Billing address

no

Object Address

accountCreateDate

The date of creation of the buyer's account

no

AN10

04/01/16

Format to respect: dd / mm / yy 

accountAverageAmount

The average amount of this buyer's purchases

no

N10

accountOrderCount

The number of orders placed by this buyer

no

N10

walletId

The identifier of the virtual wallet of your client.

No

AN50

Mandatory for wallet payments

walletDisplayed

Management of the display of the means of payment of your customer.

To not display the customer payment data, enter the value "none".

To display the customer payment data, the tag must be empty or absent

no

AN5

walletSecured

Nature of the control added to the payment kinematics WEB.

no

AN12

See the table of values

walletCardInd

Specifies the index of the map to use.

no

AN2

1

The index of the map, default value "1" 

ip

The IP address of the buyer

no

AN50

Format to respect: IPv4 or IPv6 

mobilephone

The mobile number of the buyer

no

N15

0033691666666

customerId

Customer ID

no

AN50

894492568

Clearsale: This data can be an identifier or an emaillegalStatusType of status of the actor: person or companynoN11Clearsale: see the table of value.legalDocumentIdentification number of the official documentnoAN100X5446119UbirthDateBirth datenoAN10

2016-04-27

Format: yyyy-mm-dd fingerprintIDDevice ID fingerprintnoAN50deviceFingerprintDeviceFingerPrint information.noYEARfrom version 15isBotDeviceFingerPrint information.Possible value: Y or NnoAN1from version 15isIncognitoDeviceFingerPrint information.Possible value: Y or NnoAN1from version 15isBehindProxyDeviceFingerPrint information.Possible value: Y or NnoAN1from version 15isFromTorDeviceFingerPrint information.Possible value: Y or NnoAN1from version 15isEmulatorDeviceFingerPrint information.Possible value: Y or NnoAN1from version 15isRootedDeviceFingerPrint information.Possible value: Y or NnoAN1from version 15hasTimezoneMismatchDeviceFingerPrint information.Possible value: Y or NnoAN1from version 15