Do Payment Request Parameters
Data Attribute ReferenceData Type
- A: Alphabet
 - AN: Alphanumeric
 - NT: NText
 - C: Characters
 - B: Boolean
 - D: Decimal
 - N: Numeric
 Mandatory attributes
- M: Mandatory
 - C: Conditional
 - O: Optional
 
| 
         Parameter  | 
      
         Data Type  | 
      
         Mandatory  | 
      
         Description  | 
    ||||
|---|---|---|---|---|---|---|---|
| 
         paymentToken  | 
      
         C 255  | 
      
         M  | 
      
         Payment token ID  | 
    ||||
| clientID | C 255 | O | 
         Unique client ID 
          This ID will be created when UI SDK init and store in app
          preference.  | 
    ||||
| locale | C 10 | O | 
         Api response localization. Based on ISO 639 
 
          Important: Refer to Initialization API for the language code list.  | 
    ||||
| responseReturnUrl | C 255 | O | 
         Payment response return URL Only to be used by third party vendor to build payment UI for a merchant. For merchant, please use 'frontendReturnUrl' in PaymentToken Request Note: Payment token will be appended at the end of the URL 
          Example:  | 
    ||||
| payment | - | M | Payment required information | ||||
| code | - | M | 
         Payment code information ref: Payment Channel Matrix table.  | 
    ||||
| channelCode | AN 10 | M | 
         Payment channel code Input data from Channel Code column as your option Example: "123"  | 
    ||||
| agentCode | C 10 | C | 
         Agent's code Input data from Channel Code column as your option Example: "BAY"  | 
    ||||
| agentChannelCode | C 10 | C | 
         Agent's channel code Input data from Agent Code column as your option Example: "BANKCOUNTER"  | 
    ||||
| data | - | M | Payment data | ||||
| name | C 50 | C | Customer’s name | ||||
| C 150 | C | Customer’s email | |||||
| mobileNo | C 255 | O | Customer’s mobile number | ||||
| accountNo | C 255 | O | Customer’s account number | ||||
| token | C MAX | O | 
         Encrypted token used for Apple pay, Google pay & CS Token Examples for Card Scheme token - : base64({ "channel": "GOOGLEPAY", "authMethod": "{CRYPTOGRAM_3DS / PAN_ONLY}", "cryptogram":"{cryptogram}"}) Cryptogram not required if channel = "GOOGLEPAY" and authMethod = "PAN_ONLY" - : base64({ "channel": "APPLEPAY", "authMethod": "3DSecure", "cryptogram":"{ cryptogram }" }) - : base64({ "channel": "EXTERNAL", "cryptogram":"{ cryptogram }" })  | 
    ||||
| securePayToken | C 255 | C | 
         SecurePay encrypted token.A token generated by SecurePay SDK. Web : Using JS. Refer to: Encryption of card data Mobile : Encrypted by SecurePay SDK Lib. Refer to: SecurePay SDK *Merchant is allowed to use this encrypted value to transmit card information. This parameter is optional,if merchant choose to use parameter cardNo, expiryMonth, expiryYear & securityCode for a card payment.  | 
    ||||
| cardNo | N 20 | O | 
         Card number Example : 4111 1111 1111 1111  | 
    ||||
| expiryMonth | N 2 | O | 
         Card expiry month Example : 02  | 
    ||||
| expiryYear | N 4 | O | 
         Card expiry year Example : 2022  | 
    ||||
| securityCode | N 4 | O | CVV / CVC Code | ||||
| cardBank | C 255 | O | Credit card issuer bank | ||||
| cardCountry | C 255 | O | Credit card issuer country | ||||
| accountTokenization | B | O | Allowing customer to tokenize card info. | ||||
| interestType | A 1 | O | Installment interest type | ||||
| installmentPeriod | N 2 | O | Installment period in month | ||||
| payLaterPeriod | N 2 | O | payLaterPeriod in month | ||||
| customerToken | C 255 | O | Token from card token id or digital payment | ||||
| qrType | C 255 | O | 
         QR data type. - ALL : All QR Data type below - RAW : Raw data string - BASE64 : Base64 image string - URL : QR image URL  | 
    ||||
| fxRateID | C 255 | O | Exchange rate id | ||||
| paymentExpiry | C 19 | O | 
         Payment expiry date Specify payment expiry date/time for payments. Format: yyyy-MM-dd HH:mm:ss By default, will use expiry date/time from payment token or configured on merchant profile.  | 
    ||||
| loyaltyPoints | - | O | Loyalty Points Array | ||||
| providerID | C 255 | O | Loyalty Provider ID provided by 2C2P | ||||
| accountNo | C 255 | O | Customer account no. with provider | ||||
| accountAuthData | C 255 | O | Customer loyalty authentication data with provider | ||||
| externalMerchantId | C 255 | O | Merchant ID provided by Loyalty Provider | ||||
| redeemAmount | D 12,5 | O | Redeemed amount | ||||
| rewards | - | O | Rewards Array | ||||
| id | C 255 | O | Id of rewards | ||||
| quantity | N 4 | O | Quantity of rewards | ||||
| customerNote | C 255 | O | To display Customer Note | ||||
| userAgent | C 255 | O | User Agent | ||||
Updated 22 days ago
