---
title: "Stripe Connect OAuth callback"
method: GET
path: "/v1/stripe/callback"
tags: ["Stripe"]
---

# Stripe Connect OAuth callback

`GET /v1/stripe/callback`

## Request

- Base URL: `https://api.astrocal.dev`
- URL: `https://api.astrocal.dev/v1/stripe/callback`
- Auth: none required

Handles the OAuth callback from Stripe. Exchanges the authorization code for account details and stores the connection.

## Query parameters

- `code` string
- `state` string
- `error` string
- `error_description` string

## Other responses

- `302`: Redirect to dashboard, including when rate limited
- `400`: Invalid state token

---

[API](https://skmtc.dev/astrocal/apis/astrocal-api.md) · [All operations](https://skmtc.dev/astrocal/apis/astrocal-api/llms.txt) · [OpenAPI document](https://skmtc.dev/astrocal/apis/astrocal-api/revisions/3b953e19a348?raw)
