Skip to main content

Confirm Payment


Method#

This method attaches payment information to a specific order. A payment transaction identifier or reference is required to complete this action.

suspend fun confirmPayment(confirmPaymentBody: ConfirmPaymentBody, orderId: String): ConfirmPaymentResponse

Request Model#

Represents the structure of the ConfirmPaymentBody object required to confirm payment.

data class ConfirmPaymentBody(    val transactionId: String?,     val time: String,     val payableAmount: String?)