---
title: "POST /x402/complete/{paymentId}"
method: POST
path: "/x402/complete/{paymentId}"
---

# POST /x402/complete/{paymentId}

`POST /x402/complete/{paymentId}`

## Request

- Base URL: `https://api.nano-gpt.com/api`
- URL: `https://api.nano-gpt.com/api/x402/complete/{paymentId}`
- Auth: none declared

Complete a paid X-402 request and execute the original API request associated with the paymentId.

## Path parameters

- `paymentId` string, required

## Headers

- `X-PAYMENT` string

## Response `200`

Original endpoint response (after payment is verified).

- object

## Other responses

- `402`: Payment required or underpaid
- `404`: Payment not found
- `409`: Payment already completed or processing
- `410`: Payment expired
- `429`: Rate limit exceeded
- `500`: Processing failed

## Changes

- **2026-11-03** `cc8b07d75689`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/nano-gpt/apis/nanogpt-api/changes/x402/complete/:paymentId/post.md)

---

[API](https://skmtc.dev/nano-gpt/apis/nanogpt-api.md) - [All operations](https://skmtc.dev/nano-gpt/apis/nanogpt-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nano-gpt/apis/nanogpt-api/revisions/cc8b07d75689?raw)
