getByToken

Get the specified payment instrument of the customer.

Parameters

paymentToken

The payment token of the payment instrument to fetch.

publicKey

A public key used to encrypt sensitive instrument data and include that encrypted data in the response sent back to the consumer.

abstract fun getByToken(paymentToken: String, publicKey: String?): ApiResult<IndividualPaymentInstrument>