Skip to content

docs(webhooks): add livemode, drop testnet, document subscription events - #7

Merged
PancheI merged 1 commit into
mainfrom
docs/webhook-livemode
Aug 19, 2026
Merged

docs(webhooks): add livemode, drop testnet, document subscription events#7
PancheI merged 1 commit into
mainfrom
docs/webhook-livemode

Conversation

@PancheI

@PancheI PancheI commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Mirrors the platform payload change (AgentaOS/platform#153) and the SDK types (AgentaOS/agentaos#37).

What

  • testnetlivemode across webhooks/events.mdx, api-reference/webhooks.mdx, and sdk/pay-webhooks.mdx (examples + field docs). livemode = account mode (true=live, false=test); the chain/rail stays in network.
  • Document the 5 subscription.* events (created, renewed, payment_failed, updated, canceled) and the shared SubscriptionData shape, in the events reference and the SDK webhooks page.
  • Updated the "not in SDK types" note: livemode is now typed; rail/vendor_reference/overpaid_by_cents remain wire-only.

Not included

dispute.* webhook events are emitted by the platform but still undocumented here, a separate follow-up.

🤖 Generated with Claude Code

- Replace the testnet field with livemode (true=live, false=test) across the
  webhook payload docs + examples; note it is account mode, not the chain (network).
- Document the 5 subscription.* webhook events + SubscriptionData shape in the
  events reference and the SDK webhooks page, matching @agentaos/pay.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@PancheI
PancheI force-pushed the docs/webhook-livemode branch from de0ee48 to 1bb8291 Compare August 19, 2026 05:59
@PancheI
PancheI merged commit fef524a into main Aug 19, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant