x402 pay-per-call — Prepare for agent

Dedicated x402 pay-per-call route. The first request returns HTTP 402 with PAYMENT-REQUIRED. Retry with PAYMENT-SIGNATURE. This route does not consume the free trial.

post/x402/v1/prepare-for-agent

Request

  • Base URL: https://api.scrubmytext.com
  • URL: https://api.scrubmytext.com/x402/v1/prepare-for-agent
  • Auth: none declared

Headers

PAYMENT-SIGNATUREstring

Base64-encoded x402 v2 payment payload supplied on the paid retry.

Request body

textstring required
mode'standard' | 'strict' | 'unicode'
redact_sensitiveboolean

Response

Successful result

Changes

No recorded changes to this operation across all 1 revision of this API.