⚠️
This method is deprecated. Use getPaymentMethodResource instead.
Call this method to retrieve assets for a given paymentMethodType
.
1
async getPaymentMethodAsset(paymentMethodType: string): Promise<Asset>
typescript
copy
Parameters
paymentMethodType
StringRequiredReturns
Asset
paymentMethodType
stringRequiredA unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodLoad
callback.
paymentMethodName
stringRequiredpaymentMethodLogo
object