Skip to main content

Integrating into an OnRamp Aggregator

The OnRamp Aggregator API lets developers get a quote for the fees and an exchange rate for a buy. Then it initializes Coinbase Pay with the appropriate parameters to execute that buy.

ParameterReqdTypeDescription
quoteIdYesStringID of the quote. Received from Buy Quote.
defaultAssetYesStringUUID of asset.

Received from Buy Options and sent to Buy Quote.
defaultNetworkNoStringDefault network that should be selected when multiple networks are present. When not set, default is the asset network.

Received from Buy Options and sent to Buy Quote.
defaultPaymentMethodYesStringDefault payment method, one of:
  • CRYPTO_ACCOUNT
  • FIAT_WALLET
  • CARD
  • ACH_BANK_ACCOUNT
  • APPLE_PAY
Received from Buy Options and sent to Buy Quote.
fiatCurrencyYesStringTicker symbol of the fiat currency.
presetFiatAmountYesNumberAmount to be spent on the crypto purchase, fees included.

Was this helpful?