V2 Response file (deprecated)
Header record
Pos. | Description | Format | Values |
---|---|---|---|
01 | Record code | n2 | 00 |
02 | File type | PAY | |
03 | File version | n2 | 02 |
04 | Return code of the first stage of processing | n1 | 0: Processing completed 1: Format error 2: Value error |
05 | Information about the error | ans..255 | Additional information about the error, empty if successfully processed. |
06 | Shop ID | n8 | Same as in the request, if valid. |
07 | Environment | Same as in the request, if valid. | |
08 | Creation date | n8 | Same as in the request, if valid. |
09 | Time of creation | n6 | Same as in the request, if valid. |
10 | End date of processing In YYYYMMDD format | n8 | 20161130 |
11 | End time of processing | n6 | 130019 |
Detail records
Pos. | Description |
---|---|
01 | Description: Record code. Type: NUMERIC | Length: 2 Value: 02 |
02 | Description: Sequence number of the detail record in the file. Type: NUMERIC | Length: 6 E.g.:
|
03 | Description: Transaction date in the YYYYMMDD format. Type: NUMERIC | Length: 8 E.g.: 20200603 |
04 | Description: Transaction time in the HHMMSS format. Type: NUMERIC | Length: 6 E.g.: 120615 |
05 | Description: Transaction identifier. Type: NUMERIC | Length: 6 Hosted Payment Form equivalent: vads_trans_id REST API equivalent: cardDetails.legacyTransId E.g.: 700001 |
06 | Description: Transaction type Type: VARCHAR | Length: 2 Value: CD |
07 | Description: Transaction amount expressed in the smallest currency unit . Type: NUMERIC | Length: 12 Hosted Payment Page equivalent: vads_amount REST API equivalent: amount E.g.: 4525 for EUR 45.25 |
08 | Description: Numeric code of the currency (ISO 4217 standard). Type: NUMERIC | Length: 3 Hosted Payment Page equivalent: vads_currency REST API equivalent: currency E.g.: 978 for euro (EUR) (See chapter List of supported currencies in appendix) |
09 | Description: Transaction amount expressed in the smallest unit of the currency used for the capture in the bank. Type: NUMERIC | Length: 12 Hosted Payment Page equivalent: vads_effective_amount REST API equivalent: transactions.transactionDetails.effectiveAmount E.g.: 4525 for EUR 45.25 |
10 | Description: Numeric code of the currency that will be used for the capture at the ban (ISO 4217 standard). Type: NUMERIC | Length: 3 Hosted Payment Page equivalent: vads_effective_currency REST API equivalent: transactions.transactionDetails.effectiveCurrency E.g.: 978 for euro (EUR) (See chapter List of supported currencies in appendix) |
11 | Description:
Type: NUMERIC | Length: 8 Hosted Payment Page equivalent: vads_presentation_date REST API equivalent: transactionDetails.cardDetails.expectedCaptureDate E.g.: 20200604 |
12 | Description: Validation mode. Type: NUMERIC | Length: 1 Hosted Payment Page equivalent: vads_validation_mode REST API equivalent: cardOptions.manualValidation Possible values:
E.g.: 0 |
13 | Description: Token or to debit. Type: VARCHAR | Length: 50 Hosted Payment Page equivalent: vads_identifier REST API equivalent: paymentMethodToken E.g.: 59ecb199110145338c5704505760ec31 |
14 | Description: MID used to process this request. Type: VARCHAR | Length: 255 Hosted Payment Page equivalent: vads_contract_used REST API equivalent: cardOptions.mid E.g.: 1234567 |
15 | Description: Order reference. Type: VARCHAR | Length: 32 The only accepted special character is “-”. Hosted Payment Page equivalent: vads_order_id REST API equivalent: orderId E.g.: CX-1254 |
16 | Description: Order details 1. Type: VARCHAR | Length: 255 Hosted Payment Page equivalent: vads_order_info REST API equivalent: metadata.orderInfo E.g.: Door code 3125 |
17 | Description: Order details 2. Type: VARCHAR | Length: 255 Hosted Payment Page equivalent: vads_order_info2 REST API equivalent: metadata.orderInfo2 E.g.: No elevator |
18 | Description: Order details 3. Type: VARCHAR | Length: 255 Hosted Payment Page equivalent: vads_order_info3 REST API equivalent: metadata.orderInfo3 E.g.: Express |
19 | Description: Return code of processing. Type: NUMERIC | Length: 2 Values:
Hosted Payment Page equivalent: N/A REST API equivalent: N/A Additional information is provided in field 25. |
20 | Description: Code sent by the bank that issued the authorization request Type: NUMERIC | Length: 2 Hosted Payment Page equivalent: vads_auth_result REST API equivalent: transactionDetails.cardDetails.authorizationResponse.authorizationResult Values: See chapter conref- List of authorization return codes in appendix. E.g.: 00 |
21 | Description: Transaction authorization number. Type: VARCHAR | Length: 6 Hosted Payment Page equivalent: vads_auth_number REST API equivalent: transactionDetails.cardDetails.authorizationResponse.authorizationNumber E.g.: 3fc116 |
22 | Description: Authorization mode. Type: VARCHAR | Length: 4 Values:
|
23 | Description: Authorization date in YYYYMMDD format, written in the UTC timezone. Type: DATE | Length: 8 Hosted Payment Page equivalent: N/A REST API equivalent: transactionDetails.cardDetails.authorizationResponse.authorizationDate E.g.: 20200114 |
24 | Description: Authorization date in YYYYMMDD format, written in the UTC timezone Type: TIME | Length: 6 Hosted Payment Page equivalent: N/A REST API equivalent: transactionDetails.cardDetails.authorizationResponse.authorizationDate E.g.: 142512 |
25 | Description: Additional return code Type: NUMERIC | Length: 2 Description:
Hosted Payment Page equivalent: vads_extra_result REST API equivalent: N/A Values: See chapter Error handling. E.g.: 00 |
26 | Description: Payment method number. Type: VARCHAR | Length: 36 Hosted Payment Page equivalent: vads_card_number REST API equivalent: transactionDetails.cardDetails.pan E.g.: 497010XXXXXX0014 |
27 | Description: Exp. date of the payment method in the YYYYMMDD format. Type: NUMERIC | Length: 8 Hosted Payment Page equivalent: vads_expiry_year + vads_expiry_month REST API equivalent: transactionDetails.cardDetails.expiryYear + transactionDetails.cardDetails.expiryMonth E.g.: 20211130 |
End record
Pos. | Description | Format | Values |
---|---|---|---|
01 | Record code | n2 | 01 |
02 | Total number of transmitted detail records | n..6 | |
03 | Number of successful payments | n..6 | |
04 | Number of failed payments | n..6 |