# Accepting payments in Indonesia: a developer's guide

> How Indonesian apps accept QRIS, virtual accounts, e-wallets and cards: Bank Indonesia's SNAP standard, gateway choice, webhooks and 2026 MDR rules.

URL: https://www.matthewswong.com/en/indonesia/payments/

- Author: Matthews Wong (https://www.matthewswong.com/en/about/)
- Researched on: 12 October 2026

> **Key takeaway:** Credit cards reached 1.6 percent of Indonesian adults in the World Bank's 2021 data, so apps built for Indonesia lead with QRIS, virtual accounts and e-wallets, through a licensed gateway or bank APIs on Bank Indonesia's SNAP standard. Confirm payment only from a verified webhook, store rupiah as integers, and note the QRIS MDR change of 1 October 2026.

> **Research note and disclaimer.** Researched on 12 October 2026. Everything below summarises the official sources linked on this page as they stood on that date. Regulations, tax rates and provider fees in Indonesia change, sometimes with little notice. Check the linked source before you rely on any figure, and treat anything older than a few months as a starting point rather than the current rule. General information only, not tax, legal or financial advice. For a decision about your own business, consult a licensed tax consultant (konsultan pajak), a lawyer, or the provider directly.

## What you need to know

### The rails Indonesian customers pay with

QRIS is Bank Indonesia's national QR standard, launched on 17 August 2019 and mandatory for every payment QR code from 31 December 2019. One code can be paid from any bank or e-wallet app registered as an issuer, funded from deposits, debit or credit cards, credit facilities or e-money, up to Rp10,000,000 per transaction. In merchant-presented mode the customer scans: a static code is printed once and the customer types the amount, while a dynamic code is generated after the merchant sets the amount. Software wants the dynamic kind, because each code carries one order's value.

Virtual accounts are the other workhorse: the customer transfers to a number issued for that payment, by mobile banking, internet banking or ATM. E-wallets such as GoPay, OVO, DANA and ShopeePay are approved inside the wallet app after a redirect or deeplink. Cards are a minority rail. The World Bank's data put credit card ownership at 1.6 percent of Indonesian adults in 2021, and even the domestic Indonesia Credit Card that BI and ASPI launched on 17 August 2026 is spent through QRIS, by scan or tap.

### What SNAP standardises

SNAP, the Standar Nasional Open API Pembayaran, comes from PADG 23/15/PADG/2021, issued on 16 August 2021. It covers interoperability, information security, governance and risk management for payment APIs, with specifications for registration, balance information, transaction history, credit transfer and debit transfer. Providers had to move existing APIs onto SNAP by 30 June or 31 December 2022, depending on whether they helped draft it, and integrate their service users by 30 June 2024, with micro, small and medium businesses and non-profits by 30 June 2025. ASPI has managed the standard and its Developer Site since 1 September 2023.

In code, SNAP is recognisable. ASPI's virtual-account specification groups services under a versioned transfer-va path (create-va, inquiry, payment, status), carries headers such as X-TIMESTAMP, X-SIGNATURE, X-PARTNER-ID, X-EXTERNAL-ID and CHANNEL-ID, and builds each seven-digit response code from the HTTP status, a service code and a case code, so 2002400 is a successful VA inquiry. DOKU's documentation shows the signing step: an HMAC-SHA512, keyed with the client secret, over the method, path, access token, a SHA-256 of the minified body and the timestamp. You write this yourself only when integrating a bank's SNAP API or a gateway's SNAP endpoints.

### Gateway or direct integration

BI requires every payment provider and switching institution that processes QRIS to hold its approval first, so a merchant app reaches the network through a licensed acquirer or gateway rather than joining it. Xendit, Midtrans and DOKU each put QRIS, virtual accounts, e-wallets and cards behind one API and one notification endpoint. Integrating banks directly over SNAP suits a business that already banks with them, at the price of a separate integration, credential set and test cycle per bank.

QRIS pricing is regulated. BI's rules say the merchant discount rate (MDR) is borne by the merchant and may not be charged to the customer. Under the table in force from March 2025, micro merchants pay 0% up to Rp500,000 and 0.3% above, other regular merchants 0.7%, education 0.6% and fuel stations 0.4%. From 1 October 2026, BI extended 0% to small, medium and large merchants for transactions up to Rp100,000. BI's QRIS page still showed a flat 0.7% for those merchants on 12 October 2026, so keep merchant category and thresholds in configuration, not code. Gateway fees for each method are on the fee comparison page.

### Webhooks, idempotency and reconciliation

Payment is confirmed asynchronously, and every gateway documents duplicate notifications. Midtrans signs each one as SHA512 of order_id, status_code, gross_amount and the server key, retries failed deliveries up to five times across roughly 2 to 210 minutes, and warns that a settlement can arrive before its pending notification. Xendit authenticates with an x-callback-token header, retries up to six times with exponential backoff and guarantees no order. The common rule: verify the sender, return 2xx quickly, and make processing idempotent on the provider's payment or order ID.

Reconciliation is a separate job, because money lands after the webhook. Xendit lists QRIS settlement at T+1 business days and notes that QRIS refunds depend on the issuer: GoPay accepts only full refunds. Customers can generally dispute a QRIS payment through their issuer within 90 days. Store the provider reference on the invoice row so each settlement line can be matched.

### Recurring billing on push rails

QRIS and virtual accounts are push payments: the customer starts every transfer, and Xendit marks neither as supporting merchant-initiated transactions. Scheduled charges need something tokenised. Cards qualify, as do linked e-wallets: Xendit lists saved, merchant-initiated payments for OVO, DANA, ShopeePay and a GoPay recurring channel that needs extra activation. Midtrans's Subscription API accepts only credit_card and gopay, in IDR, and by default retries a failed charge three times, an hour apart. DOKU documents a recurring direct-debit scheme for BRI.

Everyone else renews by invoice: a fresh QRIS code or virtual account each cycle, sent before the period ends, with the webhook extending access. Model past-due and grace states explicitly, because the usual failure is a customer who has not paid yet, not a decline you can retry.

### Handling rupiah amounts

Providers disagree on how an amount looks on the wire. Midtrans types gross_amount as an integer in its request schema but returns it as a two-decimal string such as 275000.00. Xendit publishes per-channel ranges, from Rp1 to Rp10,000,000 for QRIS. Store rupiah as integers, parse every provider string explicitly at the boundary, and keep the gross amount, the fee and the settled amount in separate fields, because the settled sum will not equal the invoice total.

## Payment methods for Indonesian apps: how each one integrates

| Method | How the customer pays | What your backend handles | Charge without the customer? | Limits and settlement (Xendit's published figures) |
| --- | --- | --- | --- | --- |
| QRIS (dynamic, merchant-presented) | Scans the code with any bank or e-wallet app registered as a QRIS issuer | Request a QR from the gateway, render it, confirm payment by webhook | No. The customer approves every payment | Bank Indonesia cap of Rp10,000,000 per transaction; settles T+1 business days |
| Virtual account (bank transfer) | Transfers to an issued account number by mobile banking, internet banking or ATM | Create the VA number and wait for the payment notification; SNAP defines the bank-side VA APIs | No. A VA number can be reusable, but the customer still sends each transfer | BCA VA: Rp10,000 to Rp50,000,000; settles T+1 business days |
| E-wallet (GoPay, OVO, DANA, ShopeePay) | Approves in the wallet app after a redirect or deeplink; OVO also by push notification | Create a payment request and redirect, or link the account once and keep a token | Yes, after account linking; GoPay's recurring channel needs extra activation | Up to Rp20,000,000 (OVO, DANA, ShopeePay) or Rp50,000,000 (GoPay recurring); T+1 to T+2 days |
| Card (credit or debit) | Enters card details and completes the issuer's authentication | Tokenise the card on the first payment, then charge the saved token | Yes, once the card is tokenised | Rp5,000 to Rp200,000,000; settles T+2 business days |
| Direct debit (linked bank account) | Links a debit card or account once, then confirms payments with OTP or PIN | Bind the account, store the token, charge through the provider | Only on a recurring scheme: DOKU lists BRI; its other banks ask for OTP or PIN each time | Not listed by Xendit for Indonesia; DOKU documents Allo Bank, BRI and CIMB |
| Retail outlet (Alfamart, Indomaret) | Pays cash at the counter with a payment code | Generate the code and wait for the payment notification | No | Alfamart: Rp10,000 to Rp5,000,000; code valid 48 hours; settles T+5 business days |

Limits and settlement times come from Xendit's channel pages (QRIS, BCA Virtual Account, GoPay, OVO, DANA, ShopeePay, Cards, Alfamart), read on 12 October 2026, except the QRIS cap, which is Bank Indonesia's, and direct debit, which is from DOKU's SNAP direct-debit guide. Other gateways publish their own limits. Fees for each method are on the payment-gateway fee comparison page.

## Timeline

- **17 August 2019: QRIS launched as the national QR standard.** Every payment QR code had to follow QRIS from 31 December 2019, so one code is payable from any registered issuer's app. Source: [Bank Indonesia: Quick Response Code Indonesian Standard (QRIS)](https://www.bi.go.id/id/fungsi-utama/sistem-pembayaran/ritel/kanal-layanan/qris/default.aspx)
- **16 August 2021: SNAP regulation issued: PADG 23/15/PADG/2021.** Payment providers had to move existing APIs onto SNAP by 30 June or 31 December 2022 and integrate their service users by 30 June 2024, so bank payment APIs now share one signing and response-code contract. Source: [Bank Indonesia: PADG 23/15/PADG/2021 on the national payment Open API standard](https://www.bi.go.id/id/publikasi/peraturan/Pages/PADG_231521.aspx)
- **21 December 2021: BI-FAST goes live.** Real-time interbank credit transfers run 24/7, starting with individual transfers, which matters for refunds and payouts that leave by bank transfer. Source: [Bank Indonesia: BI Launches Bank Indonesia Fast Payment (23/334/DKom)](https://www.bi.go.id/en/publikasi/ruang-media/news-release/Pages/sp_2333421.aspx)
- **8 May 2023: Indonesia-Malaysia QR payment linkage launched commercially.** Customers of participating institutions can pay by scanning QRIS or DuitNow QR codes in either country. Source: [Bank Negara Malaysia: Commercial launch of the Indonesia-Malaysia cross-border QR payment linkage](https://www.bnm.gov.my/-/qrpay_launch_bnm_bi_en)
- **1 September 2023: ASPI takes over SNAP management.** ASPI now runs the SNAP Developer Site, verification and updates to the standard, so the current specification documents are published there rather than on bi.go.id. Source: [Bank Indonesia: Mulai 1 September 2023 Pengelolaan SNAP Dilakukan oleh ASPI (25/240/DKom)](https://www.bi.go.id/id/publikasi/ruang-media/news-release/Pages/sp_2524023.aspx)
- **17 November 2023: Indonesia-Singapore QR payment linkage launched.** Customers of participating institutions scan QRIS or NETS QR codes with their existing mobile banking apps in either country. Source: [Bank Indonesia: Launch of Cross-border QR Payments Linkage between Indonesia and Singapore (25/310/DKom)](https://www.bi.go.id/en/publikasi/ruang-media/news-release/Pages/sp_2531023.aspx)
- **14 March 2025: QRIS Tap launch; public-service merchants move to 0%.** BI set this date for launching QRIS Tap, NFC payment without scanning, and for moving BLU and PSO merchants' QRIS pricing from 0.4% to 0%. Source: [Bank Indonesia: Siaran Pers Hasil RDG Februari 2025 (27/36/DKom)](https://www.bi.go.id/id/publikasi/ruang-media/news-release/Pages/sp_273625.aspx)
- **17 August 2026: Indonesia Credit Card launched on QRIS.** A domestically processed credit card, issued by eight providers at launch, is spent through QRIS by scan or tap, so it reaches merchants through their existing QRIS acceptance. Source: [Bank Indonesia: Indonesia Credit Card and 0% MDR Policy (28/159/DKom)](https://www.bi.go.id/en/publikasi/ruang-media/news-release/Pages/sp_2815926.aspx)
- **1 October 2026: 0% QRIS MDR extended to all merchants up to Rp100,000.** Small, medium and large merchants pay 0% on QRIS transactions up to Rp100,000, down from 0.7%, while micro merchants keep 0% up to Rp500,000. Expected-fee checks in reconciliation need the new threshold. Source: [Bank Indonesia: Indonesia Credit Card and 0% MDR Policy (28/159/DKom)](https://www.bi.go.id/en/publikasi/ruang-media/news-release/Pages/sp_2815926.aspx)

## Go deeper: the articles behind this guide

### Choosing and wiring a gateway

- [Xendit vs Midtrans: Which Payment Gateway to Pick in Indonesia](https://www.matthewswong.com/en/blog/xendit-vs-midtrans-payment-gateway-indonesia/): Read this when you are choosing between Xendit and Midtrans and want the developer-experience and payout differences
- [Integrating Midtrans Snap Payments into a Next.js App](https://www.matthewswong.com/en/blog/midtrans-payment-gateway-integration-nextjs/): Read this when you are adding Midtrans Snap checkout and its signed webhook to a Next.js app
- [Dynamic QRIS Payment Integration in Node.js: The Complete Guide](https://www.matthewswong.com/en/blog/qris-dynamic-payment-integration-nodejs/): Read this when you need a dynamic QRIS flow in Node.js, from the charge call to the webhook
- [Indonesia SNAP API & QRIS Cross-Border: Developer Guide to Open Banking Integration](https://www.matthewswong.com/en/blog/indonesia-open-banking-snap-api-qris-developer-guide/): Read this when you are integrating a bank's SNAP API directly and need the authentication and signing flow

### Billing, pricing and the card gap

- [The Credit Card Wall Blocking Indonesian Developers](https://www.matthewswong.com/en/blog/credit-card-wall-indonesian-developers-qris/): Read this when your product bills by card and you want to know who that excludes
- [SaaS Recurring Billing in Indonesia: Midtrans and Xendit](https://www.matthewswong.com/en/blog/saas-recurring-billing-midtrans-xendit-qris-indonesia/): Read this when you are building subscriptions for customers who pay by QRIS or e-wallet
- [Micro-SaaS Pricing for Indonesia: IDR Pricing That Converts](https://www.matthewswong.com/en/blog/micro-saas-pricing-indonesia-idr/): Read this when you are setting rupiah price tiers for small Indonesian businesses
- [WhatsApp Invoice Reminder SaaS: Build It for Indonesia](https://www.matthewswong.com/en/blog/whatsapp-invoice-reminder-saas-indonesia/): Read this when renewals depend on invoices and payment links sent over WhatsApp

### Webhooks, idempotency and money correctness

- [Designing Reliable Webhooks: Retries, Signing, and Replay](https://www.matthewswong.com/en/blog/webhooks-reliable-delivery-design/): Read this when you need signing, retries and replay for the webhooks you send or receive
- [Idempotency Keys: Designing APIs That Survive Retries](https://www.matthewswong.com/en/blog/idempotency-keys-api-design/): Read this when a timeout followed by a retry could charge a customer twice
- [The Idempotent Consumer Pattern for Message Queues](https://www.matthewswong.com/en/blog/idempotent-consumer-pattern-message-queue/): Read this when payment events reach you through a queue that delivers at least once
- [Design a Payment System: Ledger, Idempotency, Reconciliation](https://www.matthewswong.com/en/blog/design-payment-system-ledger-reconciliation/): Read this when you are designing the ledger and the daily reconciliation against settlement reports
- [Why We Store Money as Integer Rupiah, Never Float](https://www.matthewswong.com/en/blog/integer-money-idr-avoid-float-errors/): Read this when you are deciding how to store rupiah amounts in the database

### In-store payments and ERP

- [Idempotency Keys That Stop a POS From Double-Charging](https://www.matthewswong.com/en/blog/pos-payment-settlement-idempotency-keys/): Read this when a POS tablet on a weak connection might settle the same payment twice
- [Designing POS Cash-Session Reconciliation in an ERP](https://www.matthewswong.com/en/blog/pos-cash-session-reconciliation-design/): Read this when cash and digital payments must balance at the end of every shift
- [Building a POS + Mobile ERP for an Indonesian Carwash SME](https://www.matthewswong.com/en/blog/building-pos-mobile-indonesian-sme-carwash/): Read this when you want a worked example of a POS and mobile ERP for an Indonesian SME
- [Quote-to-Cash in ERP: Quotation to Invoice to Payment](https://www.matthewswong.com/en/blog/erp-quotation-to-cash-sales-workflow/): Read this when payments have to be matched to invoices inside an ERP

## FAQ

### What is the difference between static and dynamic QRIS?

A static QRIS is one printed code: the customer scans it and types the amount. A dynamic QRIS is generated after the merchant sets the amount, so each code carries one transaction's value. Bank Indonesia caps a QRIS payment at Rp10,000,000. For apps and online checkouts, dynamic QRIS lets a webhook match each payment to its order without manual checking.

### Do I need to implement SNAP if I use Xendit, Midtrans or DOKU?

Not necessarily. SNAP, set by PADG 23/15/PADG/2021, binds licensed payment providers, and a gateway's own API can sit in front of it. You write SNAP signatures and headers yourself when you integrate a bank's SNAP API directly or choose a gateway's SNAP endpoints, which DOKU documents alongside its non-SNAP API.

### Can I charge a customer automatically every month with QRIS?

No. QRIS and virtual accounts need the customer to start each payment, and Xendit marks neither channel as supporting merchant-initiated transactions. Automatic renewals need a tokenised instrument: a card, a linked e-wallet such as OVO, DANA, ShopeePay or GoPay's recurring channel, or a recurring direct-debit scheme such as DOKU's for BRI. For QRIS customers, send a fresh payment request each cycle.

### What is the QRIS MDR in October 2026, and can I pass it on to customers?

From 1 October 2026, Bank Indonesia applies 0% to micro merchants for transactions up to Rp500,000 and to small, medium and large merchants for transactions up to Rp100,000. Above those thresholds, BI's table lists 0.3% for micro merchants and 0.7% for other regular merchants, with special rates such as 0.6% for education and 0.4% for fuel stations. BI's rules say the MDR is borne by the merchant and may not be charged to the customer.

### How should I store rupiah amounts in my database?

Store them as integers of rupiah and convert at the API boundary. Midtrans types gross_amount as an integer in requests but returns it as a two-decimal string such as 275000.00, so parse provider amounts explicitly instead of trusting a float. Keep the gross amount, the MDR or gateway fee and the settled amount in separate fields so reconciliation balances.

## Sources

- [Bank Indonesia: Quick Response Code Indonesian Standard (QRIS)](https://www.bi.go.id/id/fungsi-utama/sistem-pembayaran/ritel/kanal-layanan/qris/default.aspx)
- [Bank Indonesia: Merchant Discount Rate (MDR) QRIS](https://www.bi.go.id/id/publikasi/ruang-media/cerita-bi/Pages/mdr-qris.aspx)
- [ASPI SNAP Developer Site: Virtual Account specification](https://apidevportal.aspi-indonesia.or.id/api-services/transfer-kredit/virtual-account)
- [DOKU Docs: SNAP symmetric signature](https://developers.doku.com/get-started-with-doku-api/signature-component/snap/symmetric-signature)
- [Midtrans Docs: HTTP(S) notification and webhooks](https://docs.midtrans.com/docs/https-notification-webhooks)
- [Midtrans Docs: QRIS charge reference](https://docs.midtrans.com/reference/qris)
- [Midtrans Docs: Create Subscription](https://docs.midtrans.com/reference/create-subscription)
- [Xendit Docs: Handling webhooks](https://docs.xendit.co/docs/handling-webhooks)
- [Xendit Docs: QRIS channel features, settlement and refunds](https://docs.xendit.co/docs/qris)
- [World Bank Global Financial Development Database: credit card ownership, Indonesia (GFDD.AI.20)](https://api.worldbank.org/v2/country/IDN/indicator/GFDD.AI.20?format=json&source=32)

---

- HTML version: https://www.matthewswong.com/en/indonesia/payments/
- Bahasa Indonesia: https://www.matthewswong.com/id/indonesia/payments/
- Site index for agents: https://www.matthewswong.com/llms.txt
- Sitemap: https://www.matthewswong.com/sitemap.xml
- API description (OpenAPI): https://www.matthewswong.com/openapi.json
