preview Payment
abstract suspend fun previewPayment(request: WalletCheckoutPaymentPreview): WalletCheckoutPaymentResponse
Previews a payment transaction for an active checkout session. This returns a preview of the payment details including fees and balance impact without committing the transaction.
Return
A WalletCheckoutPaymentResponse object containing the preview details of the payment.
Parameters
request
The request object containing necessary information to preview the payment.