---
title: "Start saving a card to the org (off-session) — returns the Airwallex client_secret + env."
method: POST
path: "/v1/payment_methods/create_setup_intent"
tags: ["resource-facade"]
---

# Start saving a card to the org (off-session) — returns the Airwallex client_secret + env.

`POST /v1/payment_methods/create_setup_intent`

## Headers

- `x-api-key` string, nullable

## Request body

- SetupIntentInput

## Response `200`

Successful Response

- SetupIntentOutput
  - `client_secret` string, required
  - `setup_intent_id` string, required
  - `customer_id` string, required
  - `env` string, required

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `422` — Validation Error
- `500` — Internal Server Error

---

[API](https://skmtc.dev/geopera/apis/geopera-data-platform.md) · [All operations](https://skmtc.dev/geopera/apis/geopera-data-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/geopera/geopera-data-platform/revisions/cb0130b2a40a/schema)
