문서 메뉴

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시간입니다. 실행이 중단되어도 완료한 진행 상황을 유지하며 안전하게 재시도합니다.

모든 레이크 테이블에는 시스템 열_synced_at_deleted도 있습니다. 아래 열 참조에는 소스 열만 나열합니다.

테이블 참조#

balance_transactions#

titan.stripe.balance_transactions의 소스 열 수는 14개입니다.

stripe.balance_transactions열 14개
idstringpk

id 소스 필드.

amountinteger

amount 소스 필드.

available_ondatetime

availableOn 소스 필드.

created_atdatetime

createdAt 소스 필드.

currencystring

currency 소스 필드.

descriptionstring

description 소스 필드.

exchange_ratefloat

exchangeRate 소스 필드.

feeinteger

fee 소스 필드.

fee_detailsjson

feeDetails 소스 필드.

netinteger

net 소스 필드.

reporting_categorystring

reportingCategory 소스 필드.

statusstring

status 소스 필드.

typestring

type 소스 필드.

sourcestring

source 소스 필드.

coupons#

titan.stripe.coupons의 소스 열 수는 16개입니다.

stripe.coupons열 16개
idstringpk

id 소스 필드.

created_atdatetime

createdAt 소스 필드.

amount_offinteger

amountOff 소스 필드.

currencystring

currency 소스 필드.

durationstring

duration 소스 필드.

duration_in_monthsinteger

durationInMonths 소스 필드.

metadatajson

metadata 소스 필드.

namestring

name 소스 필드.

percent_offfloat

percentOff 소스 필드.

applies_tojson

appliesTo 소스 필드.

currency_optionsjson

currencyOptions 소스 필드.

livemodeboolean

livemode 소스 필드.

max_redemptionsinteger

maxRedemptions 소스 필드.

redeem_bydatetime

redeemBy 소스 필드.

times_redeemedinteger

timesRedeemed 소스 필드.

validboolean

valid 소스 필드.

customers#

titan.stripe.customers의 소스 열 수는 26개입니다.

stripe.customers열 26개
idstringpk

id 소스 필드.

created_atdatetime

createdAt 소스 필드.

addressjson

address 소스 필드.

descriptionstring

description 소스 필드.

emailstring

email 소스 필드.

metadatajson

metadata 소스 필드.

namestring

name 소스 필드.

phonestring

phone 소스 필드.

shippingjson

shipping 소스 필드.

taxjson

tax 소스 필드.

balanceinteger

balance 소스 필드.

cash_balancejson

cashBalance 소스 필드.

currencystring

currency 소스 필드.

default_sourcestring

defaultSource 소스 필드.

delinquentboolean

delinquent 소스 필드.

discountjson

discount 소스 필드.

invoice_credit_balancejson

invoiceCreditBalance 소스 필드.

invoice_prefixstring

invoicePrefix 소스 필드.

invoice_settingsjson

invoiceSettings 소스 필드.

livemodeboolean

livemode 소스 필드.

next_invoice_sequenceinteger

nextInvoiceSequence 소스 필드.

preferred_localesjson

preferredLocales 소스 필드.

sourcesjson

sources 소스 필드.

tax_exemptstring

taxExempt 소스 필드.

tax_idsjson

taxIds 소스 필드.

test_clockstring

testClock 소스 필드.

customer_balance_transactions#

titan.stripe.customer_balance_transactions의 소스 열 수는 13개입니다.

stripe.customer_balance_transactions열 13개
idstringpk

id 소스 필드.

customer_idstring

customerId 소스 필드.

amountinteger

amount 소스 필드.

currencystring

currency 소스 필드.

descriptionstring

description 소스 필드.

ending_balanceinteger

endingBalance 소스 필드.

metadatajson

metadata 소스 필드.

typestring

type 소스 필드.

checkout_session_idstring

checkoutSessionId 소스 필드.

created_atdatetime

createdAt 소스 필드.

credit_note_idstring

creditNoteId 소스 필드.

invoice_idstring

invoiceId 소스 필드.

livemodeboolean

livemode 소스 필드.

invoices#

titan.stripe.invoices의 소스 열 수는 70개입니다.

stripe.invoices열 70개
idstringpk

id 소스 필드.

customer_idstring

customerId 소스 필드.

created_atdatetime

createdAt 소스 필드.

auto_advanceboolean

autoAdvance 소스 필드.

