---
title: "Setup Payment Method"
method: POST
path: "/workspaces/{workspace_id}/setup_payment_method"
tags: ["Payment"]
---

# Setup Payment Method

`POST /workspaces/{workspace_id}/setup_payment_method`

## Request

- Base URL: `https://public.outreach2day.com`
- URL: `https://public.outreach2day.com/workspaces/{workspace_id}/setup_payment_method`
- Auth: HTTP bearer

Get a Stripe Checkout URL to add/update payment method for the workspace.
Returns a URL where the user can securely enter card details.

## Path parameters

- `workspace_id` integer, required

## Response `200`

Successful Response

- unknown

## Other responses

- `402`: Payment required. Create a quote (POST /v2/quotes), show it to the human and let them pay on the Stripe page; nothing was charged.
- `422`: Validation Error

---

[API](https://skmtc.dev/outreach2day/apis/outreach-today-public-api.md) · [All operations](https://skmtc.dev/outreach2day/apis/outreach-today-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/outreach2day/apis/outreach-today-public-api/revisions/6c02339eef43?raw)
