Example: Sale Request Flow
Was this section helpful?
On this page
- Example: Sale Request Flow
Enters 50.00 as amount.
onSaleClicked = {
val requestMsg = RequestMsg(
msgType = MsgType.SALE,
amount = 50.00,
currency = "USD",
etc.
)
sdk.sendRequestMessage(requestMsg)
}{
"status": "approved",
"transactionId": "TXN123",
"amount": 50.00
}