Use the SiXPay public skill with a coding agent when you want it to implement a payment flow in an existing merchant application. The skill gives the agent the checkout-session contract, SDK UI integration, subscription rules, and webhook requirements without exposing merchant credentials in the prompt.

Give the agent the SiXPay skill

Provide this URL to the agent and ask it to read or install the skill using its own skill workflow:
Then give the agent one scoped prompt below. Replace every <...> placeholder with your own information. Do not include a Merchant API Key, signing key, webhook secret, or customer data in the prompt. Put credentials in the application’s server-side secret manager instead.
Ask the agent to inspect the existing order or subscription code before editing it. The prompts assume an existing merchant backend and should result in a server-authoritative integration.

Checkout prompt

Use this for a one-time purchase or invoice. It directs the agent to create a Checkout session on the merchant server and open the hosted UI with browser-safe session credentials.
Continue with Checkout sessions, SDK UI checkout, and Webhooks when reviewing the generated changes.

Subscription prompt

Use this for recurring ERC-20 payments. A subscription product must be published in the Merchant Console before the agent can create a session or render the hosted subscription UI.
Continue with Subscription payments, Subscription SDK UI, and Subscription webhook events when reviewing the generated changes.

Review the result

Before deploying agent-generated code, verify that the implementation has all of the following:
  • A Merchant API Key is read only by server-side code.
  • Browser code receives only the short-lived checkout credentials it needs.
  • Checkout uses SiXPayCheckoutModal or createSiXPayCheckout; recurring payments use SiXPaySubscriptionModal.
  • Webhook signatures, timestamp/replay rules, and duplicate-event handling are enforced before a local state transition.
  • Payment and subscription entitlements are driven by confirmed webhook events, not client-side success states.
The agent can use the published skill bundle directly when its environment does not support skill installation.