# payment_gateways

<!-- Generated from apps/irrigation/dbt_redshift/models/client_data/sources.yml. Do not edit by hand — run `make generate-client-data-dictionary`. -->

Payment gateways configured in the client's workspaces. external_id is the gateway's account id at the provider (for Stripe, the connected account id). Credentials are not exported.

| Column | Description |
| --- | --- |
| `id` | Unique identifier for the payment gateway |
| `workspace_id` | Identifier of the workspace; matches workspaces.id |
| `name` | Name of the payment gateway |
| `type` | Gateway type (provider) |
| `status` | Connection status of the gateway |
| `live_mode` | Whether the gateway takes live payments rather than test payments |
| `is_primary` | Whether this is the workspace's primary gateway (primary in the PMS) |
| `external_id` | Account id at the payment provider (for Stripe, the connected account id) |
| `created_at` | Timestamp when the gateway was created |
| `updated_at` | Timestamp when the gateway was last updated |
| `timestamp` | Date when the table was last synchronized |
