Payload parameters
Payment Request Parameter
Data typesA - Alphabet N - Numeric AN - AlphaNumeric C - Characters (AlphaNumeric and symbols)
Mandatory typesM - Mandatory C - Conditional (Mandatory for some features only) O - Optional
Request XML Full request elements List:
<PaymentRequest>
<timeStamp></timeStamp>
<merchantID></merchantID>
<uniqueTransactionCode></uniqueTransactionCode>
<desc></desc>
<amt></amt>
<currencyCode></currencyCode>
<paymentChannel></paymentChannel>
<pan></pan>
<expiry>
<month></month>
<year></year>
</expiry>
<storeCardUniqueID></storeCardUniqueID>
<clientIP></clientIP>
<panBank></panBank>
<panCountry></panCountry>
<cardholderName></cardholderName>
<cardholderEmail></cardholderEmail>
<userDefined1></userDefined1>
<userDefined2></userDefined2>
<userDefined3></userDefined3>
<userDefined4></userDefined4>
<userDefined5></userDefined5>
<storeCard></storeCard>
<ippTransaction></ippTransaction>
<installmentPeriod></installmentPeriod>
<interestType></interestType>
<recurring></recurring>
<invoicePrefix></invoicePrefix>
<recurringAmount></recurringAmount>
<allowAccumulate></allowAccumulate>
<maxAccumulateAmt></maxAccumulateAmt>
<recurringInterval></recurringInterval>
<recurringCount></recurringCount>
<chargeNextDate></chargeNextDate>
<chargeOnDate></chargeOnDate>
<promotion></promotion>
<request3DS></request3DS>
<statementDescriptor></statementDescriptor>
<agentCode></agentCode>
<channelCode></channelCode>
<paymentExpiry></paymentExpiry>
<mobileNo></mobileNo>
<subMerchantList>
<subMerchant merchantID="" uniqueTransactionCode="" amt="" desc="" />
<subMerchant merchantID="" uniqueTransactionCode="" amt="" desc="" />
</subMerchantList>
<qrData></qrData>
<qrOption></qrOption>
<qrType></qrType>
<tokenizeWithoutAuthorization></tokenizeWithoutAuthorization>
<rateQuoteID></rateQuoteID>
<originalAmount></originalAmount>
<customRouteID></customRouteID>
<returnUrl></returnUrl>
<backendUrl></backendUrl>
<airlineTransaction></airlineTransaction>
<airlinePassengers>
<airlinePassenger lastName="" firstName="" middleName="" title="" email="" phone="" type="" purchaser="" ticketIssueDate="" ticketNo="" issuingCarrierCode="" customerCode="" travelAgencyName="" travelAgencyCode="" travelAgencyInvoice="" travelPlanName="" reservationSystem="" documentType="">
<airlineLegs>
<airlineLeg legNo="" carrierCode="" flightNo="" origin="" destination="" departureTime="" arrivalTime="" serviceClass="" stopOverCode="" fareBasisCode="" endorcementOrRestriction="" fare="" taxes="" fee="" departureTaxCurrency="" departureTaxAmount="" />
<airlineLeg legNo="" carrierCode="" flightNo="" origin="" destination="" departureTime="" arrivalTime="" serviceClass="" stopOverCode="" fareBasisCode="" endorcementOrRestriction="" fare="" taxes="" fee="" departureTaxCurrency="" departureTaxAmount="" />
</airlineLegs>
</airlinePassenger>
<airlinePassenger lastName="" firstName="" middleName="" title="" email="" phone="" type="" purchaser="" ticketIssueDate="" ticketNo="" issuingCarrierCode="" customerCode="" travelAgencyName="" travelAgencyCode="" travelAgencyInvoice="" travelPlanName="" reservationSystem="" documentType="">
<airlineLegs>
<airlineLeg legNo="" carrierCode="" flightNo="" origin="" destination="" departureTime="" arrivalTime="" serviceClass="" stopOverCode="" fareBasisCode="" endorcementOrRestriction="" fare="" taxes="" fee="" departureTaxCurrency="" departureTaxAmount="" />
<airlineLeg legNo="" carrierCode="" flightNo="" origin="" destination="" departureTime="" arrivalTime="" serviceClass="" stopOverCode="" fareBasisCode="" endorcementOrRestriction="" fare="" taxes="" fee="" departureTaxCurrency="" departureTaxAmount="" />
</airlineLegs>
</airlinePassenger>
</airlinePassengers>
<addresses>
<billing>
<address1></address1>
<address2></address2>
<address3></address3>
<postalCode></postalCode>
<city></city>
<state></state>
<countryCode></countryCode>
</billing>
<shipping>
<address1></address1>
<address2></address2>
<address3></address3>
<postalCode></postalCode>
<city></city>
<state></state>
<countryCode></countryCode>
</shipping>
</addresses>
<threeDs2Parameters>
<customerContact>
<homePhone>
<countryCode></countryCode>
<subscriberNo></subscriberNo>
</homePhone>
<mobilePhone>
<countryCode></countryCode>
<subscriberNo></subscriberNo>
</mobilePhone>
<workPhone>
<countryCode></countryCode>
<subscriberNo></subscriberNo>
</workPhone>
</customerContact>
<cardholderAccountInfo>
<accountAgeIndicator></accountAgeIndicator>
<accountChangeDate></accountChangeDate>
<accountDate></accountDate>
<accountPasswordDate></accountPasswordDate>
<paymentAccountAge></paymentAccountAge>
<shipAddrUsageDate></shipAddrUsageDate>
<accountChangeIndicator></accountChangeIndicator>
<accountPasswordChangeIndicator></accountPasswordChangeIndicator>
<nbPurchase></nbPurchase>
<nbProvisionAttemptDay></nbProvisionAttemptDay>
<nbTransactionDay></nbTransactionDay>
<nbTransactionYear></nbTransactionYear>
<paymentAccountAgeIndicator></paymentAccountAgeIndicator>
<shipAddrUsageIndicator></shipAddrUsageIndicator>
<shipNameIndicator></shipNameIndicator>
<suspiciousAccountActivity></suspiciousAccountActivity>
</cardholderAccountInfo>
<merchantRiskInfo>
<preorderDate></preorderDate>
<deliveryEmailAddress></deliveryEmailAddress>
<deliveryTimeFrame></deliveryTimeFrame>
<giftCardAmount></giftCardAmount>
<giftCardCount></giftCardCount>
<giftCardCurrency></giftCardCurrency>
<preorderPurchaseIndicator></preorderPurchaseIndicator>
<reorderItemsIndicator></reorderItemsIndicator>
<shippingIndicator></shippingIndicator>
</merchantRiskInfo>
</threeDs2Parameters>
<encCardData></encCardData>
</PaymentRequest>string xml = "<PaymentRequest>" +
"<version>" + apiVersion + "</version>" +
"<timeStamp>" + timeStamp + "</timeStamp>" +
"<merchantID>" + merchantID + "</merchantID>" +
"<uniqueTransactionCode>" + uniqueTransactionCode + "</uniqueTransactionCode>"
"<desc>" + desc + "</desc>" +
"<amt>" + amt + "</amt>" +
"<currencyCode>" + currencyCode + "</currencyCode>" +
"<paymentChannel></paymentChannel>" +
"<pan></pan>" +
"<expiry><month></month><year></year></expiry>" +
"<storeCardUniqueID></storeCardUniqueID>" +
"<clientIP></clientIP>" +
"<panBank></panBank>" +
"<panCountry></panCountry>" +
"<cardholderName>" + cardholderName + "</cardholderName>" +
"<cardholderEmail></cardholderEmail>" +
"<payCategoryID></payCategoryID>" +
"<userDefined1></userDefined1>" +
"<userDefined2></userDefined2>" +
"<userDefined3></userDefined3>" +
"<userDefined4></userDefined4>" +
"<userDefined5></userDefined5>" +
"<storeCard></storeCard>" +
"<ippTransaction></ippTransaction>" +
"<installmentPeriod></installmentPeriod>" +
"<interestType></interestType>" +
"<recurring></recurring>" +
"<invoicePrefix></invoicePrefix>" +
"<recurringAmount></recurringAmount>" +
"<allowAccumulate></allowAccumulate>" +
"<maxAccumulateAmt></maxAccumulateAmt>" +
"<recurringInterval></recurringInterval>" +
"<recurringCount></recurringCount>" +
"<chargeNextDate></chargeNextDate>" +
"<chargeOnDate></chargeOnDate>" +
"<ippTransaction></ippTransaction>" +
"<installmentPeriod></installmentPeriod>" +
"<interestType></interestType>" +
"<promotion></promotion>" +
"<request3DS></request3DS>" +
"<statementDescriptor></statementDescriptor>" +
"<agentCode></agentCode>" +
"<channelCode></channelCode>" +
"<paymentExpiry></paymentExpiry>" +
"<mobileNo></mobileNo>" +
"<subMerchantList>" +
"<subMerchant merchantID=\"\" uniqueTransactionCode=\"\" amt=\"\" desc=\"\" />" +
"<subMerchant merchantID=\"\" uniqueTransactionCode=\"\" amt=\"\" desc=\"\" />" +
"</subMerchantList>" +
"<qrData></qrData>" +
"<qrOption></qrOption>" +
"<tokenizeWithoutAuthorization></tokenizeWithoutAuthorization>" +
"<rateQuoteID></rateQuoteID>" +
"<originalAmount></originalAmount>" +
"<customRouteID></customRouteID>" +
"<returnUrl></returnUrl>" +
"<backendUrl></backendUrl>" +
"<airlineTransaction></airlineTransaction>" +
"<airlinePassengers>" +
"<airlinePassenger lastName=\"\" firstName=\"\" middleName=\"\" title=\"\" email=\"\" phone=\"\" type=\"\" purchaser=\"\" ticketIssueDate=\"\" ticketNo=\"\" issuingCarrierCode=\"\" customerCode=\"\" travelAgencyName=\"\" travelAgencyCode=\"\" travelAgencyInvoice=\"\" travelPlanName=\"\" reservationSystem=\"\" documentType=\"\" >" +
"<airlineLegs>" +
"<airlineLeg legNo=\"\" carrierCode=\"\" flightNo=\"\" origin=\"\" destination=\"\" departureTime=\"\" arrivalTime=\"\" serviceClass=\"\" stopOverCode=\"\" fareBasisCode=\"\" endorcementOrRestriction=\"\" fare=\"\" taxes=\"\" fee=\"\" departureTaxCurrency=\"\" departureTaxAmount=\"\" />" +
"<airlineLeg legNo=\"\" carrierCode=\"\" flightNo=\"\" origin=\"\" destination=\"\" departureTime=\"\" arrivalTime=\"\" serviceClass=\"\" stopOverCode=\"\" fareBasisCode=\"\" endorcementOrRestriction=\"\" fare=\"\" taxes=\"\" fee=\"\" departureTaxCurrency=\"\" departureTaxAmount=\"\" />" +
"</airlineLegs>" +
"</airlinePassenger>" +
"<airlinePassenger lastName=\"\" firstName=\"\" middleName=\"\" title=\"\" email=\"\" phone=\"\" type=\"\" purchaser=\"\" ticketIssueDate=\"\" ticketNo=\"\" issuingCarrierCode=\"\" customerCode=\"\" travelAgencyName=\"\" travelAgencyCode=\"\" travelAgencyInvoice=\"\" travelPlanName=\"\" reservationSystem=\"\" documentType=\"\" >" +
"<airlineLegs>" +
"<airlineLeg legNo=\"\" carrierCode=\"\" flightNo=\"\" origin=\"\" destination=\"\" departureTime=\"\" arrivalTime=\"\" serviceClass=\"\" stopOverCode=\"\" fareBasisCode=\"\" endorcementOrRestriction=\"\" fare=\"\" taxes=\"\" fee=\"\" departureTaxCurrency=\"\" departureTaxAmount=\"\" />" +
"<airlineLeg legNo=\"\" carrierCode=\"\" flightNo=\"\" origin=\"\" destination=\"\" departureTime=\"\" arrivalTime=\"\" serviceClass=\"\" stopOverCode=\"\" fareBasisCode=\"\" endorcementOrRestriction=\"\" fare=\"\" taxes=\"\" fee=\"\" departureTaxCurrency=\"\" departureTaxAmount=\"\" />" +
"</airlineLegs>" +
"</airlinePassenger>" +
"</airlinePassengers>" +
"<addresses>" +
"<billing>" +
"<address1></address1>" +
"<address2></address2>" +
"<address3></address3>" +
"<postalCode></postalCode>" +
"<city></city>" +
"<state></state>" +
"<countryCode></countryCode>" +
"</billing>" +
"</addresses>" +
"<hashValue>" + hash + "</hashValue>" +
"</PaymentRequest>";Request Attribute
| Variable | Data Type / Length | Mandatory | Description |
|---|---|---|---|
timeStamp |
N 12 |
O |
Date and time of request Message. (if empty, system will take the server received date time.) |
merchantID |
AN 15 |
M |
Merchant ID at 2C2P PGW. |
uniqueTransactionCode |
AN 20 / N 12 |
M |
Unique merchant order number. *Limited to 12 numerics when requesting for APM payment for Myanmar. |
desc |
AN 50 |
M |
Payment detail description. |
amt |
N 12 |
M |
Amount formatted into 12 digit format with leading zero. Currency: 392 (JPY) |
currencyCode |
N 3 |
M |
Transaction currency code in 3 numeric value as specified in ISO 4217. if empty, default value will use merchant's base currency. |
paymentChannel |
AN 10 |
O |
Allow merchant to accept payment from 3rd party. |
accountNo |
AN |
C |
Account No of the mentioned Payment Channel.
|
storeCardUniqueID |
AN 20 |
O |
To make payment with tokenized card |
clientIP |
C 15 |
O |
Client's IP address, used for fraud checking if provided. |
panBank |
AN 50 |
C |
Credit Card Issuer Bank name Mandatory for Credit card payment. |
panCountry |
A 2 |
C |
Credit card issuer's country in 2 Numeric format. Mandatory for Credit card payment. |
cardholderName |
AN 50 |
M |
Cardholder name. |
cardholderEmail |
C 30 |
M |
Customer's email address used for :
|
userDefined1 |
C 150 |
O |
For merchant to submit merchant's specific data. |
userDefined2 |
C 150 |
O |
For merchant to submit merchant's specific data. |
userDefined3 |
C 150 |
O |
For merchant to submit merchant's specific data. |
userDefined4 |
C 150 |
O |
For merchant to submit merchant's specific data. |
userDefined5 |
C 150 |
O |
For merchant to submit merchant's specific data. |
storeCard |
A 1 |
O |
To enable tokenization feature for credit card payment. N - Disable tokenization option (default) |
ippTransaction |
A 1 |
O |
To enable IPP payment feature for credit card payment. N - Non IPP payment (default) |
installmentPeriod |
N 2 |
C |
IPP installment period. Only required if IPP is enabled. |
interestType |
A 1 |
C |
If set to C, interest is paid by Customer. If set to M, interest is paid by Merchant. Only required if IPP is enabled. |
recurring |
A 1 |
O |
To enable RPP (Recurring Payment Plan) transaction feature for credit card payment. N - Disable RPP feature (default) |
invoicePrefix |
AN 15 |
C |
RPP transaction will add 5 additional digit behind invoicePrefix as invoice number. Only required if RPP is enabled. |
recurringAmount |
N 12 |
O |
The amount to be charged on RPP process. Amount formatted into 12 digit format with leading zero. Currency: 392 (JPY) |
allowAccumulate |
A 1 |
C |
To allow accumulation of failed RPP transaction amount. N - Do not allow Only required if RPP is enabled. |
maxAccumulateAmt |
N 12 |
C |
RPP will be terminated if accumulated failed RPP transaction amount is over maxAccumulateAmt. Only required if allowAccumulate is allowed. |
recurringInterval |
N 3 |
C |
To indicate the frequency of RPP by days. Only required if RPP is enabled. |
recurringCount |
N 5 |
C |
To indicate how many times to charge the customer with RPP. set to '0' to charge indefinitely until terminated manually. Only required if RPP is enabled. |
chargeNextDate |
N 8 |
C |
To indicate the next RPP charge date. Only required if RPP with recurring_interval is set. |
chargeOnDate |
N 4 |
O |
To indicate the specific RPP charge date. Only required if RPP is enabled and |
promotion |
AN 20 |
O |
Promotion Code for the payment. Example: PromoMC for MasterCard payment only, |
request3DS |
A 1 |
O |
To enable / disable / Force 3DS authentication Y - Do 3DS authentication (default) |
statementDescriptor |
AN 20 |
O |
To set dynamic statement descriptor. |
agentCode |
AN 30 |
C |
Only required for APM payments. |
channelCode |
AN 30 |
O |
APM Channel Codes Only required for APM payments. |
paymentExpiry |
C 19 |
O |
To specify payment expiry date/time for APM payments. By default, will use expiry date/time configured on merchant profile. |
mobileNo |
N 10 |
C |
Customer's mobile number. Only required for APM payments. |
subMerchantList |
ARRAY |
O |
subMerchant information array |
subMerchant |
Element |
O |
subMerchant element |
subMerchant - merchantID |
AN 15 |
M |
SubMerchant ID at 2C2P PGW. Mandatory if subMerchant feature is used. |
subMerchant - uniqueTransactionCode |
AN 20 / N 12 |
M |
Invoice number to be recorded into subMerchant account. Mandatory if subMerchant feature is used. |
subMerchant - amt |
N 12 |
M |
Amount formatted into 12 digit format with leading zero. Mandatory if subMerchant feature is used. |
subMerchant - desc |
AN 50 |
M |
Payment detail description. Mandatory if subMerchant feature is used. |
qrData |
C 1000 |
C |
QR data scanned from customer's QR code |
qrOption |
N 1 |
O |
Data type returned when generating QR code. Options available: only applicable for the following channels:
|
qrType |
C 2 |
O |
Requesting QR Type for "EMVQR" Type of payment Option
|
tokenizeWithoutAuthorization |
A 1 |
O |
Y - Perform tokenization only Only applicable for Credit Card payments. |
rateQuoteID |
C 50 |
C |
Rate Quotation ID |
originalAmount |
N 12 |
C |
Transaction amount in merchant's base currency |
customRouteID |
C 50 |
O |
Custom route id |
returnUrl |
C 255 |
O |
Frontend return url for 2C2P PGW to redirect |
backendUrl |
C 255 |
O |
Backend return url for 2C2P PGW to notify |
airlineTransaction |
C 1 |
O |
Check if the transaction is airline data |
airlinePassengers |
ARRAY |
O |
airlinePassengers information array |
airlinePassenger |
Element |
C |
airlinePassengers element |
airlinePassenger - lastName |
C 50 |
M |
Passenger's last name |
airlinePassenger - firstName |
C 50 |
O |
Passenger's first name |
airlinePassenger - middleName |
C 50 |
O |
Passenger's middle name |
airlinePassenger - title |
C 50 |
O |
Passenger's title |
airlinePassenger - email |
C 150 |
O |
Passenger's email address |
airlinePassenger - phone |
C 15 |
O |
Passenger's mobile phone with country prefix |
airlinePassenger - type |
C 32 |
O |
Type of Passenger
|
airlinePassenger - purchaser |
C 1 |
M |
Indicate whether this is passenger. (Y/N) |
airlinePassenger - ticketIssueDate |
C 8 |
M |
Ticket issue date in local time format : yyyyMMdd |
airlinePassenger - ticketNo |
C 13 |
M |
Airline ticket no |
airlinePassenger - issuingCarrierCode |
C 2 |
M |
Ticket issuing airline |
airlinePassenger - issuingCarrierName |
C 50 |
M |
Ticket issuing airline name |
airlinePassenger - customerCode |
C 17 |
O |
Customer code. E.g frequent flyer no |
airlinePassenger - travelAgencyName |
C 25 |
O |
Travel agency name if the ticket is sold through agency |
airlinePassenger - travelAgencyCode |
C 8 |
O |
Travel agency code if the ticket is sold through agency |
airlinePassenger - travelAgencyInvoice |
C 50 |
O |
Travel agency invoice if the ticket is sold through agency |
airlinePassenger - travelPlanName |
C 50 |
O |
Travel agency plan if the ticket is sold through agency |
airlinePassenger - reservationSystem |
C 4 |
O |
Airline ticket reservation system. (Must be 4 character) |
airlinePassenger - documentType |
C 3 |
O |
Passenger's document type |
airlinePassenger - identificationNo |
C 50 |
M |
Passenger's identification document no. |
airlinePassenger - airlineLegs |
Element |
O |
AirlineLegs element |
airlinePassenger - airlineLegs - legNo |
N 1 |
M |
Sequence of airline leg |
airlinePassenger - airlineLegs - carrierCode |
C 2 |
M |
2 character airline carrier code |
airlinePassenger - airlineLegs - fightNo |
C 5 |
M |
Flight no. |
airlinePassenger - airlineLegs - origin |
C 3 |
M |
Indicates the destination city's airport code |
airlinePassenger - airlineLegs - destination |
C 3 |
M |
Indicates the destination city's airport code |
airlinePassenger - airlineLegs - departureTime |
C 19 |
M |
Departure time in local time yyyy-MM-dd HH:mm:ss |
airlinePassenger - airlineLegs - arrivalTime |
C 19 |
M |
Arrival time in local time yyyy-MM-dd HH:mm:ss |
airlinePassenger - airlineLegs - serviceClass |
C 1 |
M |
Service class for airline N : stopover is not restricted |
airlinePassenger - airlineLegs - stopOverCode |
C 1 |
M |
Indicate if stop allow or not |
airlinePassenger - airlineLegs - fareBasisCode |
C 6 |
M |
Airline fare basis code |
airlinePassenger - airlineLegs - endorcementOrRestriction |
C 12 |
M |
Any restriction applied on ticket. Eg:
|
airlinePassenger - airlineLegs - flightType |
C 32 |
O |
Whether flight is one-way or return |
airlinePassenger - airlineLegs - fare |
N 12 |
O |
Fare for the leg in payment currency |
airlinePassenger - airlineLegs - taxes |
N 12 |
O |
Taxes for the leg in payment currency |
airlinePassenger - airlineLegs - fee |
N 12 |
O |
Fee for the leg in payment currency |
airlinePassenger - airlineLegs - departureTaxCurrency |
N 3 |
O |
Departure tax currency for leg |
airlinePassenger - airlineLegs - departureTaxAmount |
N 12 |
O |
Departure tax amount for the leg |
ticketIssuerAddress |
Element |
C |
ticketIssuerAddress element |
ticketIssuerAddress - address1 |
C 255 |
C |
Ticket issuer address 1 |
ticketIssuerAddress - address2 |
C 255 |
O |
Ticket issuer address 2 |
ticketIssuerAddress - address3 |
C 255 |
O |
Ticket issuer address 3 |
ticketIssuerAddress - postalCode |
AN 10 |
M |
Ticket issuer address postal code |
ticketIssuerAddress - city |
C 255 |
M |
Ticket issuer address city |
ticketIssuerAddress - state |
C 255 |
M |
Ticket issuer address state |
ticketIssuerAddress - country |
C 3 |
M |
Ticket issuer address country |
addresses |
Array |
C |
Address information array |
addresses - billing |
Element |
C |
Billing address object |
addresses - billing - address1 |
C 255 |
M |
Address line 1 |
addresses - billing - address2 |
C 255 |
O |
Address line 2 |
addresses - billing - address3 |
AN 255 |
O |
Address line 3 |
addresses - billing - postalCode |
AN 10 |
M |
Address postal code |
addresses - billing - city |
C 225 |
M |
Address city |
addresses - billing - state |
C 225 |
O |
Address state |
addresses - billing - countryCode |
N 3 |
M |
Address country in N3 of ISO3166 format |
addresses - shipping |
Element |
C |
Shipping address object |
addresses - shipping - address1 |
C 255 |
M |
Address line 1 |
addresses - shipping - address2 |
C 255 |
O |
Address line 2 |
addresses - shipping - address3 |
AN 255 |
O |
Address line 3 |
addresses - shipping - postalCode |
AN 10 |
M |
Address postal code |
addresses - shipping - city |
C 225 |
M |
Address city |
addresses - shipping - state |
C 225 |
O |
Address state |
addresses - shipping - countryCode |
N 3 |
M |
Address country in N3 of ISO3166 format |
threeDs2Parameters |
Element |
C |
3DS 2 Parameters Objects |
threeDs2Parameters - customerContact - homePhone - countryCode |
C 3 |
O |
Home phone country code. |
threeDs2Parameters - customerContact - homePhone - subscriberNo |
C 15 |
O |
Home phone subscriber number. |
threeDs2Parameters - customerContact - mobilePhone - countryCode |
C 3 |
O |
Mobile phone country code. |
threeDs2Parameters - customerContact - mobilePhone - subscriberNo |
C 15 |
O |
Mobile phone subscriber number. |
threeDs2Parameters - customerContact - workPhone - countryCode |
C 3 |
O |
Work phone country code. |
threeDs2Parameters - customerContact - workPhone - subscriberNo |
C 15 |
O |
Work phone subscriber number. |
threeDs2Parameters - CardholderAccountInfo - accountAgeIndicator |
C 2 |
O |
accountAgeIndicator • 01 = No account (guest check-out) |
threeDs2Parameters - CardholderAccountInfo - accountChangeDate |
C 8 |
O |
Format: YYYYMMDD |
threeDs2Parameters - CardholderAccountInfo - accountDate |
C 8 |
O |
Format: YYYYMMDD |
threeDs2Parameters - CardholderAccountInfo - accountPasswordDate |
C 8 |
O |
Format: YYYYMMDD |
threeDs2Parameters - CardholderAccountInfo - paymentAccountAge |
C 8 |
O |
Format: YYYYMMDD |
threeDs2Parameters - CardholderAccountInfo - shipAddrUsageDate |
C 8 |
O |
Date when the shipping address used for this transaction was first used with the 3DS Requestor. Format: YYYYMMDD |
threeDs2Parameters - CardholderAccountInfo - accountChangeIndicator |
C 2 |
O |
accountChangeIndicator • 01 = Changed during this transaction |
threeDs2Parameters - CardholderAccountInfo - accountPasswordChangeIndicator |
C 2 |
O |
accountPasswordChangeIndicator • 01 = No change |
threeDs2Parameters - CardholderAccountInfo - nbPurchase |
C 4 |
O |
Number of purchases with this cardholder account during the previous six months. maximum is 9999. |
threeDs2Parameters - CardholderAccountInfo - nbProvisionAttemptDay |
C 3 |
O |
Number of Add Card attempts in the last 24 hours. |
threeDs2Parameters - CardholderAccountInfo - nbTransactionDay |
C 3 |
O |
Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous 24 hours. |
threeDs2Parameters - CardholderAccountInfo - nbTransactionYear |
C 3 |
O |
Number of transactions (successful and abandoned) for this cardholder account with the 3DS Requestor across all payment accounts in the previous year. |
threeDs2Parameters - CardholderAccountInfo - paymentAccountAgeIndicator |
C 2 |
O |
paymentAccountAgeIndicator • 01 = No account (guest check-out) |
threeDs2Parameters - CardholderAccountInfo - shipAddrUsageIndicator |
C 2 |
O |
indicates when the shipping address used for this transaction was first used with the 3DS Requestor. Values accepted: |
threeDs2Parameters - CardholderAccountInfo - shipNameIndicator |
C 2 |
O |
shipNameIndicator • 01 = Account Name identical to shipping Name |
threeDs2Parameters - CardholderAccountInfo - suspiciousAccountActivity |
C 2 |
O |
suspiciousAccountActivity • 01 = No suspicious activity has been observed |
threeDs2Parameters - merchantRiskInfo - preorderDate |
C 8 |
O |
Pre order date |
threeDs2Parameters - merchantRiskInfo - deliveryEmailAddress |
C 254 |
O |
Email address |
threeDs2Parameters - merchantRiskInfo - deliveryTimeFrame |
C 2 |
O |
deliveryTimeFrame • 01 = Electronic Delivery |
threeDs2Parameters - merchantRiskInfo - giftCardAmount |
C 15 |
O |
For prepaid or gift card purchase, the purchase amount total of prepaid or gift card(s) in major units (for example, USD 123.45 is 123). |
threeDs2Parameters - merchantRiskInfo - giftCardCount |
C 2 |
O |
giftCardCount valid values 00-99 |
threeDs2Parameters - merchantRiskInfo - giftCardCurrency |
N 3 |
O |
giftCardCurrency ISO4217.N3 Format |
threeDs2Parameters - merchantRiskInfo - preorderPurchaseIndicator |
C 2 |
O |
preorderPurchaseIndicator • 01 = Merchandise available |
threeDs2Parameters - merchantRiskInfo - reorderItemsIndicator |
C 2 |
O |
reorderItemsIndicator • 01 = First time ordered |
threeDs2Parameters - merchantRiskInfo - shippingIndicator |
C 2 |
O |
shippingIndicator • 01 = Ship to cardholder’s billing address |
encCardData |
C 225 |
C |
Encrypted data that contains Credit Card information to be submitted to 2c2p PGW. Only required for Credit Card payments. |
Payment Response Parameter
Response XML
<PaymentResponse>
<timeStamp></timeStamp>
<merchantID></merchantID>
<respCode></respCode>
<pan></pan>
<amt></amt>
<uniqueTransactionCode></uniqueTransactionCode>
<tranRef></tranRef>
<approvalCode></approvalCode>
<refNumber></refNumber>
<eci></eci>
<dateTime></dateTime>
<status></status>
<failReason></failReason>
<userDefined1></userDefined1>
<userDefined2></userDefined2>
<userDefined3></userDefined3>
<userDefined4></userDefined4>
<userDefined5></userDefined5>
<storeCardUniqueID></storeCardUniqueID>
<recurringUniqueID></recurringUniqueID>
<paymentChannel></paymentChannel>
<backendInvoice></backendInvoice>
<paidAgent></paidAgent>
<paidChannel></paidChannel>
<issuerCountry></issuerCountry>
<bankName></bankName>
<qrData></qrData>
<qrOption></qrOption>
<rateQuoteID></rateQuoteID>
<originalAmount></originalAmount>
<fxRate></fxRate>
<currencyCode></currencyCode>
</PaymentResponse>Response Attribute
| Variable | Data Type | Length | Mandatory |
|---|---|---|---|
timeStamp |
N 12 |
O |
Request DateTime in format of "ddMMyyHHmmss" |
merchantID |
AN 15 |
M |
Merchant ID at 2C2P PGW. |
respCode |
N 3 |
M |
For Card / Third Party Payment |
pan |
AN 19 |
M |
Masked credit card number. Masked card format based on merchant profile setting. |
amt |
N 12 |
M |
Amount formatted into 12 digit format with leading zero. |
uniqueTransactionCode |
AN 20 / N 12 |
M |
Unique merchant order number. |
tranRef |
AN 28 |
O |
Issued by System. This is to trace the transactions in the Routing System. |
approvalCode |
AN 6 |
C |
Transaction Approval Code from Credit Card Host. Only applicable for Credit card transactions. Mandatory if credit card transaction was successful. |
refNumber |
AN 15 |
C |
Transaction Reference Number from Credit card Host. |
eci |
N 2 |
C |
ECI value for Credit card transaction. |
dateTime |
N 14 |
M |
Process Date Time value with ddMMyyHHmmss format |
status |
N 3 |
M |
Status of transaction process. |
failReason |
AN 100 |
O |
Reason of failure |
userDefined1 |
C 150 |
O |
For merchant to submit merchant's specific data. |
userDefined2 |
C 150 |
O |
For merchant to submit merchant's specific data. |
userDefined3 |
C 150 |
O |
For merchant to submit merchant's specific data. |
userDefined4 |
C 150 |
O |
For merchant to submit merchant's specific data. |
userDefined5 |
C 150 |
O |
For merchant to submit merchant's specific data. |
storeCardUniqueID |
AN 20 |
C |
Tokenized credit card number. Mandatory if 'storeCard' is enabled. |
recurringUniqueID |
N 20 |
C |
RPP transaction record identifier. Mandatory for RPP transaction. |
paymentChannel |
N 3 |
C |
Only applicable for APM payments. |
backendInvoice |
AN 12 |
|
Only applicable for APM payments. |
paidAgent |
AN 30 |
C |
Agent name that processed APM payment, or Bank name that authorized IPP transaction. |
paidChannel |
AN 30 |
C |
Channel name that processed APM payment. |
issuerCountry |
A 2 |
C |
Credit card issuer country |
bankName |
AN 50 |
O |
Credit card issuer name |
qrData |
C 1000 |
C |
QR data with format depends on the qrOptions selected. |
qrOption |
N 1 |
C |
Data type returned when generating QR code. Options available: only applicable for the following channels:
|
rateQuoteID |
C 50 |
C |
Rate quotation Id |
originalAmount |
N 12 |
C |
Transaction amount in merchant's base currency |
fxRate |
D 15, 7 |
C |
FX rate |
currencyCode |
N 3 |
M |
Transaction currency |
Updated 8 months ago
