sale

fun sale(payment: Payment, response: Response<Transaction>? = null)(source)

Performs a sale for the given payment.

Parameters

payment

the payment to process.

response

an optional response object. success - receives the Transaction error - receives error details