automatic_taxjson

automaticTax 소스 필드.

collection_methodstring

collectionMethod 소스 필드.

currencystring

currency 소스 필드.

descriptionstring

description 소스 필드.

hosted_invoice_urlstring

hostedInvoiceUrl 소스 필드.

metadatajson

metadata 소스 필드.

parentjson

parent 소스 필드.

period_startdatetime

periodStart 소스 필드.

period_enddatetime

periodEnd 소스 필드.

statusstring

status 소스 필드.

totalinteger

total 소스 필드.

account_countrystring

accountCountry 소스 필드.

account_namestring

accountName 소스 필드.

account_tax_idsjson

accountTaxIds 소스 필드.

amount_dueinteger

amountDue 소스 필드.

amount_overpaidinteger

amountOverpaid 소스 필드.

amount_paidinteger

amountPaid 소스 필드.

amount_remaininginteger

amountRemaining 소스 필드.

amount_shippinginteger

amountShipping 소스 필드.

attempt_countinteger

attemptCount 소스 필드.

attemptedboolean

attempted 소스 필드.

automatically_finalizes_atdatetime

automaticallyFinalizesAt 소스 필드.

billing_reasonstring

billingReason 소스 필드.

custom_fieldsjson

customFields 소스 필드.

customer_addressjson

customerAddress 소스 필드.

customer_emailstring

customerEmail 소스 필드.

customer_namestring

customerName 소스 필드.

customer_phonestring

customerPhone 소스 필드.

customer_shippingjson

customerShipping 소스 필드.

customer_tax_exemptstring

customerTaxExempt 소스 필드.

customer_tax_idsjson

customerTaxIds 소스 필드.

default_payment_methodstring

defaultPaymentMethod 소스 필드.

default_sourcestring

defaultSource 소스 필드.

default_tax_ratesjson

defaultTaxRates 소스 필드.

discountsjson

discounts 소스 필드.

due_datedatetime

dueDate 소스 필드.

effective_atdatetime

effectiveAt 소스 필드.

ending_balanceinteger

endingBalance 소스 필드.

from_invoicejson

fromInvoice 소스 필드.

invoice_pdfstring

invoicePdf 소스 필드.

last_finalization_errorjson

lastFinalizationError 소스 필드.

latest_revisionstring

latestRevision 소스 필드.

livemodeboolean

livemode 소스 필드.

next_payment_attemptdatetime

nextPaymentAttempt 소스 필드.

numberstring

number 소스 필드.

payment_settingsjson

paymentSettings 소스 필드.

paymentsjson

payments 소스 필드.

post_payment_credit_notes_amountinteger

postPaymentCreditNotesAmount 소스 필드.

pre_payment_credit_notes_amountinteger

prePaymentCreditNotesAmount 소스 필드.

receipt_numberstring

receiptNumber 소스 필드.

renderingjson

rendering 소스 필드.

shipping_costjson

shippingCost 소스 필드.

shipping_detailsjson

shippingDetails 소스 필드.

starting_balanceinteger

startingBalance 소스 필드.

statement_descriptorstring

statementDescriptor 소스 필드.

status_transitionsjson

statusTransitions 소스 필드.

subtotalinteger

subtotal 소스 필드.

subtotal_excluding_taxinteger

subtotalExcludingTax 소스 필드.

test_clockstring

testClock 소스 필드.

threshold_reasonjson

thresholdReason 소스 필드.

total_discount_amountsjson

totalDiscountAmounts 소스 필드.

total_excluding_taxinteger

totalExcludingTax 소스 필드.

total_pretax_credit_amountsjson

totalPretaxCreditAmounts 소스 필드.

total_taxesjson

totalTaxes 소스 필드.

webhooks_delivered_atdatetime

webhooksDeliveredAt 소스 필드.

invoice_discounts#

titan.stripe.invoice_discounts의 소스 열 수는 9개입니다.

stripe.invoice_discounts열 9개
idstringpk

id 소스 필드.

invoice_idstringpk

invoiceId 소스 필드.

invoice_item_idstring

invoiceItemId 소스 필드.

customer_idstring

customerId 소스 필드.

subscription_idstring

subscriptionId 소스 필드.

couponjson

coupon 소스 필드.

startdatetime

start 소스 필드.

enddatetime

end 소스 필드.

checkout_sessionstring

checkoutSession 소스 필드.

