API Overview
Expand the API Overview panel on the left to see every endpoint with full details.
Base URL: https://api.grain.inc
Common conventions:
Authentication via Bearer tokens (see Authentication & Idempotency).
Content-Type: all request bodies are JSON (
application/json).Currency:
"USD"currently supported.Amounts: strings with two decimals (e.g.,
"10.00").
Endpoints:
Merchants — retrieve merchant profile and supported payment methods.
Payment Sessions — create and inspect payment sessions.
Connect Wallet — associate a user wallet + stablecoin with a session.
Funding Transaction — optionally record the funding transaction hash.
Captures — move funds from OTW to merchant wallet (partial/final) and inspect captures.
Last updated

