Skip to main content
Draft to co-define with DSI (Canales Digitales). Fire proposes this contract based on its architecture; the exact routes and schema are settled with DSI. It ships alongside the dry-run that already produces this same payload: GET /api/v1/admin/paybridge/dsi-config-sync/preview.Authentication is the same one used by the notifications (webhooks) — not repeated here.
Fire is the source of truth for payment configuration. This contract belongs to the configuration plane: Fire pushes the merchant’s configuration to DSI ahead of time so the payment request stays lean (DSI already knows the merchant and only receives the storeId, the terminalId, amount, and reference). Attributes use XMART’s names (accountId, vendorId, store, storeId, terminals, terminalId).

Principles

  1. Two planes, separate. Configuration (this contract, async by events) vs transaction (the payment request doesn’t change).
  2. Two levels, as DSI already models it. Config at the organization level (per account) and the store level (per store / terminal — what DSI calls “application”), like the Pluxee/Amipass guides.
  3. Idempotent and versioned. Each scope carries a monotonic version; re-sending the same version doesn’t duplicate.
  4. active, never delete. When something is turned off, active: false is sent.
  5. Channels don’t travel. POS/Kiosk/Web/App are Fire-internal routing.
  6. Shared identifiers. The synced storeId/terminalId is the same one that later arrives in the payment request.

Proposed endpoints

{accountId} = the account UUID in Fire. {storeId} = the store UUID in Fire.

Organization level

providers[].config is free per provider: Fire sends the keys the admin loaded at the brand level. DSI defines which keys each provider expects (already in its guides).

Store level

Semantics

Expected responses

Mapping from Fire’s tables

Fire’s UI (the availability matrix + the per-level field editor) is what populates these rows. The admin never writes the payload by hand.

Configuration by level

Where the fields that feed this sync are loaded.

Supported methods by country

The methods PayBridge covers in each country.