DeepLink — Void Transaction
Sends a Void Transaction intent (transactionType: 3) to the RM Merchant App to void a card transaction via DeepLink.
When to Use
▾
Use this DeepLink when:
- Voiding a card transaction before settlement
- Reversing an erroneous charge same-day
How to Use
▾
Send an Intent("REVENUE_MONSTER_PAYMENT") with transactionType: 3, the transactionId to void, and authentication (email, pin).
VoidTransaction.kt
Kotlin
1val i = Intent("REVENUE_MONSTER_PAYMENT").apply {2 putExtra("packageName", packageName)3 putExtra("receiverName", <<YOUR_ACTIVITY>>::class.java.name)4 putExtra("transactionType", 3)5 putExtra("transactionId", "240620034957010325054813")6 putExtra("reason", "Wrong Order")7 putExtra("email", "[email protected]")8 putExtra("pin", "456789")9 putExtra("printReceipt", false)10}11startActivity(i)
Response
▾
Response.kt
Kotlin
val jsonString = intent?.getStringExtra("result")
Transaction response object
"SUCCESS" if the void succeeded, otherwise an error code.
Error details
Error code if the request failed.
Error message if the request failed.