DeepLink — Card Settlement
Sends a Card Settlement intent (transactionType: 5) to the RM Merchant App to settle card transactions via DeepLink.
When to Use
▾
Use this DeepLink when:
- End-of-day settlement for card transactions on the terminal
- Closing the daily card batch from your custom app
How to Use
▾
Send an Intent("REVENUE_MONSTER_PAYMENT") with transactionType: 5. No order details required — settlement applies to all card transactions in the open batch.
1val i = Intent("REVENUE_MONSTER_PAYMENT").apply {2 putExtra("packageName", packageName)3 putExtra("receiverName", <<YOUR_ACTIVITY>>::class.java.name)4 putExtra("transactionType", 5)5}6startActivity(i)
Response
▾
val jsonString = intent?.getStringExtra("result")
"SUCCESS" if the settlement succeeded, otherwise an error code.
Error details
Error code if the request failed.
Error message if the request failed.
Debug message (sandbox only).
Settlement summary
Terminal settlement sequence number
Settlement currency type (currently supported MYR only)
Count of settled transactions
Date and time of settlement
Total sales amount in cents
transactions[*] details
Transaction amount in cents
Transaction currency type
Transaction date and time
Transaction ID
Transaction type