Dunmore

Supabase Integration

Insert payment events into a Supabase table for custom dashboards and queries.

Connect Dunmore to Supabase to stream all payment events into a PostgreSQL table via the PostgREST API. Build custom dashboards, run SQL queries, or use Supabase Realtime to subscribe to new events.

Setup

  1. Create a table in your Supabase project (see schema below)
  2. Get your Supabase URL and Service Role Key from Settings > API
  3. Add a Supabase connector in the Dunmore console or via the API

Table Schema

Create a table named dunmore_events (or your preferred name) with this schema:

ColumnTypeDescription
event_idtextDunmore event ID (evt_xxx)
event_typetextEvent type (e.g., payment.settled)
timestamptimestamptzEvent timestamp
project_idtextDunmore project ID
amount_rawtextRaw amount in atomic units
amount_usdnumericAmount converted to USD
currencytextCurrency code (e.g., USDC)
networktextCAIP-2 chain ID
endpointtextEndpoint path
payer_wallettextPayer wallet address
tx_hashtextSettlement transaction hash
datajsonbFull event data object

Supported Events

All event types are inserted into Supabase. The connector does not filter — it receives everything for complete event logging.

Configuration

{
  "type": "supabase",
  "config": {
    "url": "https://xxxxx.supabase.co",
    "apiKey": "your-service-role-key",
    "table": "dunmore_events"
  },
  "eventTypes": ["*"]
}
FieldRequiredDefaultDescription
urlYesSupabase project URL
apiKeyYesService role key (or anon key with RLS)
tableNodunmore_eventsTarget table name

API Example

curl -X POST https://api.dunmore.xyz/api/projects/{projectId}/connectors \
  -H "Authorization: Bearer {token}" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "supabase",
    "config": {
      "url": "https://xxxxx.supabase.co",
      "apiKey": "YOUR_SERVICE_ROLE_KEY",
      "table": "dunmore_events"
    },
    "eventTypes": ["*"]
  }'