Payment Info Classes
Amount Validation
| Class AmountValidation |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
min | Double | M | Set the minimum allowed amount
|
max | Double | M | Set the maximum allowed amount
|
Card No Validation
| Class CardNoValidation |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
prefixes | Array | M | Array of allowed prefix card numbers to identify the credit card scheme |
regex | String | M | Regex for allowed prefix credit card numbers |
luhn | Boolean | M | LUHN check for credit card number
|
Card Token Info
| Class CardTokenInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| token | String | M | Card token ID |
| cardNo | String | M | Masked credit card number |
| expiryDate | String | M | Credit card expiry date |
| name | String | M | Customer’s name |
| String | M | Customer’s email address | |
| status | String | M | Credit card availability status |
| iconUrl | String | M | Credit card brand icon URL |
| logoUrl | String | M | Credit card brand logo URL |
Card Type Validation
| Class CardTypeValidation |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| sequenceNo | Integer | M | Sequence number of list |
| name | String | M | Credit card brand name |
| prefixes | Array<String> | M | Array of prefix numbers to identify the credit card scheme |
| regex | String | M | Regex to identify the credit card scheme |
| iconUrl | String | M | Credit card scheme icon URL |
Common Validation
| Class **CommonValidation ** |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| cardNo | CardNoValidation | M | Credit card number validation |
| cardTypes | Array <CardTypeValidation> | M | Credit card type validation list |
Configuration Info
| Class ConfigurationInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| payment | PaymentConfiguration | M | Payment related configuration |
| notification | PaymentNotification | M | Payment notification platform configuration |
Dynamic Currency Conversion
| Class DynamicCurrencyConversion |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| active | Boolean | M | Dynamic currency conversion feature status |
| terms | String | M | Dynamic currency conversion terms and conditions |
Exchange Rate
| Class ExchangeRate |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| multipleCurrencyPricing | MultipleCurrencyPricing | M | Exchange rate multiple currency pricing |
| dynamicCurrencyConversion | DynamicCurrencyConversion | M | Exchange rate dynamic currency conversion |
| alternativePaymentMethodMultipleCurrencyConversion | AlternativePaymentMethodMultipleCurrencyConversion | C | Exchange rate alternative payment method multiple currency conversion |
FX Rate
| Class FXRate |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
sequenceNo | Integer | M | Sequence number of list |
id | String | M | Exchange rate ID |
name | String | M | Exchange rate title |
iconUrl | String | M | Exchange rate currency icon URL |
amount | String | M | Exchange rate offer amount |
fx | Double | M | Exchange rate offer rate |
currencycode | String | M | Exchange rate currency code
|
Installment Plan
| Class InstallmentPlan |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
sequenceNo | Integer | M | Sequence number of list |
period | Integer | M | Installment tenor period |
interestType | String | M | Installment interest type |
interestRate | Double | M | Installment interest rate. |
monthlyAmount | Double | M | Installment monthly amount |
monthlyInterest | Double | M | Installment monthly interest |
currencyCode | String | M | Installment currency code
|
| label | String | M | Installment plans label |
Merchant Additional Info
| Class MerchantAdditionalInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| id | String | M | Merchant ID |
| name | String | M | Merchant name |
| address | String | M | Merchant address |
| String | M | Merchant email address | |
| logoUrl | String | M | Merchant logo URL |
| bannerUrl | String | M | Merchant banner URL |
Merchant Info
| Class MerchantInfo |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
id | String | M | Merchant ID |
name | String | M | Merchant name |
address | String | M | Merchant address |
String | M | Merchant email address | |
logoUrl | String | M | Merchant logo URL |
bannerUrl | String | M | Merchant banner URL |
countryCode | String | M | Merchant county code
|
Multiple Currency Pricing
| Class MultipleCurrencyPricing |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| active | Boolean | M | Multiple currency pricing feature status |
| terms | String | M | Multiple currency pricing terms and conditions |
Payment Channel
| Class PaymentChannel |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| sequenceNo | Integer | M | Sequence number of list |
| name | String | M | Payment channel name |
| currencyCodes | Array | M | Payment channel enabled currency codes |
| iconUrl | String | M | Payment channel icon URL |
| logoUrl | String | M | Payment channel logo URL |
| down | Boolean | M | Payment channel online/offline status.
|
| context | PaymentContext | M | Payment channel payment context information |
Payment Channel Category
| Class PaymentChannelCategory |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| sequenceNo | Integer | M | Sequence number of list |
| name | String | M | Payment channel category name |
| code | String | M | Payment channel category code |
| iconUrl | String | M | Payment channel category icon URL |
| logoUrl | String | M | Payment channel category logo URL |
| default | Boolean | M | Default selected payment channel category |
| groups | Array <PaymentChannelGroup> | M | Payment channel group list |
Payment Channel Group
| Class PaymentChannelGroup |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| sequenceNo | Integer | M | Sequence number of list |
| name | String | M | Payment channel group name |
| code | String | M | Payment channel group code |
| iconUrl | String | M | Payment channel group icon URL |
| logoUrl | String | M | Payment channel group logo URL |
| default | Boolean | M | Default selected payment channel group |
Payment Code
| Class PaymentCode |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| Constructors (channelCode) | String | C | Init class constructor with channel code |
| Constructors (channelCode, agentCode, agentChannelCode) | String, String, String | C | Init class constructor with payment channel code, agent code and agent channel code |
| channelCode | String | M | Payment channel code |
| agentCode | String | M | Payment agent code |
| agentChannelCode | String | M | Payment agent channel code |
Payment Configuration
| Class PaymentConfiguration |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| immediatePayment | Boolean | M | Immediate payment without user input
|
| tokenize | Boolean | M | Enables the tokenization feature for credit card payments |
| tokenizeOnly | Boolean | M | Indicates that a credit card will be tokenized to generate a card token without performing a transaction
|
| cardTokenOnly | Boolean | M | Enforces the use of card token payments only |
| exchangeRate | ExchangeRate | M | Exchange rate information |
Payment Context
| Class PaymentContext |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| code | PaymentCode | M | Payment code informationRefer to: Payment Code |
| input | PaymentInput | M | Payment input informationRefer to: Payment Input |
| validation | PaymentValidation | M | Payment validation informationRefer to: Payment Validation |
| info | PaymentInfo | M | Payment info informationRefer to: Payment Info |
Payment Data
| Class PaymentData |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| name | String | O | Customer’s name |
| String | O | Customer’s email address | |
| mobileNo | String | O | Customer’s mobile number |
| accountNo | String | O | Customer’s account number |
| cardNo | String | O | Credit card number |
| expiryMonth | Integer | O | Credit card expiry month |
| expiryYear | Integer | O | Credit card expiry year |
| securityCode | String | O | Credit card security code |
| pin | String | O | Credit card PIN |
| bank | String | O | Credit card issuer bank name |
| country | String | O | Credit card issuer country code |
| tokenize | Boolean | O | Enables customer to tokenize card info |
| installmentInterestType | String | O | Installment interest type |
| installmentPeriod | Integer | O | Installment period, in months |
| token | String | O | Token from card token ID or digital payment |
| qrType | String | O | QR data type |
| fxRateId | String | O | Exchange rate ID |
| billingAddress1 | String | O | Customer's billing address 1 |
| billingAddress2 | String | O | Customer's billing address 2 |
| billingAddress3 | String | O | Customer's billing address 3 |
| billingCity | String | O | Customer's billing city |
| billingState | String | O | Customer's billing state |
| billingPostalCode | String | O | Customer's billing postal code |
| billingCountryCode | String | O | Customer's billing country code |
| paymentExpiry | String | O | Payment expiry datetime |
Payment Info
| Class PaymentInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| terms | String | M | Terms and conditions information |
| promoUrl | String | M | Promo image URL |
| installmentPlans | Array <InstallmentPlan> | M | Installment plan information list |
| paymentCustomDatas | Array<PaymentCustomData> | M | Additional custom data from acquirer or specific info for payment channel |
| paymentProvider | PaymentProvider | M | Payment provider info |
Payment Input
| Class PaymentInput |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
name | String | M | Name input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
String | M | Email input view visibility and validation for UI /8 Based on admin portal configuration • M = Mandatory
Refer to: Payment Input Code | |
mobileNo | String | M | Mobile number input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
cardNo | String | M | Credit card number input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
expiryDate | String | M | Credit card expiry date input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
securityCode | String | M | Credit card security code input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
pin | String | M | Credit card pin input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
token | String | M | Token ID input validation for UI
• M = Mandatory
Refer to: Payment Input Code |
accountNo | String | M | Account number input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
billingAddress1 | String | M | Billing address 1 input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
billingAddress2 | String | M | Billing address 2 input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
billingAddress3 | String | M | Billing address 3 input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
billingCity | String | M | Billing city input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
billingState | String | M | Billing state input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
billingPostalCode | String | M | Billing postal code input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
billingCountryCode | String | M | Billing country code input view visibility and validation for UI
• M = Mandatory
Refer to: Payment Input Code |
Payment Notification
| Class PaymentNotification |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
Boolean | M | Facebook subscription view visibility
| |
Boolean | M | WhatsApp subscription view visibility
| |
line | Boolean | M | LINE subscription view visibility
|
Payment Request
| Class PaymentRequest |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| code | PaymentCode | M | Payment code for payment channel information |
| data | PaymentData | M | Payment data for payment request |
Payment Result Additional Info
| Class PaymentResultAdditionalInfo |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
redirectImmediately | Boolean | M | Redirect immediately to frontend return URL • If set to true: Redirects payment response to frontend return URL • If set to false: Proceeds based on auto redirection flag |
autoRedirect | Boolean | M | Auto redirect to frontend return URL after indicated number of seconds • If set to true: Auto redirect to payment response in x seconds, based on auto redirect timer • If set to false: User must proceed manually (click on button) |
autoRedirectTimer | Integer | M | Auto redirect countdown
|
frontendReturnUrl | String | M | Merchant frontend page return URL
|
frontendReturnData | String | M | Data to be posted to merchant frontend return URL
|
responseCode | String | M | Payment result response code
Refer to: API Response Code |
| responseDescription | String | M | Payment result response description |
Payment Validation
| Class PaymentValidation |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| name | String | M | Regex for name input |
| String | M | Regex for email address input | |
| mobileNo | String | M | Regex for mobile number input |
| cardNo | String | M | Regex for credit card number input |
| expiryDate | String | M | Regex for credit card expiry date input |
| securityCode | String | M | Regex for credit card security code input |
| pin | String | M | Regex for credit card PIN input |
| token | String | M | Regex for card token ID or digital payment input |
| accountNo | String | M | Regex for account number input |
| billingAddress1 | String | M | Regex for billing address 1 |
| billingAddress2 | String | M | Regex for billing address 2 |
| billingAddress3 | String | M | Regex for billing address 3 |
| billingCity | String | M | Regex for billing city |
| billingState | String | M | Regex for billing state |
| billingPostalCode | String | M | Regex for billing postal code |
| billingCountryCode | String | M | Regex for billing country code |
| additional | PaymentValidationAdditional | M | Additional validation input of specific channel parametersRefer to: Payment Validation Additional |
Payment Validation Additional
| Class PaymentValidationAdditional |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| cardNo | CardNoValidation | M | Credit card number validation |
| amount | AmountValidation | M | Amount validation |
Recurring Payment Info
| Class RecurringInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| amount | String | M | Recurring amount |
| interval | Integer | M | Recurring interval in days |
| count | Integer | M | Total count of recurring payments allowed |
| chargeNextDate | String | M | The next date of recurring payment transaction |
| chargeOnDate | String | M | Recurring charge on specific date every month |
System Initialization
| Class SystemInitialization |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| locales | Array <SystemLocale> | M | Locale information |
System Locale
| Class SystemLocale |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
code | String | M | Locale code
|
| name | String | M | Locale name |
| iconUrl | String | M | Locale icon URL |
Transaction Additional Info
| Class TransactionAdditionalInfo |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
amount | String | M | Transaction amount |
currencyCode | String | M | Transaction currency code |
invoiceNo | String | M | Transaction invoice number |
productDescription | String | M | Transaction product description |
dateTime | String | M | Process transaction datetime
|
| agentCode | String | M | Agent code |
| channelCode | String | M | Agent channel code |
| data | String | M | Processed payment data from agent |
| interestType | String | M | Installment interest type |
| interestRate | Double | M | Installment interest rate |
| monthlyAmount | Double | M | Installment monthly amount |
| installmentPeriod | Integer | M | Installment tenor period |
Transaction Info
| Class TransactionInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| amount | String | M | Transaction amount |
| currencyCode | String | M | Transaction currency code |
| invoiceNo | String | M | Transaction invoice number |
| productDescription | String | M | Transaction product description |
| recurring | RecurringInfo | M | Recurring information Refer to: Recurring Info |
| paymentItemInfos | Array<PaymentItemInfo> | M | Payment items information Refer to: Payment Item Info |
Transaction Status Additional Info
| Class TransactionStatusAdditionalInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| merchantInfo | MerchantAdditionalInfo | M | Additional merchant information Refer to: Merchant Additional Info |
| transactionInfo | TransactionAdditionalInfo | M | Additional transaction information Refer to: Transaction Additional Info |
| resultInfo | PaymentResultAdditionalInfo | M | Additional payment result information Refer to: Payment Result Additional Info |
User Preference
| Class UserPreference |
Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
name | String | M | Customer's name |
String | M | Customer's email address | |
mobileNo | String | M | Customer's mobile number |
mobileNoPrefix | String | M | Customer's mobile number prefix |
locale | String | M | Customer's preferred locale |
currencyCode | String | M | Customer's current currency code |
countryCode | String | M | Customer's current country code
|
User Preference Info
| Class UserPreferenceInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| preference | UserPreference | M | User preference information Refer to: User Preference |
| channels | Array <UserPreferencePaymentChannel> | M | User preference payment channel list Refer to: User Preference Payment Channel |
User Preference Payment Channel
| Class UserPreferencePaymentChannel |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| sequenceNo | Integer | M | Sequence number of list |
| name | String | M | Payment channel name |
| categoryCode | String | M | Payment channel category code |
| groupCode | String | M | Payment channel group code |
| channelCode | String | M | Payment channel code |
| iconUrl | String | M | Payment channel icon URL |
| logoUrl | String | M | Payment channel logo URL |
Alternative Payment Method Multiple Currency Conversion
| Class AlternativePaymentMethodMultipleCurrencyConversion |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| active | Boolean | M | Alternative payment method multiple currency conversion feature status |
| terms | String | M | Alternative payment method multiple currency conversion terms and conditions |
Payment Custom Data
| Class PaymentCustomData |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| sequenceNo | Integer | M | Sequence number of list |
| type | String | M | Data typeRefer to: Payment Custom Data Code |
| data | String | M | Data information |
Payment Item Info
| Class PaymentItemInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| code | Integer | M | Payment item code |
| name | String | M | Payment item name |
| quantity | Integer | M | Payment item quantity |
| price | Double | M | Payment item price |
User Address
| Class UserAddress |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| userBillingAddress | UserBillingAddress | M | Customer's billing addressRefer to: User Billing Address |
User Billing Address
| Class UserBillingAddress |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| address1 | String | M | Customer's billing address 1 |
| address2 | String | M | Customer's billing address 2 |
| address3 | String | M | Customer's billing address 3 |
| city | String | M | Customer's billing city |
| state | String | M | Customer's billing state |
| postalCode | String | M | Customer's billing postal code |
| countryCode | String | M | Customer's billing country code |
User Info
| Class UserInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| userAddress | UserAddress | M | Customer's address Refer to: User Address |
Transaction Result Additional Info
| Class TransactionResultAdditionalInfo |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| qrData | String | O | QR data |
| barcodeData | String | O | Barcode data |
| referenceNo | String | O | Payment reference number |
Payment Provider
| Class PaymentProvider |
| Parameter | Data Type | Mandatory | Description |
|---|---|---|---|
| id | String | C | Payment provider ID |
| channels | Array<String> | C | Allowed payment channels |
| merchantInfo | MerchantInfo | C | Merchant informationRefer to: Merchant Info |
| transactionInfo | TransactionInfo | C | Transaction informationRefer to: Transaction Info |
Updated 6 months ago
