Checkout Request
data class CheckoutRequest(val merchantOrderId: String, val amount: Double, val currency: String = "SAR", val customerName: String, val customerEmail: String, val customerPhone: String, val successUrl: String = DEFAULT_SUCCESS_URL, val failureUrl: String = DEFAULT_FAILURE_URL) : Serializable
The data needed to start a hosted checkout session.
successUrl / failureUrl are the URLs the hosted payment page redirects to once the payment finishes. The SDK watches for these URLs inside the WebView to decide the outcome, so they must be unique and stable (any https URL works).