makePayment

Make a payment for a CustomerPaymentRequest

Parameters

challengeResponses

Used when needing to complete challenge(s) to complete payment.

clientReference

An optional client reference to be associated with the transaction.

paymentRequestId

The CustomerPaymentRequest to pay for.

preferences

Optional payment preferences.

primaryInstrument

The primary (or only) instrument to use to make the payment. If not present then the primary instrument from the customer preferences will be used.

secondaryInstruments

Other payment instruments to use to split payment.

abstract fun makePayment(paymentRequestId: String, primaryInstrument: String?, secondaryInstruments: List<SecondaryPaymentInstrument>?, clientReference: String?, preferences: PaymentPreferences?, challengeResponses: List<ChallengeResponse>?): ApiResult<CustomerTransactionSummary>