# basic-app API

OpenAPI 3.1 · 11 operations · specification

## `POST` /api/webhooks/payment

Payment completed

Sent after a payment reaches its settled state.

Webhook event: `payment.completed` · signature: `x-payment-signature`

app/api/webhooks/payment.ts

## `GET` /api/users/csr

getUsersCsr

app/api/users/csr.ts

## `GET` /api/users/ssr

getUsersSsr

app/api/users/ssr.ts

## `POST` /api/graphql-example

postGraphqlExample

app/api/graphql-example.ts

## `POST` /api/typed-user

postTypedUser

Validate and echo a typed user payload.

app/api/typed-user.ts

## `POST` /api/logout

postLogout

app/api/logout.ts

## `GET` /api/hello

getHello

app/api/hello.ts

## `POST` /api/login

postLogin

app/api/login.ts

## `GET` /api/echo

getEcho

app/api/echo.ts

## `POST` /api/echo

postEcho

app/api/echo.ts

## `GET` /api/me

getMe

app/api/me.ts