DuitNow Online
Features | |
---|---|
Method | On the bank/wallet, Async - POST Redirect |
Countries | Malaysia |
Processing currencies | MYR |
Increments | - |
Captures | - |
Partial/Multiple partial captures | - |
Cancels | - |
Partial/Multiple partial cancels | - |
Refunds | ✅ |
Partial/Multiple partial refunds | ✅ |
Recurring | - |
Installments | - |
Credits | - |
Disputes | - |
Min Amount | 1.01 |
Account verification | - |
DuitNow Banking/Wallets is a convenient and secure online payment solution that allows real-time debiting of a consumer's internet banking account/wallet and also direct crediting into the merchant's account.
Payment flow
Required constraints
The bank code needs to be specified.
Bank codes
Bank | paymentMethod.duitnow.bank.code |
---|---|
Affin Bank | affin_bank |
Alliance Bank | alliance_bank |
Agrobank | agrobank |
AmBank | ambank |
CIMB Bank | cimb_bank |
Bank Islam | bank_islam |
Bank Rakyat | bank_rakyat |
Bank Muamalat | bank_muamalat |
Bank Simpanan Nasional | bank_simpanan_nasional |
Hong Leong Bank | hong_leong_bank |
HSBC Bank | hsbc_bank |
Kuwait Finance House | kuwait_finance_house |
Maybank | maybank |
OCBC Bank | ocbc_bank |
Public Bank | public_bank |
RHB Bank | rhb_bank |
Standard Chartered Bank | standard_chartered_bank |
United Overseas Bank | united_overseas_bank |
Payment
Request
{
"processingAccountId": "2HdN2jq6XWmlkhqRC2gDTNYCvNH",
"merchantReference": "B2A8734D-9450-4915-A63D-FE5C21F09550",
"amount": {
"value": 200,
"currency": "myr"
},
"paymentMethod": {
"type": "duitnow",
"duitnow": {
"bank": {
"code": "affin_bank"
},
"returnUrl": "https://merchant.site/complete-payment"
}
}
}
Response
{
"id": "27yiaS3yOsP1oRWKvi7KARKPrYX",
"merchantReference": "B2A8734D-9450-4915-A63D-FE5C21F09550",
"status": "pending",
"trackingUrl": "/v1/tracks/payments/{trackId}",
"reason": {
"code": "required_next_step",
"description": "An additional step is needed to complete the payment."
},
"nextStep": {
"type": "redirect",
"redirect": {
"method": "post",
"url": "https://payment.method.bank/complete",
"params": [
{
"name": "param1",
"value": "value1"
},
{
"name": "param2",
"value": "value2"
}
]
}
}
}