Skip to main content

DuitNow Online Banking/Wallets

1. Retrieve Access Token

Test IDDescriptionTest DataExpected Result
AUTH#001Merchant to RPP: Succesful Retrieve OAuth 2.0 Access Token
(Positive)
  1. Merchant performs generate access token
  • Access token generated and return to the merchant.
  • HTTP status : 200
AUTH#002Merchant to RPP: Reuse the same access token before token expires.
(Positive)
  1. Merchant calls generate access token API
  2. Send first request with the generated access token
  3. Send second request with the same access token
  • The merchant is expected to use the same access token until it almost expires, and then regenerate a new access token

2. Retrieve Bank List

Test IDDescriptionTest DataExpected Result
RQLB#001Merchant to RPP: Succesful Retrieve Bank List Request
(Positive)
  1. Merchant performs Retrieve Bank List
    Transaction Type: 650
  • List of banks returned to Merchant
  • Status Code: ACSP Reason Code: U000 (Successful/Transaction Accepted)
RQLB#002Merchant to RPP: Succesful Retrieve Bank List request with pageKey
(Positive)
  1. Merchant performs Retrieve Bank List
    Transaction Type: 650
    1. Send with empty pageKey
    2. If response pageKey is empty, terminate
    3. If response pageKey is not empty, send with request.pageKey=response.pageKey
  2. Repeat above until termination
  • List of banks (up to 10 banks) returned to Merchant
  • Status Code: ACSP Reason Code: U000 (Successful/Transaction Accepted)

3. Initiate Payment

Test IDDescriptionTest DataExpected Result
RPRD#001Merchant to RPP: Successful Initiate Payment for Merchant
(Positive)
  1. Merchant sends a good Initiate Payment request
    Transaction Type: 861
  2. To complete the test case, recipientReference: RPRD001
  • Merchant receives successful Initiate Payment response
  • Status Code: ACSP Reason Code: U000 (Successful/Transaction Accepted)

4. Status Inquiry

info

There is a rate limit applied to this API, meaning that calls for the same endToEndId can only be made once every 30 seconds. Merchants are required to comply with these rate limits.

Test IDDescriptionTest DataExpected Result
RTSE#001Merchant to RPP: Status Inquiry for Successful Transaction
(Positive)
  1. Pre-requisite: Perform a successful Initiate Payment transaction
  2. Merchant performs Status Enquiry on the successful transaction
    Transaction Type: 864
  • Merchant receives successful Status Enquiry response
  • Enquiry Status Code: ACSP Reason Code: U000

5. Payment Status Notification

Test IDDescriptionTest DataExpected Result
PSNO#001RPP to Merchant: Notify Merchant of Successful Payment via Merchant Notification API
  1. DA perform successful 070
  • Merchant received Payment Status Notification
PSNO#002RPP to Merchant: Notify Merchant of Update Payment Status via Merchant Notification API
  1. DA perform 863 - RJCT on merchant’s 861
  • Merchant received Payment Status Notification