create Payment
abstract suspend fun createPayment(request: WalletCheckoutPaymentCreate): WalletCheckoutPaymentResponse
Creates a payment transaction for an active checkout session. This sets the payment status to PENDING and initiates the transfer from the customer's wallet to the merchant.
Return
A WalletCheckoutPaymentResponse object containing the details of the created payment.
Parameters
request
The request object containing necessary information to create the payment.