---
title: "Get Stripe Authorize (Redirect URL)"
method: GET
path: "/vendor/integrations/stripe/authorize"
tags: ["Integrations"]
---

# Get Stripe Authorize (Redirect URL)

`GET /vendor/integrations/stripe/authorize`

Contacts Stripe Oauth to get token and saves payment method to DB
HTML page is used to send a stripe authorization token back to the window opener.
``` window.opener.postMessage({  "access_token":"...",
  "livemode":false,
  "refresh_token":"...",
  "token_type":"bearer",
  "stripe_publishable_key":"...",
  "stripe_user_id":"...",
  "scope":"read_write"
}, "*") ```

## Query parameters

- `code` string
- `state` string

## Response `200`

Success

- string

---

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