For the complete documentation index, see llms.txt. This page is also available as Markdown.

UAT Integration

To make sure our integration process runs well in production, you can refer to these testing scenarios below:

Get Installment Options

This scenario will run in your (re: Merchant) checkout page where Indodana will send back installment options based on transaction amount. These options will then be shown to your customer along with some details like Installment Amount, and Monthly Installment as their purchasing reference.

A. Transaction Amount reach <500k

{ 
    "amount": 450000, 
    "items": [ 
        { 
            "id": "UAT_MERC001", 
            "name": "Wireless Earphone Bass V2.00", 
            "price": 450000, 
            "url": "http://merchant.com/elc/wireless-earphone-bass", 
            "imageUrl": "http://merchant.com/elc/wlearphone/cover.jpg", 
            "type": "Electronic", 
            "quantity": 1, 
            "parentType": "SELLER", 
            "parentId": "UAT_SELL001" 
        } 
    ] 
}

A. Tenure option: 1 month will be displayed

{ 
    "status": "OK", 
    "payments": [ 
        { 
            "downPayment": 0, 
            "paymentType": "Bayar dalam 30 hari", 
            "amount": 472500, 
            "installmentAmount": 491500, 
            "rate": 4, 
            "monthlyInstallment": 491500, 
            "discountedMonthlyInstallment": 0, 
            "tenure": 1, 
            "id": "30_days" 
        } 
    ] 
}

B. Transaction amount reach >= 500k

B. Tenure options: 1 & 3 months will be displayed

C. Transaction amount reach >1 million

C. Tenure options: 1, 3, & 6 months will be displayed

D. Transaction amount reach >1.5 million

D. Tenure options: 1, 3, 6, & 12 months will be displayed

Purchase Transaction Checkout

This scenario will run when your customer choose Indodana as their payment method in your checkout page.

After you post transaction to Indodana, you will get a valid Indodana Checkout URL. Then, you should redirect your customer from your checkout page to that Indodana checkout page.

At the end of the process, you should receive a POST notification from Indodana notifying the purchase has been approved by Indodana.

transactionStatus= PROCESSED

Purchase Transaction Cancellation / Refund [Optional]

This is an optional scenario; It will depend on whether the merchant needs transaction refund feature or not.

As for this UAT covers only API-API integration, in this case you are required to POST a full refund request to Indodana.

Last updated