---
title: "Verify Payment"
method: POST
path: "/billing/verify-payment"
tags: ["billing"]
---

# Verify Payment

`POST /billing/verify-payment`

## Request

- Base URL: `https://api.threadchain.pro` (the document declares no server; this is the origin it was published from)
- URL: `https://api.threadchain.pro/billing/verify-payment`
- Auth: OAuth 2
  - Password
  - Token URL: `auth/token`

Verify payment by querying Stripe and create Payment record only if successful.
Sets verification_level = 1 (manual verification).

## Request body

- VerifyPaymentRequest: Request to verify a payment transaction
  - `session_id` string, required

## Response `200`

Successful Response

- VerifyPaymentResponse: Response after verifying a payment
  - `success` boolean, required
  - `payment_id` string, uuid, nullable
  - `status` string, required
  - `message` string, required
  - `amount_paid` integer, nullable
  - `currency` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/threadchain/apis/threadchain-backend.md) - [All operations](https://skmtc.dev/threadchain/apis/threadchain-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/threadchain/apis/threadchain-backend/revisions/8ee288a7e6bd?raw)
