These docs are for v3.2.6. Click to read the latest docs for v4.3.0.

QuickPay Generate and Send Link Request Parameter

📘

Data Attribute Reference

Data Type
A - Alphabet, N - Numeric, AN - AlphaNumeric, C - Characters, D - Decimal, B - Boolean

Mandatory
M - Mandatory, C - Conditional, O - Optional

🚧

Sending Method

Merchant are required to indicate whether to send via email OR sms (only one can be used per call)

Sending parameter either toEmails or toMobiles

ParameterData Type / LengthMandatoryDescription
versionAN 3MRequest Message version number
Current Version 2.1
timeStampAN 14MRequest time stamp in
yyyyMMddHHmmss format
merchantIDAN 15MMerchant ID provided by 2C2P
orderIdPrefixAN 14MPrefix of merchant order number
for transaction done using this
QuickPay URL. Only alphanumeric
and special character of _- allowed.
descriptionAN 150MDescription of QuickPay URL. Only
alphanumeric and special character
of ._#- allowed.
currencyAN 3MStandard ISO4217 currency codes.
Eg. Thai baht = THB, Singapore
dollar = SGD, US dollar = USD.
amountAN 12MTransaction amount. E.g. SGD =
100.00, JPY = 100
allowMultiplePaymentC 1OY = Yes, N = No. allow multiple
payment to be made with this QP
URL. Default value = N
maxTransactionN 4OMaximum no of approved
transaction allowed. Value 1 to
1000.
If you have 10 items to sell, put 10
as value.
expiryAN 8MExpiry date of the QP URL with
format of DDMMYYYY
userData1AN 255OUser data
userData2AN 255OUser data
userData3AN 255OUser data
userData4AN 255OUser data
userData5AN 255OUser data
promotionAN 20OPromotion code to filter promotion
transactions
categoryIdAN 20OPredefined payment category code
for reporting purpose.
resultUrl1AN 255OFrontend return ur
resultUrl2AN 255OBackend return url
paymentOptionC 1OTo restrict customer payment
methods / channel:
- F – Full amount payment only
- I – Installment payment plan only
- C – Credit card payment only
- A – All available options
By default A option is selected.
ippInterestTypeC 1OTo allow merchant to specify IPP
Interest type.
- M – Merchant Pay interest option
only
- C – Customer Pay interest option
only
- A – all available options
By default A is selected.
paymentExpiryAN 19OAllow merchant to specify payment
expiry date/time for 1-2-3 service.
Format:
yyyy-MM-dd HH:mm:ss
by default, expiry value is taken
from merchant configuration.
toEmailsAN 255OEmail address to be sent to, separated by semi-colon, “;”.
ccEmailsAN 255OEmail address to receive CC,
separated by semi-colon, “;”.
bccEmailsAN 255OEmail address to receive BCC,
separated by semi-colon, “;”.
emailSubjectAN 255CCharacters except special character of > and <

mandatory when toEmails is supplied
emailMessageAN 255CCharacters except special character of > and <

mandatory when toEmails is supplied
toMobilesAN 255OMobile Nos to be sent to,
separated by semi-colon, “;”. In
International format: CountryCodeAreaCode-TelephoneNo. E.g
+66889999999
smsMessageAN 60CCharacters except special character of > and <

mandatory when toMobiles is supplied
request3DSC 1OTo enable / disable / Force 3DS
authentication
Y - Do 3DS authentication (default)
N - No 3DS authentication
F - Force 3DS authentication (only
ECI 02/05 are accepted)
enableStoreCardC 1OTo enable tokenization feature
N - Disable tokenization option
(default)
Y - Enable tokenization option
recurringC 1OTo enable RPP (Recurring Payment
Plan) transaction feature.
N - Disable RPP feature (default)
Y - Enable RPP feature
(Recurring unique ID will be
returned on payment response
message if this option is enabled)
recurringAmountD 12CRecurring amount. E.g. SGD =
100.00, JPY = 100
allowAccumulateC 1CRPP will be terminated if
accumulated failed RPP transaction
amount is over
maxAccumulateAmount.

Only required if allowAccumulate is
allowed
maxAccumulateAmountD 12CRPP will be terminated if
accumulated failed RPP transaction
amount is over
maxAccumulateAmount.

Only required if allowAccumulate is
allowed
recurringIntervalN 3CTo indicate the frequency of RPP by
days.
minimum is every 1 day.
maximum is every 365 days (1
year).

Only required if RPP is enabled and
chargeOnDate is not used.
recurringCountN 5CTo 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.
chargeNextDateC 8CTo indicate the next RPP charge
date.
format: ddMMyyyy.

Only required if RPP with
recurringInterval is set.

if RPP is with chargeOnDate then
chargeNextDate is optional.
if chargeNextDate is not set, chargeOnDate Date and Month will
be used
chargeOnDateC 4CTo charge RPP on specific date
every month.
format: ddMM
the MM is only used if
charge_next_date is not set. otherwise the dd will be used for every month.

Only required if RPP is enabled and
recurringInterval is not used.
hashValueAN 150MHMACSHA1 cryptographic hash
value of:
version + timeStamp + merchantID + orderIdPrefix + description +
currency + amount +
allowMultiplePayment +
maxTransaction + expiry +
userData1 + userData2 + userData3 + userData4 + userData5 +
promotion + categoryId +
resultUrl1 + resultUrl2 +
paymentOption + ippInterestType + paymentExpiry + toEmails + ccEmails + bccEmails +
emailSubject + emailMessage +
toMobiles + smsMessage + request3DS + enableStoreCard + recurring + recurringAmount +
allowAccumulate +
maxAccumulateAmount +
recurringInterval + recurringCount + chargeNextDate + chargeOnDate

using secret_key provided by 2C2P
to merchant