---
title: "Stripe Checkout"
method: POST
path: "/api/cp/setup/payment/stripe/checkout"
tags: ["Setup Payment"]
---

# Stripe Checkout

`POST /api/cp/setup/payment/stripe/checkout`

Stripe Checkout

## Request body

- SetupPaymentInput
  - `id` integer — Id
  - `account_id` integer — Account Id (references account.id)
  - `payment_time` string, date-time, required — Payment Time
  - `desc` string, required — Desc
  - `amount` number, required — Amount
  - `payment_id` string — Payment Id
  - `charge_id` string — Charge Id
  - `xero_invoice_id` string — Xero Invoice Id
  - `gbp_amount` number — Gbp Amount

## Response `200`

Successful response

- unknown

## Other responses

- `400` — Bad Request - Invalid parameters or request body
- `401` — Authentication information is missing or invalid
- `403` — Access denied - insufficient permissions or dependency access failure
- `404` — Resource not found
- `409` — Conflict - foreign key or unique constraint violation on write
- `500` — Internal server error

---

[API](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api.md) · [All operations](https://skmtc.dev/connexcs/apis/connexcs-control-panel-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/connexcs/connexcs-control-panel-api/revisions/54bc2ed6edae/schema)
