Fields
These fields are used with Wirecard Payment Gateway REST API. They are mandatory (M) or optional (O) in a request. Fields that show only in the response are marked accordingly.
Please refer to the XSD for details about the field’s value range.
Field values must not contain & , < , > .
|
Request and Response Fields
payment
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
M/O |
String |
36 |
Unique identifier assigned to each merchant account.
Mandatory unless |
|
M/O |
String |
36 |
Used to resolve the merchant account based on a number of resolving rules. Mandatory unless |
|
M |
String |
150 |
The identification number of the request. It must be unique for each request. |
|
M |
Decimal |
18.3 |
The total amount that is requested in a transaction. In the case of a refund, this is what you request. In the case of a chargeback, this is the amount that is being contested. |
|
M |
String |
3 |
The currency of the requested transaction amount. |
|
M |
String |
30 |
Determines a transaction’s behavior during transaction processing and merchant settlement, e.g.
|
|
O |
String |
64 |
The descriptor is the text representing an order on the consumer’s bank statement issued by their credit card company. |
|
O |
String |
65535 |
Merchant side order details. |
|
O |
String |
32 |
The order number which you can provide. |
|
M/O |
String |
50 |
The ID of the consumer. |
|
M/O |
String |
36 |
Unique identifier for a preceding transaction. This is mandatory to assign a transaction to a previous one, e.g. to capture a preceding authorization. |
|
O |
String |
36 |
A unique ID assigned to a group of related transactions. For example, an authorization, capture, and refund will all share the same |
|
O |
String |
36 |
The
|
|
O |
String |
45 |
The global (internet) IP address of the consumer’s device. |
|
O |
Enumeration |
7 |
A transfer type of non-gambling Original Credit Transaction (OCT).
|
|
O |
String |
256 |
The URL to which the consumer is redirected during payment processing. This is normally a page on your website. Enter a value in the request if you want to send your consumer to a different page than defined in your integration. |
|
O |
String |
256 |
The URL to which the consumer is redirected after a successful payment. This is normally a success confirmation page on your website. Enter a value in the request if you want to send your consumer to a different page than defined in your integration. |
|
O |
String |
256 |
The URL to which the consumer is redirected after the payment has been canceled. This is normally a page on your website. Enter a value in the request if you want to send your consumer to a different page than defined in your integration. |
|
O |
String |
256 |
The URL to which the consumer is redirected after an unsuccessful payment. This is normally a page on your website notifying the consumer of a failed payment, often suggesting the option to try another payment method. Enter a value in the request if you want to send your consumer to a different page than defined in your integration. |
|
O |
String |
6 |
Code of the language the payment page is rendered in. Typically used in conjunction with Hosted Payment Page. |
|
O |
Enumeration |
n/a |
Channel through which the account holder information was collected.
|
|
O |
Enumeration |
2 |
|
|
O |
Enumeration |
Accepted values:
|
|
|
O |
String |
256 |
The merchant’s creditor ID allowing the merchant to process SEPA Direct Debit transactions. |
|
M/O |
String |
256 |
The URL to which the consumer is redirected after completion of a payment regardless of the transaction state. This is normally a page on the merchant’s website.
|
|
Response only |
String |
36 |
Unique identifier assigned to each transaction. |
|
Response only |
Enumeration |
n/a |
Current status of a transaction. Typically, a transaction starts |
|
Response only |
Timestamp |
20 |
The date and time that a transaction state changes to either |
|
Response only |
String |
24 |
Code indicating address verification services results. |
|
Response only |
String |
12 |
Code indicating Card Verification Value (CVC/CVV) verification results. |
|
Response only |
String |
50 |
Consumer identifier. |
|
Response only |
String |
36 |
Unique identifier assigned for each API. Always returned in the notification. |
|
Response only |
String |
256 |
Retrieves the issuer country of a certain credit card. It returns a two-digit country code, e.g. |
|
Response only |
String |
36 |
The unique identifier for a transaction submitted via a white-label API. |
|
Response only |
String |
n/a |
A reference URL to the merchant account. Can be used to retrieve merchant account details over a browser. |
@ |
Response only |
String |
n/a |
A reference URL to the payment. Can be used to retrieve payment details over a browser. |
|
Response only |
String |
36 |
Unique transaction reference ID assigned by the provider. |
account-holder
account-holder
specifies detailed information about the consumer. account-holder
fields are mainly Optional. However, we recommend that you include all account-holder
data in your request to facilitate fraud prevention.
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
Date |
Consumer’s birth date. |
|
|
M/O |
String |
156 |
Consumer’s email address as given in your shop. |
|
M/O |
String |
32 |
First name of the consumer. |
|
M/O |
String |
32 |
Last name of the consumer. |
|
O |
Enumeration |
1 |
Consumer’s gender.
|
|
O |
String |
64 |
Consumer identifier in your shop. Requests that contain payment information from the same consumer in the same shop must contain the same string. |
|
O |
String |
18 |
Mobile phone number provided by the consumer. |
|
M/O |
String |
18 |
Phone number provided by the consumer. |
|
O |
String |
18 |
Work phone number provided by the consumer. |
|
O |
String |
14 |
Consumer’s social security number. |
|
O |
String |
14 |
This is the tax-number of the consumer. |
account-holder.account-info
account-info
fields are used with 3D Secure 2. With account-info
you can provide detailed information about the consumer. Provide all the account-info
data in your 3D Secure 2 request to facilitate fraud prevention.
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
Enumeration |
2 |
Type of consumer login in your shop.
|
|
O |
Timestamp |
20 |
Date and time (UTC) of the consumer login to your shop. |
|
O |
Date |
10 |
Date that the consumer’s card was added to their account in your shop for card-on-file payments (one-click checkout). |
|
O |
Numeric |
9 |
Number of cards the consumer has attempted to add to their account in your shop for card-on-file payments (one-click checkout) in the past 24 hours. |
|
O |
Enumeration |
2 |
Specifies whether this transaction shall be subject to Strong Customer Authentication (SCA).
If the element is not provided, the ACS will interpret this as |
|
O |
Date |
10 |
Registration date (UTC) of the consumer’s account in your shop. |
|
O |
Date |
10 |
Date that the consumer last changed/reset their password in your shop. |
|
O |
Number |
9 |
Number of successful orders by the consumer in your shop within the past six months. |
|
O |
Date |
10 |
Date that the consumer first used this shipping address in your shop. |
|
O |
Boolean |
Indicates if you know of suspicious activities by the consumer (e.g. previous fraud). |
|
|
O |
Number |
9 |
Number of transactions (successful, failed, and canceled) that the consumer has attempted in the past 24 hours. Does not include merchant-initiated transactions. |
|
O |
Number |
9 |
Number of transactions (successful, failed, and canceled) that the consumer has attempted in the past year. Does not include merchant-initiated transactions. |
|
O |
Date |
10 |
Date that the consumer last made changes to their account in your shop, e.g. changes to billing and shipping address, new payment account, new email address. |
address
address
is a child of
It is used to specify the consumer’s address and can refer to
-
the consumer (for
account-holder
). The account holder’s address is used as the billing address. -
the consumer’s shipping address (for
shipping
). For 3D Secure 2 transactions it is highly recommended to sendshipping.address
data in any case, as a complete set ofshipping.address
data reduces the likelihood of a challenge test. -
the ticket issuer (for
airline-industry
).
Data can be provided optionally but it helps with fraud checks if address
is complete.
Field | M/O | Data Type | Size | Description |
---|---|---|---|---|
|
M/O |
String |
50 |
Line 1 of the street of the consumer’s address.
|
|
O |
String |
50 |
Line 2 of the street of the consumer’s address.
|
|
O |
String |
50 |
Line 3 of the street of the consumer’s address.
|
|
M/O |
String |
50 |
City of the consumer’s address.
|
|
M/O |
String |
2 |
Country of the consumer’s address.
|
|
M/O |
String |
16 |
ZIP/postal code of the consumer’s address.
|
|
M/O |
String |
3 |
State/province of the consumer’s address. |
|
O |
String |
12 |
Block number of the consumer’s billing address. |
|
O |
String |
3 |
Level (floor) of the consumer’s billing address. |
|
O |
String |
12 |
Unit of the consumer’s billing address. |
bank-account
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
34 |
The International Bank Account Number required in bank transfer. It is an international standard for identifying bank accounts across national borders. The current standard is ISO 13616:2007, which indicates SWIFT as the formal registrar. |
|
O |
String |
15 |
The Bank Identifier Code in bank transfer. |
|
O |
String |
34 |
The number designating a bank account used nationally. |
|
O |
String |
15 |
The national bank sorting code for national bank transfers. |
|
O |
String |
100 |
The name of the consumer’s bank. |
|
O |
String |
64 |
The address of the bank. Typically required for Chinese Bank Transfers. |
|
O |
String |
64 |
The city in which the bank is located. Typically required for Chinese Bank Transfers. |
|
O |
String |
64 |
The state in which the bank is located. Typically required for Chinese Bank Transfers. |
browser
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
2048 |
HTTP Accept Header as retrieved from the consumer’s browser in the HTTP request. If the string is longer than 2048, it must be truncated. We strongly recommend to provide this field if you want to prevent rejection from the ACS server. |
|
O |
Enumeration |
2 |
Dimensions of the challenge window as displayed to the consumer. The ACS replies with content that is formatted to correctly render in this window to provide the best possible user experience.
|
|
O |
Number |
2 |
Value representing the bit depth of the color palette for displaying images, in bits per pixel. Obtained from consumer’s browser using the
|
|
M/O |
String |
45 |
IP address of the consumer’s browser, obtained by payment page during payment.
|
|
O |
Boolean |
Boolean that represents the ability of the consumer’s browser to execute Java. |
|
|
O |
String |
8 |
Value representing the browser language as defined in IETF BCP47. |
|
O |
String |
12 |
Total height and width of the consumer’s screen in pixels. |
|
O |
String |
5 |
Time difference in minutes between UTC and the local time of the consumer’s browser. Value is returned from the |
|
O |
String |
256 |
User agent as retrieved from the cardholder’s browser in the HTTP request. We strongly recommend to provide this field if you want to prevent rejection from the ACS server. |
card
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
M/O |
String |
36 |
The embossed or encoded number that identifies the card issuer to which a transaction is to be routed and the account to which it is to be charged, unless specific instructions indicate otherwise. In the case of a credit card, this is the primary account number. |
|
O |
String |
2 |
The type of account, e.g. for a multi-account card product. Include this field
Otherwise, the field is optional. |
|
M/O |
String |
4 |
A security feature for credit or debit card transactions, providing increased protection against credit card or debit card fraud. The card security code is located on the back of credit or debit cards and is typically a separate group of 3 digits to the right of the signature strip. |
|
M/O |
String |
15 |
Card brand, e.g. Mandatory for credit card transactions. |
|
M/O |
Numeric |
2 |
The 2-digit representation of the expiration month of the |
|
M/O |
Numeric |
4 |
The 4-digit representation of the expiration year of the |
|
M/O |
Boolean |
This flag is set to |
|
O |
String |
79 |
"Track" of information on a credit card that usually contains credit card number, expiration date and consumer name. |
|
O |
String |
40 |
"Track" of information on a credit card that usually contains credit card number and expiration date. |
|
card-emv
card-emv
a child of payment.card.
It is used for card present transactions. You can find additional card-emv
fields in the Response > card-emv
section.
For card present transactions.
Field |
Datatype |
Size |
Description |
|
---|---|---|---|---|
|
M |
String |
999 |
The ICC System Related Data field contains information required by the acquirer to complete an EMV transaction with an issuer. The authorization request cryptogram is sent during an authorization request and contains data from the chip card presented. |
|
M |
String |
5 |
|
|
Response only |
String |
999 |
The ICC System Related Data field contains information from an issuer to the acquirer to complete the EMV transaction. The authorization response cryptogram is sent in an authorization response and contains data from the issuer to be verified by the card. |
|
Response only |
String |
5 |
Encoding method of the response EMV data. |
card-pin.
card-pin
is a child of payment.card. card-pin
is used for card present payments.
Consumer’s Personal Identification Number data are always encrypted.
A card present payment process can be initiated by a POS terminal (PIN pad) transaction processed online (and/or offline). The terminal accepts, encrypts and forwards the cardholder’s PIN.
All card-pin fields are mandatory for payment processes with online PIN.
|
Field | M/O | Data Type | Size | Description |
---|---|---|---|---|
|
M |
String |
24 |
Encrypted PIN generated by the PIN pad. |
|
M |
String |
6 |
PIN data encoding method.
|
|
M |
String |
5 |
PIN block format according to ISO 9564.
|
card-raw
card-raw
is a child of payment.card.
card-raw
data is used, when the consumer uses a mobile device in a card present payment process.
For mobile device initiated transactions, there is typically a backend server that integrates to the Wirecard Payment Gateway for payment transactions processing. This is to ensure that the credentials connecting to the gateway are not published in mass consumer devices.
If card-raw.data is submitted, all the other card-raw fields below are mandatory.
|
Field | M/O | Data Type | Size | Description |
---|---|---|---|---|
|
O |
String |
256 |
Encrypted card details directly from card reader. |
|
M/O |
String |
6 |
Raw card data encoding method.
|
|
M/O |
String |
30 |
Raw data format. |
card-token
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
36 |
The masked version of |
|
O |
String |
36 |
Identifier used for the credit card in the external system which is used in mapping to |
|
M/O |
String |
36 |
The token corresponding to the |
cryptogram
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
M/O |
String |
1024 |
Name of payment method for which a cryptogram is created. |
|
M/O |
String |
1024 |
Encrypted payment data. Typically used in place of an |
custom-fields.custom-field
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
@ |
O |
String |
36 |
Merchant-defined name of the custom field. |
@ |
O |
String |
256 |
Content of the merchant-defined custom field. In this field you can send additional information. |
device
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
4096 |
Information collected about a remote computing device for the purpose of identification. Fingerprints can be used to fully or partially identify individual users or devices even when cookies are turned off. |
encryption-context
encryption-context
is a child of
payment.card.card-pin
and payment.card.card-raw
are used for card present payments.
All encryption-context fields are mandatory for payment processes with online PIN.
|
Field | M/O | Data Type | Size | Description |
---|---|---|---|---|
|
M/O |
String |
10 |
Encryption context algorithm. |
|
M/O |
String |
30 |
Encryption context parameter (hex encoded) to determine the key for decryption. |
|
M/O |
String |
5 |
Encryption context padding. |
|
M/O |
String |
40 |
Encryption context value. |
|
M/O |
String |
3 |
Encryption context version. |
iso
For card present transactions.
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
15 |
Merchant identifier for card present device processing. |
|
M |
String |
16 |
Terminal identifier for card present device processing. |
|
M |
String |
4 |
Specifies the method by which the PAN was entered, according to the first two digits of the ISO 8583:1987 POS Entry Mode. |
|
O |
String |
5 |
Max. terminal PIN length. |
mandate
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
M/O |
String |
35 |
The ID of the signed mandate between you and the consumer. |
|
O |
String |
19 |
The date that the mandated transaction is due. |
|
M/O |
String |
19 |
The date when the above-mentioned mandate was signed by the consumer. |
|
O |
String |
128 |
The city in which the mandate was signed. |
|
O |
String |
n/a |
The signature of the mandate transaction. |
notifications.notification
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
@ |
O |
String |
12 |
Status of a transaction that triggers an Instant Payment Notification. |
@ |
O |
String |
256 |
URL to be used for the instant payment notification. Overwrites the notification URL set during merchant configuration. |
order-items.order-item
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
256 |
Name of the item in the shopping basket. |
|
O |
String |
256 |
EAN or other merchant-side article identifier. |
|
M/O |
Numeric |
18.3 |
Item’s price per unit. |
|
M |
String |
3 |
Currency of this item’s price. Must match the order currency (requested amount currency). |
|
O |
Numeric |
Total number of this item in the shopping basket. |
|
|
O |
Numeric |
5,2 |
Item’s tax rate per unit in percent. |
|
O |
Numeric |
5,2 |
Item’s tax value per unit. |
|
O |
String |
1024 |
Description of the item in the shopping basket. |
|
O |
Numeric |
18.3 |
The discount value for one order item. |
|
O |
String |
n/a |
Order item type.
|
payment-methods.payment-method
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
@ |
M |
String |
15 |
Name of the payment method selected by the consumer, e.g. |
@ |
O |
String |
256 |
The URL to be used for proceeding with the payment process on provider side. |
periodic
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
M/O |
Number |
3 |
Indicates the maximum number of authorizations permitted for installment payments. Mandatory only for installment payments with |
|
M/O |
Enumeration |
9 |
Indicates the recurring payment type.
|
|
M/O |
Date |
10 |
Date after which recurring payments with this card are no longer allowed. Accepted format: YYYY-MM-DD. Mandatory only for installment payments with |
|
M/O |
Number |
4 |
Indicates the minimum number of days between individual authorizations. Mandatory only for recurring payments (installments or subscriptions) with |
|
M/O |
Enumeration |
9 |
Indicates the phase of a recurring transaction.
|
risk-info
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
Enumeration |
2 |
The consumer is placing an order for merchandise that is not yet available and will be released in the future.
|
|
O |
String |
254 |
The consumer’s email address used for electronic delivery of digital goods. |
|
O |
Enumeration |
2 |
The approximate delivery time.
|
|
O |
Date |
10 |
Expected shipping date for pre-ordered goods. |
|
O |
Enumeration |
2 |
Specifies whether the consumer has previously ordered the same item.
|
risk-info.gift-cards.gift-card
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
Number |
2 |
For prepaid and gift card purchase only. Identifies individual gift cards. Information about up to 10 gift cards can be sent in one request. |
|
O |
Decimal |
18.2 |
For prepaid and gift card purchase only. The amount paid with a specific gift card. The field allows decimal values (e.g. 10.50). |
|
O |
String |
3 |
For prepaid and gift card purchase only. The ISO 4217 three-digit currency code of the gift card. |
shipping
shipping
is a child of
payment.
For 3D Secure 2 transactions it is highly recommended to send shipping
data in any case, as a complete set of shipping
data reduces the likelihood of a challenge.
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
M/O |
String |
32 |
The first name given in the consumer’s shipping information. |
|
M/0 |
String |
32 |
The last name given in the consumer’s shipping information. |
|
O |
String |
32 |
Phone number given in the consumer’s shipping information. |
|
O |
String |
64 |
Email address given in the consumer’s shipping information. |
|
O |
String |
36 |
Company that handles the return delivery. |
|
O |
String |
64 |
The delivery tracking number of the return. |
|
O |
String |
2000 |
URL for tracking the delivery of the return. |
|
O |
String |
64 |
Company that delivers the order to the recipient. |
|
O |
Enumeration |
The shipping method chosen by the consumer.
|
|
|
O |
String |
64 |
The shipping tracking number. |
|
O |
String |
2000 |
URL for tracking the shipping. |
sub-merchant-info
sub-merchant-info
is a child of payment. sub-merchant-info
fields are required for the Payment Facilitator. If you want to use sub-merchant-info
, all the fields in this table are mandatory in the first request of a transaction flow. We recommend to send sub-merchant-info
with each transaction step during the payment process. Otherwise, some transactions cannot be completed successfully.
state
is an exception. See state
description for details.
sub-merchant-info fields may only contain standard ASCII characters.
|
Field | M/O | Data Type | Size | Description |
---|---|---|---|---|
|
M/O |
String |
36 |
Unique ID of the sub-merchant. |
|
M/O |
String |
64 |
Sub-merchant’s name |
|
M/O |
String |
3 |
Country in which the sub-merchant is located. |
|
M/O |
String |
32 |
Mandatory if |
|
M/O |
String |
32 |
City in which the sub-merchant is located. |
|
M/O |
String |
38 |
Street in which the sub-merchant is located. |
|
M/O |
String |
16 |
Postal code of the sub-merchant’s address. |
|
M/O |
String |
8 or 11 |
Unique identifier of the Payment Facilitator.
For details contact Merchant Support. |
surcharge
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
Decimal |
18,6 |
Amount added to the original transaction amount based on the respective surcharge rates. The number of decimals depends on the currency. |
|
Response only |
Decimal |
18,6 |
Full amount that is requested/contested in the original transaction. The number of decimals depends on the currency. |
|
Response only |
String |
3 |
Currency in which the original transaction is received and processed. |
statuses.status
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
@ |
Response only |
String |
12 |
The status code of a transaction. Primarily used in conjunction with the transaction state to determine the exact details of the status of the transaction. |
@ |
Response only |
String |
512 |
Text used to describe the transaction status. |
@ |
Response only |
Enumeration |
20 |
The severity of the transaction, can be |
three-d
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
M/O |
String |
2048 |
Issuer URL. You need to direct the enrollment-check request via the cardholder’s browser to this URL. It is returned only if the cardholder is enrolled in the 3D Secure program. |
|
O |
String |
1 |
Indicates that the transaction request should proceed with the 3D Secure 1 workflow if the consumer is enrolled. Otherwise, the transaction proceeds without 3D Secure 1. This field is used for transactions with the Hosted Payment Page (Wirecard Payment Page v1). |
|
M/O |
String |
1 |
Status of the 3D Secure check. |
|
M/O |
String |
1024 |
A cryptographic value generated by the issuer. Used for
Mandatory for 3D Secure 2 payments. |
|
M/O |
String |
36 |
Universally unique transaction identifier assigned by the Directory Server to identify a single transaction. |
|
M/O |
String |
2 |
Indicates the status of the VERes. |
|
M/O |
String |
16000 |
A base64-encoded request message created for cards participating in the 3D Secure program. The PaReq is returned by the issuer’s ACS via the VISA or Mastercard directory to the Wirecard Payment Gateway and from there passed on to you. |
|
M/O |
String |
2048 |
Issuer URL. You need to direct the enrollment-check request via the consumer’s browser to this URL. It is returned only if the cardholder is enrolled in the 3D Secure program. |
|
O |
Enumeration |
2 |
Indicates the type of 3RI request. * |
|
O |
String |
36 |
Universally unique transaction identifier assigned by the 3DS server to identify a single transaction. |
|
O |
String |
Mapping of EMVCo error messages to Wirecard Payment Gateway messages. |
|
|
O |
Enumeration |
5 |
Identifies the version of 3D Secure authentication used for the transaction.
Uses default value |
|
M/O |
String |
36 |
The unique transaction identifier. |
|
Response only |
String |
2048 |
Liability shift can be enabled for 3D Secure consumers. |
airline-industry
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
3 |
The airline code assigned by IATA. |
|
O |
String |
64 |
Name of the airline. |
|
O |
String |
10 |
The file key of the passenger name record (PNR). This information is mandatory for transactions with AirPlus UATP cards. |
|
O |
String |
64 |
The name of the airline transaction passenger. |
|
O |
String |
32 |
The phone number of the airline transaction passenger. |
|
O |
String |
64 |
The email address of the airline transaction passenger. |
|
O |
String |
45 |
The IP address of the airline transaction passenger. |
|
O |
Date |
n/a |
The date the ticket was issued. |
|
O |
String |
11 |
The airline ticket number, including the check digit. If no airline ticket number (IATA) is used, the element field must be populated with |
|
O |
Token |
1 |
Indicates that the airline transaction is restricted. |
|
O |
String |
10 |
The passenger name File id for the airline transaction. |
|
O |
Short |
2 |
The airline ticket check digit. |
|
O |
String |
3 |
The agency code assigned by IATA. |
|
O |
String |
64 |
The agency name. |
|
O |
Decimal |
7.2 |
This field must contain the net amount of the purchase transaction in the specified currency for which the tax is levied. Two decimal places are implied. If this field contains a value greater than zero, the indicated value must differ to the content of the transaction amount. |
|
O |
Short |
3 |
The number of passengers on the airline transaction. |
|
O |
String |
32 |
The reservation code of the airline Transaction passenger. |
airline-industry.ticket-issuer
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
128 |
The issuer address street for the airline transaction. |
|
O |
String |
128 |
The issuer address street 2 for the airline transaction. |
|
O |
String |
32 |
The city of the address of the airline transaction issuer. |
|
O |
String |
32 |
The state of the address of the airline transaction issuer. |
|
O |
Token |
3 |
The Issuer address country Id for the airline transaction. |
|
O |
String |
16 |
An alphaNumber numeric code used to represent the airline transaction issuer postal code. |
airline-industry.itinerary.segment
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
3 |
The 2-letter airline code (e.g. |
|
O |
String |
3 |
The departure airport code. IATA assigns the airport codes. |
|
O |
String |
32 |
The departure city code of the itinerary segment. IATA assigns the airport codes. |
|
O |
String |
3 |
The arrival airport code of the itinerary segment. IATA assigns the airport codes. |
|
O |
String |
32 |
The arrival city code of the itinerary segment. IATA assigns the airport codes. |
|
O |
Date |
n/a |
The departure date for a given leg. |
|
O |
Date |
n/a |
The arrival date of the itinerary segment. IATA assigns the airport codes. |
|
O |
String |
6 |
The flight number of the itinerary segment. |
|
O |
String |
3 |
Used to distinguish between First Class, Business Class and Economy Class, but also used to distinguish between different fares and booking codes within the same type of service. |
|
O |
String |
6 |
Represents a specific fare and class of service with letters, numbers, or a combination of both. |
|
O |
Token |
1 |
|
|
O |
Decimal |
18.6 |
The amount of the value added tax levied on the transaction amount in the specified currency. |
cruise-industry
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
3 |
The airline code assigned by IATA. |
|
O |
String |
8 |
The agency code assigned by IATA. |
|
O |
String |
10 |
This indicates if the package includes car rental, airline flight, both or neither. |
|
O |
String |
15 |
The ticket number, including the check digit. |
|
O |
String |
100 |
The name of the passenger. |
|
O |
Date |
n/a |
The cruise departure date also known as the sail date. |
|
O |
Date |
n/a |
The cruise return date also known as the sail end date. |
|
O |
Numeric |
n/a |
The total cost of the cruise. |
|
O |
Short |
3 |
The length of the cruise in days. |
|
O |
String |
100 |
The ship name booked for the cruise. |
|
O |
String |
20 |
The name of the city where the lodging property is located. |
|
O |
String |
10 |
The region code where the lodging property is located. |
|
O |
String |
10 |
The country code where the lodging property is located. |
cruise-industry.itinerary.segment
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
3 |
The 2-letter airline code (e.g. |
|
O |
String |
3 |
The destination airport code. IATA assigns the airport codes. |
|
O |
String |
32 |
The departure city code of the itinerary segment. IATA assigns the airport codes. |
|
O |
String |
3 |
The arrival airport code of the itinerary segment. IATA assigns the airport codes. |
|
O |
String |
32 |
The arrival city code of the itinerary segment. IATA assigns the airport codes. |
|
O |
Date |
n/a |
The departure date for a given leg. |
|
O |
Date |
n/a |
The arrival date of the itinerary segment. |
|
O |
String |
6 |
The flight number of the itinerary segment. |
|
O |
String |
3 |
Used to distinguish between First Class, Business Class and Economy Class, but also used to distinguish between different fares and booking codes within the same type of service. |
|
O |
String |
6 |
Represents a specific fare and class of service with letters, numbers, or a combination of both. |
|
O |
Token |
1 |
|
|
O |
Decimal |
18.6 |
The amount of the value added tax levied on the transaction amount in the specified currency. |
hotel-industry
Field | M/O | Datatype | Size | Description |
---|---|---|---|---|
|
O |
String |
20 |
This is the hotel code. |
|
O |
String |
32 |
This is the hotel name. |
|
O |
String |
25 |
Contains the card acceptor’s internal invoice or billing ID reference number. |
|
O |
String |
64 |
This is the guest’s booking reference. |
|
O |
String |
20 |
This is the first name of the guest. |
|
O |
String |
20 |
This is the last name of the guest. |
|
O |
String |
20 |
This is the company name of the guest. |
|
O |
Date |
10 |
This is the date when the guest is scheduled to check-in. |
|
O |
Date |
10 |
This is the date when the guest is scheduled to check-out. |
|
O |
Token |
1 |
Indicates whether or not the guest showed up after having made a reservation for a vehicle or lodging. |
|
O |
String |
8 |
This is the code of the agency that initiated the reservation. |
|
O |
String |
26 |
This is the name of the agency that initiated the reservation. |
|
O |
String |
32 |
Identifies the specific lodging property location by its local phone number. |
|
O |
String |
32 |
This is the customer service phone number. |
|
O |
Short |
4 |
Provides the total number of nights a room was contracted for a lodging stay. |
|
O |
money |
13 |
Contains the daily room charges exclusive of taxes and fees. |
|
O |
money |
14 |
Contains tax amount information such as the daily room tax, occupancy tax, energy tax, and tourist tax. |
|
O |
money |
14 |
Contains the total amount of non-room charges, such as no-show or canceling. |
|
O |
money |
13 |
Contains the total amount of charges for all phone calls. |
|
O |
money |
13 |
Contains the total amount of all gift shop and specialty shop charges. |
|
O |
money |
13 |
Provides the total amount charged for in-room movies. |
|
O |
money |
13 |
Provides the total amount charged for health club use and supplies. |
|
O |
money |
13 |
Provides the total amount charged for business center use and supplies. |
|
O |
money |
13 |
Contains the total amount of cleaning charges. |
|
O |
money |
13 |
Contains the total amount of in-room "mini-bar" service charges. |
|
O |
money |
13 |
Contains the total amount of charges associated with the use of valet services. |
|
O |
money |
14 |
This is the total amount of advance payments received before/during the lodging. |
avs
The Address Verification System (AVS) is an advanced credit card security service that is integrated in the Wirecard credit card processing network to help thwart identity theft.
Field | Data Type | Size | Description |
---|---|---|---|
|
String |
5 |
AVS result code. |
|
String |
256 |
AVS result message. |
|
String |
5 |
AVS provider result code. |
|
String |
256 |
AVS provider result message. |
Field Definitions
Name
The field name structure is based on the hierarchical relation between individual elements.
Example: order-items.order-item.article-number
<payment>
<order-items>
<order-item>
<article-number> </article-number>
</order-item>
</order-items>
</payment>
In the example, the parent element is order-items
, and its child order-item
.
order-item
itself is also a parent element of its child article-number
.
The hierarchies are separated by a dot .
Attributes are indicated by an @
Cardinality
Cardinality indicates if the field is necessary for the request to work. A field can be either mandatory (M) or optional (O):
-
Mandatory: The field must be included in each request and must contain a valid value. Without this field, the request fails.
-
Optional: The field can, but does not have to be, included in a request. Including optional fields can have certain advantages which we list in the respective field description.
Some fields can be mandatory for individual requests, depending on transaction type and payment scenario. We list them as M/O. See the field description for more information on the respective field’s cardinality. |
Example:merchant-account-id
is listed as M/O.
Some transactions require a merchant-account-id
, others a merchant-account-resolver-category
. These two fields shall be used complementary, depending on the context which is explained in the description field.
Data Types
Data types define the input values that can be used for a field.
Data Type | Description |
---|---|
String |
A combination of text and numbers which is arbitrary but finite in size. A subset of String values can be defined according to a pattern value, such as |
Enumeration |
A subset of String. Enumeration consists of a list of predefined values, e.g. the severity of a status, which can provide the predefined values |
Boolean |
Has one of two possible values (usually either |
Date |
Value taken from a calendar (e.g. the date of birth). |
Timestamp |
A moment in time defined by a system. |
Decimal |
A numeric value which has digits before and after the decimal point |
Number |
A numeric value that has no decimal places, such as the expiration month of a credit card. |
Size
Size shows how many characters can be used for this field. We provide the maximum value so you can make sure the whole amount of characters is processed.
In general, the Wirecard Payment Gateway allows all characters for each field, depending on the Data Type.
If other rules apply to a field, they are stated in the Description column.