> ## 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](/docs/sdk/react-native/v2.x.x/primer-headless-checkout/assets-manager/getPaymentMethodResources) instead.
</Warning>

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

<Expandable title="Returns" defaultOpen>
  <ResponseField name="Asset[]">
    <Expandable title="Asset">
      <ResponseField name="paymentMethodType" type="string" required>
        A unique string identifier for the payment method. Supported payment methods for current client session are returned in `onAvailablePaymentMethodLoad` callback.
      </ResponseField>

      <ResponseField name="paymentMethodName" type="string" required>
        A user friendly English localized string identifier for the payment method
      </ResponseField>

      <ResponseField name="paymentMethodLogo" type="object">
        <Expandable>
          <ResponseField name="colored?" type="string" />

          <ResponseField name="dark?" type="string" />

          <ResponseField name="light?" type="string" />
        </Expandable>
      </ResponseField>

      <ResponseField name="paymentMethodBackgroundColor" type="object">
        <Expandable>
          <ResponseField name="colored?" type="string" />

          <ResponseField name="dark?" type="string" />

          <ResponseField name="light?" type="string" />
        </Expandable>
      </ResponseField>
    </Expandable>
  </ResponseField>
</Expandable>
