QuickPay Generate and Send Link Response Parameters

📘

Data Attribute Reference

Data Type

  • A: Alphabet
  • AN: Alphanumeric
  • C: Characters
  • B: Boolean
  • D: Decimal
  • N: Numeric

Mandatory attributes

  • M: Mandatory
  • C: Conditional
  • O: Optional

Parameter

Data Type / Length

Mandatory

Description

version

AN 3

M

Request version number

Current version: 2.1

timeStamp

AN 14

M

Request time stamp

  • In yyyyMMddHHmmss format

qpID

N 10

M

QuickPay ID

orderIdPrefix

AN 14

M

Prefix of merchant order number for transaction done using this QuickPay URL

  • Accepts only alphanumeric characters
    and the special characters _-

currency

AN 3

M

Standard ISO4217 currency codes

Examples:

  • Thai baht = THB
  • Singapore
    dollar = SGD
  • US dollar = USD

amount

AN 12

M

Transaction amount

Examples:

  • SGD =
    100.00
  • JPY = 100

expiry

AN 8

M

Expiry date of the QuickPay link

  • In DDMMYYYY format

url

AN 255

M

QuickPay URL

successEmails

AN 255

O

Email address that QuickPay URL was successfully sent to

  • Multiple email addresses are separated by semicolons (“;”)

successMobiles

AN 255

O

Mobile number that QuickPay URL was successfully sent to

  • Multiple mobile numbers are separated by semicolons (“;”)

failedEmails

AN 255

O

Email address that QuickPay URL failed to send to

  • Multiple email addresses are separated by semicolons (“;”)

failedMobiles

AN 255

O

Mobile number that QuickPay URL failed to send to

  • Multiple mobile numbers are separated by semicolons (“;”)

resCode

N 3

M

Response status code

Refer to: Response Code List

resDesc

AN 50

M

Response status short description

hashValue

AN 150

M

HMACSHA1 cryptographic hash value of:
version + timestamp + qpID +
orderIdPrefix + currency + amount + expiry + url + successEmails +
successMobiles + failedEmails +
failedMobiles + resCode + resDesc

Uses secret key provided by 2C2P to merchant