stripe Endpoints
All endpoints for the stripe API group. Great for feeding into an LLM context.
/v1/stripe/public/auth/callback
Stripe Auth Callback
Handles the OAuth2 callback from Stripe Apps. Exchanges the authorization code for Stripe Connect tokens, optionally verifies the install signature if provided, and stores credentials. Supports both Valstorm-led flows and Stripe-led Redirect-to-Claim flows.
Parameters
code
user_id
account_id
stripe_user_id
install_signature
livemode
state
error
valstorm_user_id
valstorm_org_id
Responses
200Stripe auth callback received successfully
{
"$ref": "#/components/schemas/StripeAuthCallbackResponse"
}400Invalid request data
{
"$ref": "#/components/schemas/StripeAuthErrorResponse"
}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}/v1/stripe/public/webhook
Stripe Webhook
Receives and routes Stripe Connect/App webhook events.
Responses
200Successful Response
{}404Not found
/v1/stripe/fetch
Stripe Fetch Proxy
Authenticated generic proxy endpoint that maps API requests to standard multi-tenant Stripe operations in PlatformContext.
Request Body
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StripeFetchRequest"
}
}
},
"required": true
}Responses
200Successful Response
{}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}/v1/stripe/sync/historical
Trigger Historical Sync
Authenticated endpoint that enqueues a background task to sync all historical Stripe Products, Prices, Customers, Invoices, and nested Line Items from scratch.
Responses
200Successful Response
{}404Not found
/v1/stripe/auth/login
Login Stripe
Initiates the Stripe OAuth / App installation flow by generating a unique state, storing it in Redis, and redirecting the user to the installation link.
Responses
200Successful Response
{}404Not found
/v1/stripe/auth/claim
Claim Stripe Credentials
Claims previously cached Stripe credentials using a secure claim token and links them to the logged-in Valstorm user's database.
Request Body
{
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/StripeClaimRequest"
}
}
},
"required": true
}Responses
200Successful Response
{}404Not found
422Validation Error
{
"$ref": "#/components/schemas/HTTPValidationError"
}