invoice_items#

titan.stripe.invoice_items의 소스 열 수는 21개입니다.

stripe.invoice_items열 21개
idstringpk

id 소스 필드.

invoice_idstring

invoiceId 소스 필드.

customer_idstring

customerId 소스 필드.

subscription_idstring

subscriptionId 소스 필드.

created_atdatetime

createdAt 소스 필드.

amountinteger

amount 소스 필드.

currencystring

currency 소스 필드.

descriptionstring

description 소스 필드.

metadatajson

metadata 소스 필드.

parentjson

parent 소스 필드.

period_startdatetime

periodStart 소스 필드.

period_enddatetime

periodEnd 소스 필드.

pricingjson

pricing 소스 필드.

prorationboolean

proration 소스 필드.

datedatetime

date 소스 필드.

discountableboolean

discountable 소스 필드.

discountsjson

discounts 소스 필드.

livemodeboolean

livemode 소스 필드.

quantityinteger

quantity 소스 필드.

tax_ratesjson

taxRates 소스 필드.

test_clockstring

testClock 소스 필드.

invoice_line_items#

titan.stripe.invoice_line_items의 소스 열 수는 19개입니다.

stripe.invoice_line_items열 19개
idstringpk

id 소스 필드.

invoice_idstring

invoiceId 소스 필드.

amountinteger

amount 소스 필드.

currencystring

currency 소스 필드.

descriptionstring

description 소스 필드.

metadatajson

metadata 소스 필드.

parentjson

parent 소스 필드.

period_startdatetime

periodStart 소스 필드.

period_enddatetime

periodEnd 소스 필드.

pricingjson

pricing 소스 필드.

quantityinteger

quantity 소스 필드.

discount_amountsjson

discountAmounts 소스 필드.

discountableboolean

discountable 소스 필드.

discountsjson

discounts 소스 필드.

livemodeboolean

livemode 소스 필드.

pretax_credit_amountsjson

pretaxCreditAmounts 소스 필드.

taxesjson

taxes 소스 필드.

unique_idstring

uniqueId 소스 필드.

unique_line_item_idstring

uniqueLineItemId 소스 필드.

events#

titan.stripe.events의 소스 열 수는 4개입니다.

stripe.events열 4개
idstringpk

id 소스 필드.

typestring

type 소스 필드.

datajson

data 소스 필드.

created_atdatetime

createdAt 소스 필드.

charges#

titan.stripe.charges의 소스 열 수는 36개입니다.

stripe.charges열 36개
idstringpk

id 소스 필드.

created_atdatetime

createdAt 소스 필드.

amountinteger

amount 소스 필드.

balance_transaction_idstring

balanceTransactionId 소스 필드.

customer_idstring

customerId 소스 필드.

billing_detailsjson

billingDetails 소스 필드.

currencystring

currency 소스 필드.

descriptionstring

description 소스 필드.

disputedboolean

disputed 소스 필드.

metadatajson

metadata 소스 필드.

payment_intent_idstring

paymentIntentId 소스 필드.

payment_method_detailsjson

paymentMethodDetails 소스 필드.

receipt_emailstring

receiptEmail 소스 필드.

refundedboolean

refunded 소스 필드.

shippingjson

shipping 소스 필드.

statement_descriptorstring

statementDescriptor 소스 필드.

statement_descriptor_suffixstring

statementDescriptorSuffix 소스 필드.

statusstring

status 소스 필드.

amount_capturedinteger

amountCaptured 소스 필드.

amount_refundedinteger

amountRefunded 소스 필드.

calculated_statement_descriptorstring

calculatedStatementDescriptor 소스 필드.

capturedboolean

captured 소스 필드.

failure_balance_transaction_idstring

failureBalanceTransactionId 소스 필드.

failure_codestring

failureCode 소스 필드.

failure_messagestring

failureMessage 소스 필드.

fraud_detailsjson

fraudDetails 소스 필드.

livemodeboolean

livemode 소스 필드.

outcomejson

outcome 소스 필드.

paidboolean

paid 소스 필드.

payment_method_idstring

paymentMethodId 소스 필드.

presentment_detailsjson

presentmentDetails 소스 필드.

radar_optionsjson

radarOptions 소스 필드.

receipt_numberstring

receiptNumber 소스 필드.

receipt_urlstring

receiptUrl 소스 필드.

refundsjson

