Visa Installments

To learn more about Visa Installments, please refer to link

Before initiating the payment request you will need to get the eligible installment plans. For this purpose you have to send an action request to the REST API. The following fields are required in the request:

Field nameM/O/CDescription
requestTypeMUse value 'PaymentCardInstallmentRequest' if card is used
Use value 'PaymentTokenInstallmentEligibilityRequest' if hosted data is used
Use value 'PaymentCardProtectedInstallmentEligibilityRequest' if encrypted card data is used
paymentCard.numberCIf clear card number is used
paymentToken.valueCIf the eligibility check should be handled for a token linked to a card.
paymentCardEncrypted....CIf eligibility call is initiated from POS, card data must be send as described in the guide for transactions initiated from POS
storeIdOThe store ID for which the eligibility call is initiated.
amount.totalMAmount for which the eligibility call is initiated.
amount.currencyMCurrency of the card for which the eligibility call is initiated.

If the transaction is eligible for Visa installments, then one to many plans will be included with the following objects:

Field namePresenceDescription
installmentPlanIdMThis objects contains the reference to the installment plan defined by Visa.
InstallmentPlanInquiryIdMContains plan ID generated by the Gateway.
providerMService provider of the individual installment plan
tenureMNumber of installments of the individual installment plan
installmentFrequencyMFrequency of the individual installment plan.
Possible values: WEEKLY, BIWEEKLY, MONTHLY, BIMONTHLY
interestRateMInterest rate of the individual installment plan
currencyM 3-digit ISO Alpha code currency code of the individual installment plan
installmentFeeMProcessing fee by the Issuer
totalFeeMThis is the complete set of Fees, which includes, recurring fees, processing fees, upfront fees etc.
amountPerInstallmentMTotal amount payable by the customer per installment
termsAndConditionTextMTerms and conditions to be displayed and acknowledged by the customer.
termsAndConditionVersionMRelated version of the terms and conditions.
additionalTermsAndConditionsURLCAdditional terms and conditions to be displayed and acknowledged by the customer.
productCodeCBank defined product code. Only applicable for APAC region.
programCodeCBank defined program code. Only applicable for APAC region.
languageCodeMLanguage of terms and conditions
bankNameCAvailable bank name for respective BIN. Only present for specific banks in APAC region.
bankCodeCAvailable bank code for respective BIN. Only present for specific banks in APAC region.
installmentMerchantIdCOnly present for specific banks in APAC region with multi MID setup for installments.
installmentTerminalIdCOnly present for specific banks in APAC region with multi MID setup for installments.

Example:

{
    "requestType": "PaymentCardInstallmentRequest",
    "paymentCard": {
        "number": "45093xxxx0012535"
    },
    "storeId": "470xxx9111",
    "amount": {
        "total": "2500",
        "currency": "HKD"
    }
}
{
    "type": "GetInstallmentPlansResponse",
    "clientRequestId": "2838649",
    "apiTraceId": "ljklkjlkjasdflkjlkj123",
    "installmentPlans": [
        {
            "installmentPlanInquiryId": "asdf4617-c2c7-03f0-5028-1332aa5b5678",
            "installmentPlanId": "a2a44617-c2c7-03f0-5028-1332aa5bd601",
            "provider": "VIS",
            "tenure": 12,
            "interestRate": 0,
            "currency": "HKD",
            "installmentFee": 0.00,
            "totalFee": 0.00,
            "amountPerMonth": 208.34,
            "totalAmount": 2500.00,
            "termsAndConditionText": "Test",
            "termsAndConditionVersion": "1",
            "languageCode": "eng",
            "bankName": "Standard Chartered Bank",
            "bankCode": "003"
        },
        {
            "installmentPlanInquiryId": "asdf4617-c2c7-03f0-5028-1332aa5b5679",
            "installmentPlanId": "f173c504-d012-6a45-1032-106f2b77f701",
            "provider": "VIS",
            "tenure": 3,
            "interestRate": 0,
            "currency": "HKD",
            "installmentFee": 0.00,
            "totalFee": 0.00,
            "amountPerMonth": 833.34,
            "totalAmount": 2500.00,
            "termsAndConditionText": "Test TC text",
            "termsAndConditionVersion": "2",
            "languageCode": "eng",
            "bankName": "Standard Chartered Bank",
            "bankCode": "003"
        },
        {
            "installmentPlanInquiryId": "asdf4617-c2c7-03f0-5028-1332aa5b5680",
            "installmentPlanId": "bd14019e-b3f7-e486-fdec-118f2944ed01",
            "provider": "VIS",
            "tenure": 6,
            "interestRate": 0,
            "currency": "HKD",
            "installmentFee": 0.00,
            "totalFee": 0.00,
            "amountPerMonth": 416.67,
            "totalAmount": 2500.00,
            "termsAndConditionText": "Test",
            "termsAndConditionVersion": "1",
            "languageCode": "eng",
            "bankName": "Standard Chartered Bank",
            "bankCode": "003"
        },
        {
            "installmentPlanInquiryId": "asdf4617-c2c7-03f0-5028-1332aa5b5681",
            "installmentPlanId": "7a27924d-70c8-9451-882c-1f1cbd54a301",
            "provider": "VIS",
            "tenure": 9,
            "interestRate": 0,
            "currency": "HKD",
            "installmentFee": 0.00,
            "totalFee": 0.00,
            "amountPerMonth": 277.78,
            "totalAmount": 2500.00,
            "termsAndConditionText": "Test",
            "termsAndConditionVersion": "1",
            "languageCode": "eng",
            "bankName": "Standard Chartered Bank",
            "bankCode": "003"
        }
    ]
}

