---
title: "MPP smoke test ($0.01 USDC)"
method: GET
path: "/api/test"
tags: ["Test"]
---

# MPP smoke test ($0.01 USDC)

`GET /api/test`

## Request

- Base URL: `https://api.weftly.ai`
- URL: `https://api.weftly.ai/api/test`
- Auth: API key in header `Authorization`

Verifies end-to-end MPP payment flow. Charges $0.01 USDC and returns a success confirmation. Optional `echo` query is round-tripped in the response so callers can verify their own request reached the worker.

## Query parameters

- `echo` string: Optional string echoed back in the response, useful for client-side smoke tests.

## Response `200`

Payment verified

- object
  - `paid` true, required
  - `service` string, required
  - `echo` string

## Other responses

- `402`: Payment required

---

[API](https://skmtc.dev/weftly/apis/weftly-api.md) · [All operations](https://skmtc.dev/weftly/apis/weftly-api/llms.txt) · [OpenAPI document](https://skmtc.dev/weftly/apis/weftly-api/revisions/159cec179228?raw)
