Midtrans Testing Credential


Here is a list of dummy transaction credentials that can be used for transaction in the Sandbox Environment, please make sure you not use this on Production mode. Our simulator use port 7676, Make sure you open that port for better experience.

Credit Card

General Testing Card Number (3D Secure transaction)

VISA Description
Full Authentication
Cardholder is 3DS ready
Accept Transaction: 4811 1111 1111 1114
Denied by Bank Transaction: 4911 1111 1111 1113
Attempted Authentication
Cardholder is not
enrolled for 3DS
Accept Transaction: 4411 1111 1111 1118
Challenge by FDS Transaction: 4511 1111 1111 1117
Denied by FDS Transaction: 4611 1111 1111 1116
Denied by Bank Transaction: 4711 1111 1111 1115


MASTERCARD Description
Full Authentication
Cardholder is 3DS ready
Accept Transaction: 5211 1111 1111 1117
Denied by Bank Transaction: 5111 1111 1111 1118
Attempted Authentication
Cardholder is not
enrolled for 3DS
Accept Transaction: 5410 1111 1111 1116
Challenge by FDS Transaction: 5510 1111 1111 1115
Denied by FDS Transaction: 5411 1111 1111 1115
Denied by Bank Transaction: 5511 1111 1111 1114


Bank-Specific Testing Card

Accepted 3D Secure Card
Bank Card Number
Mandiri
Full Authentication

4617 0069 5974 6656

5573 3810 7219 6900
Attempted Authentication 4617 0017 4194 2101 5573 3819 9982 5417
Mandiri Debit 4097 6658 2970 8136  
CIMB
Full Authentication

4599 2078 8712 2414

5481 1698 1883 2479
Attempted Authentication 4599 2039 9705 2898 5481 1671 2103 2563
BNI
Full Authentication

4105 0586 8948 1467

5264 2210 3887 4659
Attempted Authentication 4105 0525 4151 2148 5264 2249 7176 1016
BNI Private Label 1946 4159 8148 7684  
BCA
Full Authentication

4773 7760 5705 1650

5229 9031 3685 3172
Attempted Authentication 4773 7738 1098 1190 5229 9073 6430 3610
BRI
Full Authentication

4365 0263 3573 7199

5520 0298 7089 9100
Attempted Authentication 4365 0278 6723 2690 5520 0254 8646 8439
Maybank
Full Authentication

4055 7720 2603 6004

5520 0867 5210 2334
Attempted Authentication 4055 7713 3514 4012 5520 0867 7490 8452


Denied Card
Bank Card Number
Mandiri 4617 0085 6083 1760 5573 3840 4322 4447
Mandiri Debit 4097 6676 7217 8631  
CIMB 4599 2060 0973 3090 5481 1691 9178 2739
BNI 4105 0541 4854 1363 5264 2235 3013 1711
BNI Private Label 1946 4102 7193 1269  
BCA 4773 7752 0201 1809 5229 9034 0542 3830
BRI 4365 0299 9362 0368 5520 0219 0920 3008
Maybank 4055 7796 2846 0474 5520 0883 1465 3770


Expiry Date and CVV
Input Value
Expiry Month 01
Expiry Year 2020
CVV 123

Direct Debit

Payment Methods Description
Mandiri Clickpay Card Number: 4111 1111 1111 1111
Accept Token: 000000
Deny Token: 111111
CIMB Clicks Midtrans will redirect CIMB Clicks test transaction to a payment simulator.
Success Transaction: testuser00
Failure Transaction: testuser01
ePay BRI Midtrans will redirect ePay BRI test transaction to a payment simulator.
Success Transaction: testuser00
Failure Transaction: testuser03
BCA Klikpay Midtrans will redirect BCA Klikpay test transaction to a payment simulator.
KlikBCA Midtrans will register user id filled in KlikBCA input. To perform a test transaction, use the KlikBca Simulator.

Bank Transfer

Payment Methods Description
Permata Virtual Account Midtrans will generate a dummy Permata Virtual Account Number. To perform a test transaction, use the Permata Virtual Account Simulator.
BCA Virtual Account Midtrans will generate a dummy BCA Virtual Account Number. To perform a test transaction, use the BCA Virtual Account Simulator.
Mandiri Bill Payment Midtrans will generate a Payment Code to complete payment via Mandiri e-channel (Internet Banking, SMS Banking, Mandiri ATM). To perform a test transaction, use the Mandiri Bill Payment Simulator.

e-Wallet

Payment Methods Description
Telkomsel Cash Accept Customer: 0811111111
Deny Customer: 0822222222
XL Tunai Midtrans will generate a dummy XL Tunai Merchant Code and Order ID. To perform a test transaction, use the XL Tunai Simulator.
Indosat Dompetku Accept number: 08123456789
Deny number: other than 08123456789
Mandiri E-cash Accept number: 0987654321
PIN: 12345
OTP: 12123434

Convenience Store

Payment Methods Description
Indomaret Midtrans will generate a dummy Indomaret Payment Code. To perform a test transaction, use the Indomaret Simulator.
Kioson Midtrans will generate a dummy Kioson Payment Code. To perform a test transaction, use the Kioson Simulator.