---
title: Stripe
description: Stripeを接続して同期の動作を把握し、書き込まれるすべてのテーブルと列をクエリします。
species: reference
---
# Stripe

選択したリソースの読み取り権限を持つ制限付きキーを使って Stripe を接続します。このソースは `titan.stripe` に 17 個の固定テーブルを書き込みます。
```sql
select
  id,
  amount,
  available_on
from titan.stripe.balance_transactions
limit 10
```

## Stripeを接続する

1. **アプリ**を開き、**アプリを接続**を選択してから、**Stripe**を選択します。
2. 選択したリソースの読み取り権限を持つ制限付きキーを入力します。
3. テーブルを確認してからソースを保存します。
4. 初回の実行が完了するまで**同期履歴**を確認します。

認証情報はシークレットとして保存されます。レイクの列になったり、クエリ結果に表示されたりすることはありません。

## 同期の動作

金額は通貨の最小単位の整数です。livemode は本番データとテストデータを区別し、削除済みオブジェクトも _deleted で確認できます。保存したカーソルが 27 日より古い場合、イベント駆動の更新は全件取得に切り替わります。

新しいソースは接続時に同期し、その後はスケジュールに従います。デフォルトの繰り返し間隔は 4 時間です。実行が中断しても、完了した進捗を保持して安全に再試行します。

