Create an onramp mobile session
Verifies the platform attestation for a challenge issued by Create Onramp Mobile Challenge and returns a ready-to-use onramp URL. The URL embeds the session token as a query parameter so the Coinbase app can populate the handoff screen immediately on launch.
This endpoint is idempotent on the challenge token: if the same challenge is submitted again (e.g. due to a lost response), the server returns the original session URL rather than an error.
Provide exactly one platform payload: ios (App Attest assertion) or android (Play Integrity token).
Body
- iOS
- Android
Request body for creating an onramp mobile session.
The challenge returned by the Create Onramp Mobile Challenge endpoint. Must be passed back exactly as received — do not decode or modify.
16 - 2048"MWYwNWQwODktZTZlYy02OTdlLTgzZTYtMTI3NzcyOWJhNjM3"
iOS App Attest assertion payload for verifying a signed challenge.
Android Play Integrity Standard API payload for verifying a signed challenge.
Response
Onramp mobile session created successfully.
An onramp session containing a ready-to-use onramp URL.