- Please refer to PaymentIntents endpoint in the api docs, and set payment_type=instalment to specify just instalments. For other payment methods, specify accordingly
- Cannot choose instalment tenure only, have to either choose a specific bank and tenure from API request, or completely let customer choose
- This payment flow is supported. You can use below parameters in addition to PaymentIntents endpoint for this payment flow.
POST https://api.payex.io/api/v1/PaymentIntents #
[
{
"amount": "200000",
"currency": "MYR",
"customer_name": "Test 123",
"contact_number": "0123456789",
"email": "test@gmail.com",
"description": "Test",
"reference_number": "test 123",
"payment_type": "instalment",
"payment_confirm": true,
"payment_type_data": {
"provider": "mbb_06"
}
}
]
Below are the bank codes, please use format “bank codes” + “_” + tenure (06/12/18/24/36/48/60) for parameter “provider”, do follow the available combinations of banks and tenures. For example 48/60 months are only available for CIMB etc
abb
ambb
cimb
hlbb
hsbc
mbb
ocbc
pbb
rhb
scb
uob
If the goal is to be able to capture the instalment info, that info is actually provided in the callback param “txn_type”, so if customer chooses bank and tenure on payex page, you will still be able to tell which bank and tenure after the transaction.
Payment Simulation #
Card #
“card_holder_name”: “TEST CARD”,
“card_number”: “5453 0100 0009 5323”,
“card_expiry”: “0822”,
“card_cvc”: “123”,