Credits
Fund a prepaid credit balance over x402
Pay amount USDC once via x402 to fund a prepaid credit balance; receive a credit token (pzc_...) to spend on any paid endpoint via the X-CREDIT-TOKEN header — the recurring/volume rail, no account, no CDP/Stripe. GET with no payment returns a 402 for amount; present an existing X-CREDIT-TOKEN to top it up in place. Idempotent on the settlement tx.
get/api/v1/storefront/credits/topup
Request
- Base URL: https://propraven.com
- URL: https://propraven.com/api/v1/storefront/credits/topup
- Auth: HTTP bearer
Query parameters
amountinteger required
Whole USD to fund ($1–$1000).
Headers
X-CREDIT-TOKENstring
Optional existing pzc_ token to top up in place.
X-PAYMENTstring
Base64 x402 PaymentPayload to fund the balance.
Response
Balance funded; a new mint returns the raw credit token once.
object required
Changes
No recorded changes to this operation across all 1 revision of this API.