Grain · AsyncAPI Specification

Grainfinance Co Webhooks

Version

View Spec View on GitHub FintechPaymentsCurrencyAPIEmbeddedAsyncAPIEvents

AsyncAPI Specification

Raw ↑
generated: '2026-10-25'
method: searched
generator: extract-docs-artifacts.py (local)
source: https://docs.grainfinance.co/webhooks/index.md
sources:
- https://docs.grainfinance.co/webhooks/index.md
- https://docs.grainfinance.co/webhooks/signature-verification.md
- https://docs.grainfinance.co/webhooks/webhook-envelope.md
- https://docs.grainfinance.co/webhooks/events/hedge-cancelled.md
description: Grain sends webhook notifications for key events in the hedge, wallet, and payout lifecycle.
events:
- event: hedge.cancelled
  description: Sent when a hedge is canceled by the customer or by the system.
delivery:
  auth: HMAC signature
  signature: X-Grain-Signature
  content_type: application/json
note: Each request also includes X-Grain-Timestamp for replay protection. The signature is computed as HMAC‑SHA256 over "{timestamp}.{raw_json_body}"
  using the webhook secret (Verification Token).
docs: https://docs.grainfinance.co/webhooks/index.md

Work with this as data

Every AsyncAPI spec here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for asyncapi

4 MCP tools reach this
  • find_asyncapisBrowse and filter every AsyncAPI spec in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This AsyncAPI spec
curl "https://apis.io/api/v1/asyncapis/grainfinance-co-webhooks"
All asyncapi
curl "https://apis.io/api/v1/asyncapis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.