Introduction

WelcomeServices map

Guides

AcceptSpend

Legal

SecurityPrivacyTerms

PreviousResourcesNextEnable payments
BlogPrivacyTerms

Create a gate URL

Create or reuse a priced resource and return gate_url (agents pay this). Also returns pay_page_url for humans.


Same flow over HTTP: POST /resources

Tool

rill_create_pay_link

Primary Accept path for no-SDK sellers. Pass path_or_tool plus amount to create a resource, or pass resource_id to compose URLs for an existing SKU. Share gate_url with agents. pay_page_url is the same SKU for humans. Then enable payments and register a webhook to unlock on your product.

Auth

Seller key required (rill_sk_* via session, env, or seller_key).

Parameters

ParameterTypeRequiredDescription
path_or_toolstringwhen creatingHTTP path or tool name when creating a new resource
amountnumberwhen creatingUSD price when creating a new resource
resource_idstringwhen reusingExisting resource id to compose pay/gate URLs for
resource_typehttp|mcpnoDefaults to http when creating
seller_keystringnoOverrides the session seller key

Usage notes

  • Provide resource_id, or path_or_tool + amount, never neither.
  • Save gate_url for agents (SKU). pay_page_url is the same link for humans (API field pay_url).
  • Next: rill_enable_payments, then rill_webhooks action=create for payment.succeeded.
  • Creates via POST /resources when no resource_id is supplied. CLI twin: create-pay-link.