> ## Documentation Index
> Fetch the complete documentation index at: https://primer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# getPaymentMethodAssets

> [!WARNING]
>
> This method is **deprecated**.
> Use [getPaymentMethodResources](https://primer.io/docs/sdk/react-native/v2.x.x/primer-headless-checkout/assets-manager/getPaymentMethodResources.md) instead.

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

```typescript TYPESCRIPT theme={"dark"}
async getPaymentMethodAssets(): Promise<Asset[]>
```

## Returns

**Returns**

**Asset\[]**

**Asset**

**paymentMethodType** `string` *required*

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

**paymentMethodName** `string` *required*

A user friendly English localized string identifier for the payment method

**paymentMethodLogo** `object`

**colored?** `string`

**dark?** `string`

**light?** `string`

**paymentMethodBackgroundColor** `object`

**colored?** `string`

**dark?** `string`

**light?** `string`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.