v1
latestOpenAPI 3.1.02026-07-13143194365.4 KBonramp
Create an Apple Pay onramp order (v2 Headless API)
Create a Coinbase v2 headless onramp order for Apple Pay.
Returns a payment_link_url to load in an iframe/webview for Apple Pay checkout. The user never leaves the app — they tap the Apple Pay button rendered by the iframe.
Requirements:
- Account must have a verified email address
- Account must have a verified phone number (re-verified within the last 60 days)
- Account must have a Smart Account (earning wallet) on the target network
Flow:
- Frontend calls this endpoint with amount and agreement timestamp
- Backend validates identity, creates CDP v2 order, returns payment link
- Frontend loads payment_link_url in iframe
- Frontend listens for postMessage events from iframe
- On success, frontend calls POST /v1/onramp/settled with settled amount
- Existing SA→tipping transfer flow completes the deposit
See: https://docs.cdp.coinbase.com/onramp/headless-onramp/overview
post/v1/onramp/apple-pay/order
Headers
authorizationstring nullable
Bearer JWT issued by Grove.
Bearer JWT issued by Grove.
Request body
Response
Successful Response