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

# getOnRampConfig

> Fetches partner-level on-ramp and off-ramp configuration

async

Fetches partner on-ramp and off-ramp configuration, including feature flags, default catalog asset, and inline Apple Pay providers.

Copy method signature

### Returns

`OnRampConfigV2`

Partner configuration with `isBuyEnabled`, `isWithdrawEnabled`, `isReceiveEnabled`, `isSendEnabled`, `onRampSelectionMode`, `defaultOnRampAssetImplementation`, `defaultBuyAmount`, `inlineApplePayProviders`, `reusableKycEnabled`, and optional `rampApiKey`.

## Usage

Fetch your API key's enabled ramp flags, default catalog asset, and inline Apple Pay providers before rendering buy or sell UI.

```typescript theme={null}
const config = await para.getOnRampConfig({ walletTypes: ["EVM", "SOLANA"] });

if (config.isBuyEnabled) {
  console.log("Default asset:", config.defaultOnRampAssetImplementation?.symbol);
}
```

```typescript Signature theme={null}
getOnRampConfig(params?: { walletTypes?: (TWalletType | string)[] }): Promise<OnRampConfigV2>
```

> [!NOTE]
>
> When called from mobile Android clients, `inlineApplePayProviders` excludes `CDP` because Coinbase headless Apple Pay is iOS-only.


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