refunds 소스 필드.

reviewstring

review 소스 필드.

payment_methods#

titan.stripe.payment_methods의 소스 열 수는 6개입니다.

stripe.payment_methods열 6개
idstringpk

id 소스 필드.

customer_idstring

customerId 소스 필드.

created_atdatetime

createdAt 소스 필드.

billing_detailsjson

billingDetails 소스 필드.

metadatajson

metadata 소스 필드.

typestring

type 소스 필드.

payment_intents#

titan.stripe.payment_intents의 소스 열 수는 29개입니다.

stripe.payment_intents열 29개
idstringpk

id 소스 필드.

amountinteger

amount 소스 필드.

currencystring

currency 소스 필드.

created_atdatetime

createdAt 소스 필드.

customer_idstring

customerId 소스 필드.

descriptionstring

description 소스 필드.

latest_chargestring

latestCharge 소스 필드.

metadatajson

metadata 소스 필드.

next_actionjson

nextAction 소스 필드.

payment_method_idstring

paymentMethodId 소스 필드.

receipt_emailstring

receiptEmail 소스 필드.

setup_future_usagestring

setupFutureUsage 소스 필드.

shippingjson

shipping 소스 필드.

statement_descriptorstring

statementDescriptor 소스 필드.

statement_descriptor_suffixstring

statementDescriptorSuffix 소스 필드.

statusstring

status 소스 필드.

amount_capturableinteger

amountCapturable 소스 필드.

amount_detailsjson

amountDetails 소스 필드.

amount_receivedinteger

amountReceived 소스 필드.

canceled_atdatetime

canceledAt 소스 필드.

cancellation_reasonstring

cancellationReason 소스 필드.

capture_methodstring

captureMethod 소스 필드.

confirmation_methodstring

confirmationMethod 소스 필드.

livemodeboolean

livemode 소스 필드.

payment_method_configuration_detailsjson

paymentMethodConfigurationDetails 소스 필드.

payment_method_optionsjson

paymentMethodOptions 소스 필드.

presentment_detailsjson

presentmentDetails 소스 필드.

processingjson

processing 소스 필드.

review_idstring

reviewId 소스 필드.

subscriptions#

titan.stripe.subscriptions의 소스 열 수는 38개입니다.

stripe.subscriptions열 38개
idstringpk

id 소스 필드.

automatic_taxjson

automaticTax 소스 필드.

currencystring

currency 소스 필드.

customer_idstring

customerId 소스 필드.

created_atdatetime

createdAt 소스 필드.

ended_atdatetime

endedAt 소스 필드.

default_payment_methodstring

defaultPaymentMethod 소스 필드.

descriptionstring

description 소스 필드.

latest_invoicestring

latestInvoice 소스 필드.

metadatajson

metadata 소스 필드.

pending_setup_intentstring

pendingSetupIntent 소스 필드.

pending_updatejson

pendingUpdate 소스 필드.

statusstring

status 소스 필드.

billing_cycle_anchordatetime

billingCycleAnchor 소스 필드.

billing_cycle_anchor_configjson

billingCycleAnchorConfig 소스 필드.

billing_modejson

billingMode 소스 필드.

billing_thresholdsjson

billingThresholds 소스 필드.

cancel_atdatetime

cancelAt 소스 필드.

cancel_at_period_endboolean

cancelAtPeriodEnd 소스 필드.

canceled_atdatetime

canceledAt 소스 필드.

cancellation_detailsjson

cancellationDetails 소스 필드.

collection_methodstring

collectionMethod 소스 필드.

days_until_dueinteger

daysUntilDue 소스 필드.

default_sourcestring

defaultSource 소스 필드.

default_tax_ratesjson

defaultTaxRates 소스 필드.

discountsjson

discounts 소스 필드.

invoice_settingsjson

invoiceSettings 소스 필드.

livemodeboolean

livemode 소스 필드.

next_pending_invoice_item_invoicedatetime

nextPendingInvoiceItemInvoice 소스 필드.

pause_collectionjson

pauseCollection 소스 필드.

payment_settingsjson

paymentSettings 소스 필드.

pending_invoice_item_intervaljson

pendingInvoiceItemInterval 소스 필드.

schedulestring

schedule 소스 필드.

start_datedatetime

startDate 소스 필드.

test_clockstring

testClock 소스 필드.

trial_enddatetime

trialEnd 소스 필드.