すべてのレイクのテーブルには[システム列](/docs/concepts/your-lake#システム列) `_synced_at` と `_deleted` もあります。以下の列リファレンスにはソースの列のみを記載しています。

## テーブルリファレンス

### `balance_transactions`

`titan.stripe.balance_transactions` には 14 個のソース列があります。

```columns table=stripe.balance_transactions
id                                      string pk           ソースのフィールド `id`。
amount                                  integer             ソースのフィールド `amount`。
available_on                            datetime            ソースのフィールド `availableOn`。
created_at                              datetime            ソースのフィールド `createdAt`。
currency                                string              ソースのフィールド `currency`。
description                             string              ソースのフィールド `description`。
exchange_rate                           float               ソースのフィールド `exchangeRate`。
fee                                     integer             ソースのフィールド `fee`。
fee_details                             json                ソースのフィールド `feeDetails`。
net                                     integer             ソースのフィールド `net`。
reporting_category                      string              ソースのフィールド `reportingCategory`。
status                                  string              ソースのフィールド `status`。
type                                    string              ソースのフィールド `type`。
source                                  string              ソースのフィールド `source`。
```

### `coupons`

`titan.stripe.coupons` には 16 個のソース列があります。

```columns table=stripe.coupons
id                                      string pk           ソースのフィールド `id`。
created_at                              datetime            ソースのフィールド `createdAt`。
amount_off                              integer             ソースのフィールド `amountOff`。
currency                                string              ソースのフィールド `currency`。
duration                                string              ソースのフィールド `duration`。
duration_in_months                      integer             ソースのフィールド `durationInMonths`。
metadata                                json                ソースのフィールド `metadata`。
name                                    string              ソースのフィールド `name`。
percent_off                             float               ソースのフィールド `percentOff`。
applies_to                              json                ソースのフィールド `appliesTo`。
currency_options                        json                ソースのフィールド `currencyOptions`。
livemode                                boolean             ソースのフィールド `livemode`。
max_redemptions                         integer             ソースのフィールド `maxRedemptions`。
redeem_by                               datetime            ソースのフィールド `redeemBy`。
times_redeemed                          integer             ソースのフィールド `timesRedeemed`。
valid                                   boolean             ソースのフィールド `valid`。
```

### `customers`

`titan.stripe.customers` には 26 個のソース列があります。

```columns table=stripe.customers
id                                      string pk           ソースのフィールド `id`。
created_at                              datetime            ソースのフィールド `createdAt`。
address                                 json                ソースのフィールド `address`。
description                             string              ソースのフィールド `description`。
email                                   string              ソースのフィールド `email`。
metadata                                json                ソースのフィールド `metadata`。
name                                    string              ソースのフィールド `name`。
phone                                   string              ソースのフィールド `phone`。
shipping                                json                ソースのフィールド `shipping`。
tax                                     json                ソースのフィールド `tax`。
balance                                 integer             ソースのフィールド `balance`。
cash_balance                            json                ソースのフィールド `cashBalance`。
currency                                string              ソースのフィールド `currency`。
default_source                          string              ソースのフィールド `defaultSource`。
delinquent                              boolean             ソースのフィールド `delinquent`。
discount                                json                ソースのフィールド `discount`。
invoice_credit_balance                  json                ソースのフィールド `invoiceCreditBalance`。
invoice_prefix                          string              ソースのフィールド `invoicePrefix`。
invoice_settings                        json                ソースのフィールド `invoiceSettings`。
livemode                                boolean             ソースのフィールド `livemode`。
next_invoice_sequence                   integer             ソースのフィールド `nextInvoiceSequence`。
preferred_locales                       json                ソースのフィールド `preferredLocales`。
sources                                 json                ソースのフィールド `sources`。
tax_exempt                              string              ソースのフィールド `taxExempt`。
tax_ids                                 json                ソースのフィールド `taxIds`。
test_clock                              string              ソースのフィールド `testClock`。
```

### `customer_balance_transactions`

`titan.stripe.customer_balance_transactions` には 13 個のソース列があります。

```columns table=stripe.customer_balance_transactions
id                                      string pk           ソースのフィールド `id`。
customer_id                             string              ソースのフィールド `customerId`。
amount                                  integer             ソースのフィールド `amount`。
currency                                string              ソースのフィールド `currency`。
description                             string              ソースのフィールド `description`。
ending_balance                          integer             ソースのフィールド `endingBalance`。
metadata                                json                ソースのフィールド `metadata`。
type                                    string              ソースのフィールド `type`。
checkout_session_id                     string              ソースのフィールド `checkoutSessionId`。
created_at                              datetime            ソースのフィールド `createdAt`。
credit_note_id                          string              ソースのフィールド `creditNoteId`。
invoice_id                              string              ソースのフィールド `invoiceId`。
livemode                                boolean             ソースのフィールド `livemode`。
```

### `invoices`

`titan.stripe.invoices` には 70 個のソース列があります。

```columns table=stripe.invoices
id                                      string pk           ソースのフィールド `id`。
customer_id                             string              ソースのフィールド `customerId`。
created_at                              datetime            ソースのフィールド `createdAt`。
auto_advance                            boolean             ソースのフィールド `autoAdvance`。
automatic_tax                           json                ソースのフィールド `automaticTax`。
collection_method                       string              ソースのフィールド `collectionMethod`。
currency                                string              ソースのフィールド `currency`。
description                             string              ソースのフィールド `description`。
hosted_invoice_url                      string              ソースのフィールド `hostedInvoiceUrl`。
metadata                                json                ソースのフィールド `metadata`。
parent                                  json                ソースのフィールド `parent`。
period_start                            datetime            ソースのフィールド `periodStart`。
period_end                              datetime            ソースのフィールド `periodEnd`。
status                                  string              ソースのフィールド `status`。
total                                   integer             ソースのフィールド `total`。
account_country                         string              ソースのフィールド `accountCountry`。
account_name                            string              ソースのフィールド `accountName`。
account_tax_ids                         json                ソースのフィールド `accountTaxIds`。
amount_due                              integer             ソースのフィールド `amountDue`。
amount_overpaid                         integer             ソースのフィールド `amountOverpaid`。
amount_paid                             integer             ソースのフィールド `amountPaid`。
amount_remaining                        integer             ソースのフィールド `amountRemaining`。
amount_shipping                         integer             ソースのフィールド `amountShipping`。
attempt_count                           integer             ソースのフィールド `attemptCount`。
attempted                               boolean             ソースのフィールド `attempted`。
automatically_finalizes_at              datetime            ソースのフィールド `automaticallyFinalizesAt`。
billing_reason                          string              ソースのフィールド `billingReason`。
custom_fields                           json                ソースのフィールド `customFields`。
customer_address                        json                ソースのフィールド `customerAddress`。
customer_email                          string              ソースのフィールド `customerEmail`。
customer_name                           string              ソースのフィールド `customerName`。
customer_phone                          string              ソースのフィールド `customerPhone`。
customer_shipping                       json                ソースのフィールド `customerShipping`。
customer_tax_exempt                     string              ソースのフィールド `customerTaxExempt`。
customer_tax_ids                        json                ソースのフィールド `customerTaxIds`。
default_payment_method                  string              ソースのフィールド `defaultPaymentMethod`。
default_source                          string              ソースのフィールド `defaultSource`。
default_tax_rates                       json                ソースのフィールド `defaultTaxRates`。
discounts                               json                ソースのフィールド `discounts`。
due_date                                datetime            ソースのフィールド `dueDate`。
effective_at                            datetime            ソースのフィールド `effectiveAt`。
ending_balance                          integer             ソースのフィールド `endingBalance`。
footer                                  string              ソースのフィールド `footer`。
from_invoice                            json                ソースのフィールド `fromInvoice`。
invoice_pdf                             string              ソースのフィールド `invoicePdf`。
last_finalization_error                 json                ソースのフィールド `lastFinalizationError`。
latest_revision                         string              ソースのフィールド `latestRevision`。
livemode                                boolean             ソースのフィールド `livemode`。
next_payment_attempt                    datetime            ソースのフィールド `nextPaymentAttempt`。
number                                  string              ソースのフィールド `number`。
payment_settings                        json                ソースのフィールド `paymentSettings`。
payments                                json                ソースのフィールド `payments`。
post_payment_credit_notes_amount        integer             ソースのフィールド `postPaymentCreditNotesAmount`。
pre_payment_credit_notes_amount         integer             ソースのフィールド `prePaymentCreditNotesAmount`。
receipt_number                          string              ソースのフィールド `receiptNumber`。
rendering                               json                ソースのフィールド `rendering`。
shipping_cost                           json                ソースのフィールド `shippingCost`。
shipping_details                        json                ソースのフィールド `shippingDetails`。
starting_balance                        integer             ソースのフィールド `startingBalance`。
statement_descriptor                    string              ソースのフィールド `statementDescriptor`。
status_transitions                      json                ソースのフィールド `statusTransitions`。
subtotal                                integer             ソースのフィールド `subtotal`。
subtotal_excluding_tax                  integer             ソースのフィールド `subtotalExcludingTax`。
test_clock                              string              ソースのフィールド `testClock`。
threshold_reason                        json                ソースのフィールド `thresholdReason`。
total_discount_amounts                  json                ソースのフィールド `totalDiscountAmounts`。
total_excluding_tax                     integer             ソースのフィールド `totalExcludingTax`。
total_pretax_credit_amounts             json                ソースのフィールド `totalPretaxCreditAmounts`。
total_taxes                             json                ソースのフィールド `totalTaxes`。
webhooks_delivered_at                   datetime            ソースのフィールド `webhooksDeliveredAt`。
```

### `invoice_discounts`

`titan.stripe.invoice_discounts` には 9 個のソース列があります。

```columns table=stripe.invoice_discounts
id                                      string pk           ソースのフィールド `id`。
invoice_id                              string pk           ソースのフィールド `invoiceId`。
invoice_item_id                         string              ソースのフィールド `invoiceItemId`。
customer_id                             string              ソースのフィールド `customerId`。
subscription_id                         string              ソースのフィールド `subscriptionId`。
coupon                                  json                ソースのフィールド `coupon`。
start                                   datetime            ソースのフィールド `start`。
end                                     datetime            ソースのフィールド `end`。
checkout_session                        string              ソースのフィールド `checkoutSession`。
```

### `invoice_items`

`titan.stripe.invoice_items` には 21 個のソース列があります。

```columns table=stripe.invoice_items
id                                      string pk           ソースのフィールド `id`。
invoice_id                              string              ソースのフィールド `invoiceId`。
customer_id                             string              ソースのフィールド `customerId`。
subscription_id                         string              ソースのフィールド `subscriptionId`。
created_at                              datetime            ソースのフィールド `createdAt`。
amount                                  integer             ソースのフィールド `amount`。
currency                                string              ソースのフィールド `currency`。
description                             string              ソースのフィールド `description`。
metadata                                json                ソースのフィールド `metadata`。
parent                                  json                ソースのフィールド `parent`。
period_start                            datetime            ソースのフィールド `periodStart`。
period_end                              datetime            ソースのフィールド `periodEnd`。
pricing                                 json                ソースのフィールド `pricing`。
proration                               boolean             ソースのフィールド `proration`。
date                                    datetime            ソースのフィールド `date`。
discountable                            boolean             ソースのフィールド `discountable`。
discounts                               json                ソースのフィールド `discounts`。
livemode                                boolean             ソースのフィールド `livemode`。
quantity                                integer             ソースのフィールド `quantity`。
tax_rates                               json                ソースのフィールド `taxRates`。
test_clock                              string              ソースのフィールド `testClock`。
```

### `invoice_line_items`

`titan.stripe.invoice_line_items` には 19 個のソース列があります。

```columns table=stripe.invoice_line_items
id                                      string pk           ソースのフィールド `id`。
invoice_id                              string              ソースのフィールド `invoiceId`。
amount                                  integer             ソースのフィールド `amount`。
currency                                string              ソースのフィールド `currency`。
description                             string              ソースのフィールド `description`。
metadata                                json                ソースのフィールド `metadata`。
parent                                  json                ソースのフィールド `parent`。
period_start                            datetime            ソースのフィールド `periodStart`。
period_end                              datetime            ソースのフィールド `periodEnd`。
pricing                                 json                ソースのフィールド `pricing`。
quantity                                integer             ソースのフィールド `quantity`。
discount_amounts                        json                ソースのフィールド `discountAmounts`。
discountable                            boolean             ソースのフィールド `discountable`。
discounts                               json                ソースのフィールド `discounts`。
livemode                                boolean             ソースのフィールド `livemode`。
pretax_credit_amounts                   json                ソースのフィールド `pretaxCreditAmounts`。
taxes                                   json                ソースのフィールド `taxes`。
unique_id                               string              ソースのフィールド `uniqueId`。
unique_line_item_id                     string              ソースのフィールド `uniqueLineItemId`。
```

### `events`

`titan.stripe.events` には 4 個のソース列があります。

```columns table=stripe.events
id                                      string pk           ソースのフィールド `id`。
type                                    string              ソースのフィールド `type`。
data                                    json                ソースのフィールド `data`。
created_at                              datetime            ソースのフィールド `createdAt`。
```

### `charges`

`titan.stripe.charges` には 36 個のソース列があります。

```columns table=stripe.charges
id                                      string pk           ソースのフィールド `id`。
created_at                              datetime            ソースのフィールド `createdAt`。
amount                                  integer             ソースのフィールド `amount`。
balance_transaction_id                  string              ソースのフィールド `balanceTransactionId`。
customer_id                             string              ソースのフィールド `customerId`。
billing_details                         json                ソースのフィールド `billingDetails`。
currency                                string              ソースのフィールド `currency`。
description                             string              ソースのフィールド `description`。
disputed                                boolean             ソースのフィールド `disputed`。
metadata                                json                ソースのフィールド `metadata`。
payment_intent_id                       string              ソースのフィールド `paymentIntentId`。
payment_method_details                  json                ソースのフィールド `paymentMethodDetails`。
receipt_email                           string              ソースのフィールド `receiptEmail`。
refunded                                boolean             ソースのフィールド `refunded`。
shipping                                json                ソースのフィールド `shipping`。
statement_descriptor                    string              ソースのフィールド `statementDescriptor`。
statement_descriptor_suffix             string              ソースのフィールド `statementDescriptorSuffix`。
status                                  string              ソースのフィールド `status`。
amount_captured                         integer             ソースのフィールド `amountCaptured`。
amount_refunded                         integer             ソースのフィールド `amountRefunded`。
calculated_statement_descriptor         string              ソースのフィールド `calculatedStatementDescriptor`。
captured                                boolean             ソースのフィールド `captured`。
failure_balance_transaction_id          string              ソースのフィールド `failureBalanceTransactionId`。
failure_code                            string              ソースのフィールド `failureCode`。
failure_message                         string              ソースのフィールド `failureMessage`。
fraud_details                           json                ソースのフィールド `fraudDetails`。
livemode                                boolean             ソースのフィールド `livemode`。
outcome                                 json                ソースのフィールド `outcome`。
paid                                    boolean             ソースのフィールド `paid`。
payment_method_id                       string              ソースのフィールド `paymentMethodId`。
presentment_details                     json                ソースのフィールド `presentmentDetails`。
radar_options                           json                ソースのフィールド `radarOptions`。
receipt_number                          string              ソースのフィールド `receiptNumber`。
receipt_url                             string              ソースのフィールド `receiptUrl`。
refunds                                 json                ソースのフィールド `refunds`。
review                                  string              ソースのフィールド `review`。
```

### `payment_methods`

`titan.stripe.payment_methods` には 6 個のソース列があります。

```columns table=stripe.payment_methods
id                                      string pk           ソースのフィールド `id`。
customer_id                             string              ソースのフィールド `customerId`。
created_at                              datetime            ソースのフィールド `createdAt`。
billing_details                         json                ソースのフィールド `billingDetails`。
metadata                                json                ソースのフィールド `metadata`。
type                                    string              ソースのフィールド `type`。
```

### `payment_intents`

`titan.stripe.payment_intents` には 29 個のソース列があります。

```columns table=stripe.payment_intents
id                                      string pk           ソースのフィールド `id`。
amount                                  integer             ソースのフィールド `amount`。
currency                                string              ソースのフィールド `currency`。
created_at                              datetime            ソースのフィールド `createdAt`。
customer_id                             string              ソースのフィールド `customerId`。
description                             string              ソースのフィールド `description`。
latest_charge                           string              ソースのフィールド `latestCharge`。
metadata                                json                ソースのフィールド `metadata`。
next_action                             json                ソースのフィールド `nextAction`。
payment_method_id                       string              ソースのフィールド `paymentMethodId`。
receipt_email                           string              ソースのフィールド `receiptEmail`。
setup_future_usage                      string              ソースのフィールド `setupFutureUsage`。
shipping                                json                ソースのフィールド `shipping`。
statement_descriptor                    string              ソースのフィールド `statementDescriptor`。
statement_descriptor_suffix             string              ソースのフィールド `statementDescriptorSuffix`。
status                                  string              ソースのフィールド `status`。
amount_capturable                       integer             ソースのフィールド `amountCapturable`。
amount_details                          json                ソースのフィールド `amountDetails`。
amount_received                         integer             ソースのフィールド `amountReceived`。
canceled_at                             datetime            ソースのフィールド `canceledAt`。
cancellation_reason                     string              ソースのフィールド `cancellationReason`。
capture_method                          string              ソースのフィールド `captureMethod`。
confirmation_method                     string              ソースのフィールド `confirmationMethod`。
livemode                                boolean             ソースのフィールド `livemode`。
payment_method_configuration_details    json                ソースのフィールド `paymentMethodConfigurationDetails`。
payment_method_options                  json                ソースのフィールド `paymentMethodOptions`。
presentment_details                     json                ソースのフィールド `presentmentDetails`。
processing                              json                ソースのフィールド `processing`。
review_id                               string              ソースのフィールド `reviewId`。
```

### `subscriptions`

`titan.stripe.subscriptions` には 38 個のソース列があります。

```columns table=stripe.subscriptions
id                                      string pk           ソースのフィールド `id`。
automatic_tax                           json                ソースのフィールド `automaticTax`。
currency                                string              ソースのフィールド `currency`。
customer_id                             string              ソースのフィールド `customerId`。
created_at                              datetime            ソースのフィールド `createdAt`。
ended_at                                datetime            ソースのフィールド `endedAt`。
default_payment_method                  string              ソースのフィールド `defaultPaymentMethod`。
description                             string              ソースのフィールド `description`。
latest_invoice                          string              ソースのフィールド `latestInvoice`。
metadata                                json                ソースのフィールド `metadata`。
pending_setup_intent                    string              ソースのフィールド `pendingSetupIntent`。
pending_update                          json                ソースのフィールド `pendingUpdate`。
status                                  string              ソースのフィールド `status`。
billing_cycle_anchor                    datetime            ソースのフィールド `billingCycleAnchor`。
billing_cycle_anchor_config             json                ソースのフィールド `billingCycleAnchorConfig`。
billing_mode                            json                ソースのフィールド `billingMode`。
billing_thresholds                      json                ソースのフィールド `billingThresholds`。
cancel_at                               datetime            ソースのフィールド `cancelAt`。
cancel_at_period_end                    boolean             ソースのフィールド `cancelAtPeriodEnd`。
canceled_at                             datetime            ソースのフィールド `canceledAt`。
cancellation_details                    json                ソースのフィールド `cancellationDetails`。
collection_method                       string              ソースのフィールド `collectionMethod`。
days_until_due                          integer             ソースのフィールド `daysUntilDue`。
default_source                          string              ソースのフィールド `defaultSource`。
default_tax_rates                       json                ソースのフィールド `defaultTaxRates`。
discounts                               json                ソースのフィールド `discounts`。
invoice_settings                        json                ソースのフィールド `invoiceSettings`。
livemode                                boolean             ソースのフィールド `livemode`。
next_pending_invoice_item_invoice       datetime            ソースのフィールド `nextPendingInvoiceItemInvoice`。
pause_collection                        json                ソースのフィールド `pauseCollection`。
payment_settings                        json                ソースのフィールド `paymentSettings`。
pending_invoice_item_interval           json                ソースのフィールド `pendingInvoiceItemInterval`。
schedule                                string              ソースのフィールド `schedule`。
start_date                              datetime            ソースのフィールド `startDate`。
test_clock                              string              ソースのフィールド `testClock`。
trial_end                               datetime            ソースのフィールド `trialEnd`。
trial_settings                          json                ソースのフィールド `trialSettings`。
trial_start                             datetime            ソースのフィールド `trialStart`。
```

### `subscription_items`

`titan.stripe.subscription_items` には 11 個のソース列があります。

```columns table=stripe.subscription_items
id                                      string pk           ソースのフィールド `id`。
metadata                                json                ソースのフィールド `metadata`。
price                                   json                ソースのフィールド `price`。
quantity                                integer             ソースのフィールド `quantity`。
subscription_id                         string              ソースのフィールド `subscriptionId`。
created_at                              datetime            ソースのフィールド `createdAt`。
billing_thresholds                      json                ソースのフィールド `billingThresholds`。
current_period_start                    datetime            ソースのフィールド `currentPeriodStart`。
current_period_end                      datetime            ソースのフィールド `currentPeriodEnd`。
discounts                               json                ソースのフィールド `discounts`。
tax_rates                               json                ソースのフィールド `taxRates`。
```

### `plans`

`titan.stripe.plans` には 19 個のソース列があります。

```columns table=stripe.plans
id                                      string pk           ソースのフィールド `id`。
created_at                              datetime            ソースのフィールド `createdAt`。
active                                  boolean             ソースのフィールド `active`。
currency                                string              ソースのフィールド `currency`。
interval                                string              ソースのフィールド `interval`。
interval_count                          integer             ソースのフィールド `intervalCount`。
metadata                                json                ソースのフィールド `metadata`。
nickname                                string              ソースのフィールド `nickname`。
product_id                              string              ソースのフィールド `productId`。
trial_period_days                       integer             ソースのフィールド `trialPeriodDays`。
aggregate_usage                         string              ソースのフィールド `aggregateUsage`。
amount_decimal                          float               ソースのフィールド `amountDecimal`。
billing_scheme                          string              ソースのフィールド `billingScheme`。
livemode                                boolean             ソースのフィールド `livemode`。
meter                                   string              ソースのフィールド `meter`。
tiers                                   json                ソースのフィールド `tiers`。
tiers_mode                              string              ソースのフィールド `tiersMode`。
transform_usage                         json                ソースのフィールド `transformUsage`。
usage_type                              string              ソースのフィールド `usageType`。
```

### `prices`

`titan.stripe.prices` には 20 個のソース列があります。

```columns table=stripe.prices
id                                      string pk           ソースのフィールド `id`。
created_at                              datetime            ソースのフィールド `createdAt`。
active                                  boolean             ソースのフィールド `active`。
currency                                string              ソースのフィールド `currency`。
metadata                                json                ソースのフィールド `metadata`。
nickname                                string              ソースのフィールド `nickname`。
product_id                              string              ソースのフィールド `productId`。
recurring                               json                ソースのフィールド `recurring`。
tax_behavior                            string              ソースのフィールド `taxBehavior`。
type                                    string              ソースのフィールド `type`。
unit_amount                             integer             ソースのフィールド `unitAmount`。
billing_scheme                          string              ソースのフィールド `billingScheme`。
currency_options                        json                ソースのフィールド `currencyOptions`。
custom_unit_amount                      json                ソースのフィールド `customUnitAmount`。
livemode                                boolean             ソースのフィールド `livemode`。
lookup_key                              string              ソースのフィールド `lookupKey`。
tiers                                   json                ソースのフィールド `tiers`。
tiers_mode                              string              ソースのフィールド `tiersMode`。
transform_quantity                      json                ソースのフィールド `transformQuantity`。
unit_amount_decimal                     float               ソースのフィールド `unitAmountDecimal`。
```

### `refunds`

`titan.stripe.refunds` には 19 個のソース列があります。

```columns table=stripe.refunds
id                                      string pk           ソースのフィールド `id`。
amount                                  integer             ソースのフィールド `amount`。
created_at                              datetime            ソースのフィールド `createdAt`。
charge_id                               string              ソースのフィールド `chargeId`。
currency                                string              ソースのフィールド `currency`。
description                             string              ソースのフィールド `description`。
metadata                                json                ソースのフィールド `metadata`。
payment_intent_id                       string              ソースのフィールド `paymentIntentId`。
reason                                  string              ソースのフィールド `reason`。
status                                  string              ソースのフィールド `status`。
balance_transaction_id                  string              ソースのフィールド `balanceTransactionId`。
destination_details                     json                ソースのフィールド `destinationDetails`。
failure_balance_transaction_id          string              ソースのフィールド `failureBalanceTransactionId`。
failure_reason                          string              ソースのフィールド `failureReason`。
instructions_email                      string              ソースのフィールド `instructionsEmail`。
next_action                             json                ソースのフィールド `nextAction`。
pending_reason                          string              ソースのフィールド `pendingReason`。
receipt_number                          string              ソースのフィールド `receiptNumber`。
refund_application_fee                  boolean             ソースのフィールド `refundApplicationFee`。
```

## 削除と履歴

行はソースのキーでマージされます。ソース側で行の削除を確認できた場合、Supernova は行を残して `_deleted` を設定します。クエリで履歴を含めるかどうかを選べます。現在の状態だけを取得するには `where not _deleted` で絞り込んでください。
