Stripe invoice and charge events (internal)

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://docs.usehearsay.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "integrations MCP server": {
    "url": "https://docs.usehearsay.com/mcp"
  }
}

Close
POST /webhooks/stripe/invoice-charge

Receives Stripe invoice and charge webhook events. The Stripe signature is verified against the raw body; an invalid signature or payload returns 400. With webhook hardening on, each event is processed once and a retryable failure returns 500 so Stripe retries; otherwise a processing failure is logged and still answered with 200.

Responses

  • 200 application/json

    The event was accepted (or was already processed).

POST /webhooks/stripe/invoice-charge
curl \
 --request POST 'http://api.example.com/webhooks/stripe/invoice-charge'
Response examples (200)
{
  "received": true
}