---
title: "Checkout Onramp Session"
method: POST
path: "/onramp/sessions/{session_id}/checkout"
tags: ["onramp"]
---

# Checkout Onramp Session

`POST /onramp/sessions/{session_id}/checkout`

Checkout a headless Stripe embedded onramp session and return the checkout client secret required by the Stripe embedded component. The session is resolved to the stored Link OAuth token server-side.

## Path parameters

- `session_id` string, required

## Headers

- `X-API-KEY` string, required

## Response `200`

onramp checkout client secret created

- OnrampCheckoutResponse
  - `client_secret` string, required

## Other responses

- `400` — onramp session ID is required
- `401` — Unauthorized
- `404` — onramp session not found
- `500` — Failed to checkout onramp session

---

[API](https://skmtc.net/coinvoyage/apis/coinvoyage-api-v3.md) · [All operations](https://skmtc.net/coinvoyage/apis/coinvoyage-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/coinvoyage/coinvoyage-api-v3/revisions/f3a3056f2c83/schema)