trial_settingsjson

trialSettings 소스 필드.

trial_startdatetime

trialStart 소스 필드.

subscription_items#

titan.stripe.subscription_items의 소스 열 수는 11개입니다.

stripe.subscription_items열 11개
idstringpk

id 소스 필드.

metadatajson

metadata 소스 필드.

pricejson

price 소스 필드.

quantityinteger

quantity 소스 필드.

subscription_idstring

subscriptionId 소스 필드.

created_atdatetime

createdAt 소스 필드.

billing_thresholdsjson

billingThresholds 소스 필드.

current_period_startdatetime

currentPeriodStart 소스 필드.

current_period_enddatetime

currentPeriodEnd 소스 필드.

discountsjson

discounts 소스 필드.

tax_ratesjson

taxRates 소스 필드.

plans#

titan.stripe.plans의 소스 열 수는 19개입니다.

stripe.plans열 19개
idstringpk

id 소스 필드.

created_atdatetime

createdAt 소스 필드.

activeboolean

active 소스 필드.

currencystring

currency 소스 필드.

intervalstring

interval 소스 필드.

interval_countinteger

intervalCount 소스 필드.

metadatajson

metadata 소스 필드.

nicknamestring

nickname 소스 필드.

product_idstring

productId 소스 필드.

trial_period_daysinteger

trialPeriodDays 소스 필드.

aggregate_usagestring

aggregateUsage 소스 필드.

amount_decimalfloat

amountDecimal 소스 필드.

billing_schemestring

billingScheme 소스 필드.

livemodeboolean

livemode 소스 필드.

meterstring

meter 소스 필드.

tiersjson

tiers 소스 필드.

tiers_modestring

tiersMode 소스 필드.

transform_usagejson

transformUsage 소스 필드.

usage_typestring

usageType 소스 필드.

prices#

titan.stripe.prices의 소스 열 수는 20개입니다.

stripe.prices열 20개
idstringpk

id 소스 필드.

created_atdatetime

createdAt 소스 필드.

activeboolean

active 소스 필드.

currencystring

currency 소스 필드.

metadatajson

metadata 소스 필드.

nicknamestring

nickname 소스 필드.

product_idstring

productId 소스 필드.

recurringjson

recurring 소스 필드.

tax_behaviorstring

taxBehavior 소스 필드.

typestring

type 소스 필드.

unit_amountinteger

unitAmount 소스 필드.

billing_schemestring

billingScheme 소스 필드.

currency_optionsjson

currencyOptions 소스 필드.

custom_unit_amountjson

customUnitAmount 소스 필드.

livemodeboolean

livemode 소스 필드.

lookup_keystring

lookupKey 소스 필드.

tiersjson

tiers 소스 필드.

tiers_modestring

tiersMode 소스 필드.

transform_quantityjson

transformQuantity 소스 필드.

unit_amount_decimalfloat

unitAmountDecimal 소스 필드.

refunds#

titan.stripe.refunds의 소스 열 수는 19개입니다.

stripe.refunds열 19개
idstringpk

id 소스 필드.

amountinteger

amount 소스 필드.

created_atdatetime

createdAt 소스 필드.

charge_idstring

chargeId 소스 필드.

currencystring

currency 소스 필드.

descriptionstring

description 소스 필드.

metadatajson

metadata 소스 필드.

payment_intent_idstring

paymentIntentId 소스 필드.

reasonstring

reason 소스 필드.

statusstring

status 소스 필드.

balance_transaction_idstring

balanceTransactionId 소스 필드.

destination_detailsjson

destinationDetails 소스 필드.

failure_balance_transaction_idstring

failureBalanceTransactionId 소스 필드.

failure_reasonstring

failureReason 소스 필드.

instructions_emailstring

instructionsEmail 소스 필드.

next_actionjson

nextAction 소스 필드.

pending_reasonstring

pendingReason 소스 필드.

receipt_numberstring

receiptNumber 소스 필드.

refund_application_feeboolean

refundApplicationFee 소스 필드.

삭제와 이력#

행은 소스 키로 병합됩니다. 소스에서 행 삭제를 입증할 수 있으면 Supernova는 행을 유지하고 _deleted를 설정합니다. 따라서 쿼리에서 이력을 포함할지 선택할 수 있습니다. 현재 상태를 조회하는 쿼리에는 where not _deleted 필터를 사용하세요.