DeepLink — Quick Pay
Sends a Quick Pay intent (transactionType: 1) to the RM Merchant App to accept e-wallet QR payments via DeepLink.
When to Use
▾
Use this DeepLink when:
- Your Android app needs to delegate QR payment to the RM Merchant App
- Accepting in-store e-wallet payments from a custom terminal app
How to Use
▾
Send an Intent("REVENUE_MONSTER_PAYMENT") with transactionType: 1 and the order details. The RM Merchant App handles the payment and returns the result.
QuickPay.kt
Kotlin
1val i = Intent("REVENUE_MONSTER_PAYMENT").apply {2 putExtra("packageName", packageName)3 putExtra("receiverName", <<YOUR_ACTIVITY>>::class.java.name)4 putExtra("transactionType", 1)5 putExtra("orderId", System.currentTimeMillis().toString())6 putExtra("orderTitle", "Intent Demo")7 putExtra("amount", 10)8 putExtra("printReceipt", false)9}10startActivity(i)
Response
▾
Response.kt
Kotlin
val jsonString = intent?.getStringExtra("result")
Transaction response object
"SUCCESS" if the payment succeeded, otherwise an error code.
Error details
Error code if the request failed.
Error message if the request failed.