Once you have received the eligible installment plans from the Gateway, you can display the list of plans to the cardholder.


If the cardholder chooses one of the installment plans, then you have to include the selected plan into the payment request to the Gateway. Otherwise, you don't need to include any information into the payment request.

Example:

{
    "requestType": "PaymentCardSaleTransaction",
    "transactionAmount": {
        "total": "4000",
        "currency": "HKD"
    },
    "paymentMethod": {
        "paymentCard": {
            "number": "45093xxxx0012535",
            "securityCode": "979",
            "expiryDate": {
                "month": "12",
                "year": "24"
            }
        }
    },
    "order": {
        "selectedInstallmentPlan": {
            "installmentPlanId": "a2a44617-c2c7-03f0-5028-1332aa5bd601",
            "provider": "VIS",
            "tenure": 12,
            "interestRate": 0,
            "currency": "HKD",
            "installmentFee": 0.00,
            "totalFee": 0.00,
            "amountPerMonth": 208.34,
            "totalAmount": 2500.00,
            "termsAndConditionText": "Test",
            "termsAndConditionVersion": "1",
            "languageCode": "eng",
            "bankName": "Standard Chartered Bank",
            "bankCode": "003"
        }
    }
}
{
    "type": "transactionResponse",
    "clientRequestId": "2838649",
    "apiTraceId": "ljklkjlkjasdflkjlkj123",
    "ipgTransactionId": "84370670021",
    "orderId": "R-75b190bc-64f3-48e9-95dc-5338427e070c",
    "transactionType": "SALE",
    "paymentToken": {
        "reusable": true,
        "declineDuplicates": false,
        "brand": "VISA",
        "type": "PAYMENT_CARD"
    },
    "transactionOrigin": "ECOM",
    "paymentMethodDetails": {
        "paymentCard": {
            "expiryDate": {
                "month": "12",
                "year": "2024"
            },
            "bin": "450936",
            "last4": "2535",
            "brand": "VISA"
        },
        "paymentMethodType": "PAYMENT_CARD",
        "paymentMethodBrand": "VISA"
    },
    "country": "Hong Kong",
    "terminalId": "00001137",
    "merchantId": "620000000001137",
    "transactionTime": 1722924804,
    "approvedAmount": {
        "total": 4000.00,
        "currency": "HKD",
        "components": {
            "subtotal": 4000.00
        }
    },
    "transactionAmount": {
        "total": 4000.00,
        "currency": "HKD",
        "components": {
            "subtotal": 4000.00
        }
    },
    "transactionStatus": "APPROVED",
    "approvalCode": "Y:234567:4370670021:PPX :421906960021",
    "processor": {
        "referenceNumber": "421906960021",
        "authorizationCode": "234567",
        "responseCode": "00",
        "responseMessage": "Function performed error-free",
        "avsResponse": {
            "streetMatch": "NO_INPUT_DATA",
            "postalCodeMatch": "NO_INPUT_DATA"
        }
    },
    "selectedInstallmentPlan": {
        "installmentPlanId": "a2a44617-c2c7-03f0-5028-1332aa5bd601",
        "provider": "VIS",
        "tenure": 12,
        "interestRate": 0,
        "amountPerMonth": 208.34,
        "totalAmount": 2500.00
    }
}

Want a quick overview?