Coinbase Server Wallet icon

Coinbase Server Wallet

Interact with Coinbase Server Wallet API v2 (EVM & Solana)

Actions61

Onramp → Create Onramp Order

AI-generated

Summary

Create an onramp order for purchasing crypto using Coinbase's API.

Inputs

  • agreementAcceptedAt (required) — The timestamp of when the user accepted the Coinbase Terms and User Agreement.
  • destinationAddress (required) — The address where the purchased crypto will be sent.
  • destinationNetwork (required) — The crypto network the purchased currency will be sent on.
  • email (required) — The verified email address of the user requesting the onramp transaction.
  • isQuote — If true, this API will return a quote without creating a transaction.
  • partnerOrderRef — Optional partner order reference ID.
  • partnerUserRef (required) — A unique string representing the user in your app.
  • paymentAmount — The amount of fiat the user wishes to pay in exchange for crypto.
  • paymentCurrency (required) — The fiat currency to be converted to crypto.
  • paymentMethod (required) — The type of payment method to be used.
  • phoneNumber (required) — The phone number of the user requesting the onramp transaction.
  • phoneNumberVerifiedAt (required) — Timestamp of when the user's phone number was verified via OTP.
  • purchaseAmount — The amount of crypto the user wishes to purchase.
  • purchaseCurrency (required) — The ticker or UUID of the crypto asset to be purchased.
  • clientIp — The IP address of the end user requesting the transaction.
  • domain — The domain that the payment button will be rendered on.
  • requestOptions — Additional options for the request.

Output shape

a single record

Return the details of the created onramp order.

Discussion