ZapAPI Docs
Get StartedConceptsAI GatewayGuidesPayment GatewaySDKAPI ReferenceResources
ApiPaywalls

Create a paywall

POST
/api/v1/paywalls

Protect a URL behind a Lightning payment. Payers see title + price; the destination is revealed only after payment.

Authorization

bearer

Header Parameters

X-API-Version?string

API version for header-based versioning

Default"1"
Value in"1""2"

Response Body

Paywall created

Example Request
curl -X POST 'http://localhost:3001/api/v1/paywalls'
Example Response201
Empty