⚠️

This method is deprecated. Use getPaymentMethodResources instead.

Call this method to retrieve assets for all the payment methods available on the current client session.

1
async getPaymentMethodAssets(): Promise<Asset[]>
typescript
copy

Returns

Asset
paymentMethodType
stringRequired

A unique string identifier for the payment method. Supported payment methods for current client session are returned in onAvailablePaymentMethodLoad callback.

paymentMethodName
stringRequired
A user friendly English localized string identifier for the payment method
colored?
string
dark?
string
light?
string