Introduction

WelcomeServices map

Guides

AcceptSpend

Legal

SecurityPrivacyTerms

PreviousCreate pay linkNextWebhooks
BlogPrivacyTerms

Enable payments on the gate

Enable MPP/x402 on seller gate URLs so agents can finish pay.


Same flow over HTTP: Sellers & resources

Tool

rill_enable_payments

Call after rill_create_pay_link when you want open-world MPP and x402 on the gate URL. Omitting stripe_profile_id adopts the platform profile for the seller money environment (Live or Test). Settlement lands in Stripe and credits seller balance for Connect payout.

Auth

Seller key required (rill_sk_*).

Parameters

ParameterTypeRequiredDescription
stripe_profile_idstringnoOptional Stripe Profile id (profile_…). When omitted, uses the platform profile for this environment
mpp_enabledbooleannoDefaults to true
x402_enabledbooleannoDefaults to true
seller_keystringnoOverrides the session seller key

Usage notes

  • Agents then pay the gate with rill_pay_url or native MPP/x402 clients.
  • After pay, seller balance increases. Connect Stripe (rill_connect) then rill_withdraw, or wait for auto payout when Connect is ready.
  • Same flow over HTTP: PATCH /sellers/me/payments. CLI twin: enable-payments.