---
title: "Create payment record"
method: POST
path: "/v1/users/payments"
tags: ["Users"]
---

# Create payment record

`POST /v1/users/payments`

## Request

- Base URL: `https://api.chat.ethora.com`
- URL: `https://api.chat.ethora.com/v1/users/payments`
- Auth: HTTP bearer

**Auth**: User JWT

payments

## Request body

- object
  - `type` string: Payment processor: `stripe`, `apple-iap`, `google-iap`. Determines how `transaction` is interpreted.
  - `transaction` object: Raw transaction payload from the payment processor (Stripe PaymentIntent, Apple receipt, Google purchase token).

## Response `200`

A successful response

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `422`: Unprocessable Entity
- `500`: Internal Server Error

---

[API](https://skmtc.dev/ethora/apis/platform-api.md) · [All operations](https://skmtc.dev/ethora/apis/platform-api/llms.txt) · [OpenAPI document](https://skmtc.dev/ethora/apis/platform-api/revisions/01b6e64378ee?raw)
