offramp

Generate a Coinbase offramp URL for bank cashout

Generate a Coinbase hosted offramp URL to sell crypto and withdraw to a bank account.

How it works:

  1. Creates a session token bound to user's Smart Account earnings wallet
  2. Returns URL with session token embedded
  3. User completes sale in Coinbase UI
  4. Fiat is sent to user's linked bank account

Response: Returns offramp_url to redirect the user.

get/v1/offramp/url

Request

  • Base URL
    https://api.grove.city (the document declares no server; this is the origin it was published from)
  • URL
    https://api.grove.city/v1/offramp/url
  • Auth
    none declared

Query parameters

networkstring

Source blockchain network (e.g., base, base-sepolia).

tokenstring

Token to sell (e.g., USDC).

amountstring nullable

Amount to sell in token units (e.g., '1.00' for 1 USDC). Pre-fills the Coinbase UI and records on the withdrawal event.

Headers

authorizationstring nullable

Bearer JWT issued by Grove.

Response

Successful Response

offramp_urlstring required

Coinbase hosted offramp URL. Redirect user here to complete sale. Contains session token bound to user's external wallet address.

Changes

No recorded changes to this operation across all 1 revision of this API.