---
title: "Stripe Connect OAuth redirect target"
method: GET
path: "/credits/connect/stripe/callback"
tags: ["Ledger"]
---

# Stripe Connect OAuth redirect target

`GET /credits/connect/stripe/callback`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/connect/stripe/callback`
- Auth: none required

Stripe redirects the browser here after consent. Authorization comes from the signed state parameter rather than an Authorization header, so this route is deliberately public — do not call it yourself. It always answers with a 302 back to the dashboard, carrying connected=1 on success or connect_error=<code> on failure or cancellation.

## Query parameters

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

## Other responses

- `302`: Redirect to the dashboard with connected=1 or connect_error=<code>.

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
