Stripe#
선택한 리소스의 읽기 권한이 있는 제한된 키를 사용해 Stripe에 연결합니다. 이 소스는 titan.stripe 아래에 고정 테이블 17개를 기록합니다.
select
id,
amount,
available_on
from titan.stripe.balance_transactions
limit 10Stripe 연결#
앱을 열고 앱 연결을 선택한 뒤 Stripe 항목을 선택합니다.
선택한 리소스의 읽기 권한이 있는 제한된 키를 입력합니다.
테이블을 확인한 뒤 소스를 저장합니다.
첫 실행이 완료될 때까지 동기화 기록을 확인합니다.
자격 증명은 비밀 정보로 저장됩니다. 레이크 열이 되거나 쿼리 결과에 나타나지 않습니다.
동기화 동작#
금액은 통화의 최소 단위로 표현된 정수이며, livemode는 운영 데이터와 테스트 데이터를 구분합니다. 삭제된 객체도 _deleted를 통해 계속 확인할 수 있습니다. 저장된 커서가 27일보다 오래되면 이벤트 기반 업데이트는 전체 목록 조회로 전환됩니다.
새 소스는 연결할 때 동기화한 다음 설정된 일정을 따릅니다. 기본 반복 간격은 4시간입니다. 실행이 중단되어도 완료한 진행 상황을 유지하며 안전하게 재시도합니다.
모든 레이크 테이블에는 시스템 열인 _synced_at과 _deleted도 있습니다. 아래 열 참조에는 소스 열만 나열합니다.
테이블 참조#
balance_transactions#
titan.stripe.balance_transactions의 소스 열 수는 14개입니다.
id 소스 필드.
amount 소스 필드.
availableOn 소스 필드.
createdAt 소스 필드.
currency 소스 필드.
description 소스 필드.
exchangeRate 소스 필드.
fee 소스 필드.
feeDetails 소스 필드.
net 소스 필드.
reportingCategory 소스 필드.
status 소스 필드.
type 소스 필드.
source 소스 필드.
coupons#
titan.stripe.coupons의 소스 열 수는 16개입니다.
id 소스 필드.
createdAt 소스 필드.
amountOff 소스 필드.
currency 소스 필드.
duration 소스 필드.
durationInMonths 소스 필드.
metadata 소스 필드.
name 소스 필드.
percentOff 소스 필드.
appliesTo 소스 필드.
currencyOptions 소스 필드.
livemode 소스 필드.
maxRedemptions 소스 필드.
redeemBy 소스 필드.
timesRedeemed 소스 필드.
valid 소스 필드.
customers#
titan.stripe.customers의 소스 열 수는 26개입니다.
id 소스 필드.
createdAt 소스 필드.
address 소스 필드.
description 소스 필드.
email 소스 필드.
metadata 소스 필드.
name 소스 필드.
phone 소스 필드.
shipping 소스 필드.
tax 소스 필드.
balance 소스 필드.
cashBalance 소스 필드.
currency 소스 필드.
defaultSource 소스 필드.
delinquent 소스 필드.
discount 소스 필드.
invoiceCreditBalance 소스 필드.
invoicePrefix 소스 필드.
invoiceSettings 소스 필드.
livemode 소스 필드.
nextInvoiceSequence 소스 필드.
preferredLocales 소스 필드.
sources 소스 필드.
taxExempt 소스 필드.
taxIds 소스 필드.
testClock 소스 필드.
customer_balance_transactions#
titan.stripe.customer_balance_transactions의 소스 열 수는 13개입니다.
id 소스 필드.
customerId 소스 필드.
amount 소스 필드.
currency 소스 필드.
description 소스 필드.
endingBalance 소스 필드.
metadata 소스 필드.
type 소스 필드.
checkoutSessionId 소스 필드.
createdAt 소스 필드.
creditNoteId 소스 필드.
invoiceId 소스 필드.
livemode 소스 필드.
invoices#
titan.stripe.invoices의 소스 열 수는 70개입니다.
id 소스 필드.
customerId 소스 필드.
createdAt 소스 필드.
autoAdvance 소스 필드.
automaticTax 소스 필드.
collectionMethod 소스 필드.
currency 소스 필드.
description 소스 필드.
hostedInvoiceUrl 소스 필드.
metadata 소스 필드.
parent 소스 필드.
periodStart 소스 필드.
periodEnd 소스 필드.
status 소스 필드.
total 소스 필드.
accountCountry 소스 필드.
accountName 소스 필드.
accountTaxIds 소스 필드.
amountDue 소스 필드.
amountOverpaid 소스 필드.
amountPaid 소스 필드.
amountRemaining 소스 필드.
amountShipping 소스 필드.
attemptCount 소스 필드.
attempted 소스 필드.
automaticallyFinalizesAt 소스 필드.
billingReason 소스 필드.
customFields 소스 필드.
customerAddress 소스 필드.
customerEmail 소스 필드.
customerName 소스 필드.
customerPhone 소스 필드.
customerShipping 소스 필드.
customerTaxExempt 소스 필드.
customerTaxIds 소스 필드.
defaultPaymentMethod 소스 필드.
defaultSource 소스 필드.
defaultTaxRates 소스 필드.
discounts 소스 필드.
dueDate 소스 필드.
effectiveAt 소스 필드.
endingBalance 소스 필드.
fromInvoice 소스 필드.
invoicePdf 소스 필드.
lastFinalizationError 소스 필드.
latestRevision 소스 필드.
livemode 소스 필드.
nextPaymentAttempt 소스 필드.
number 소스 필드.
paymentSettings 소스 필드.
payments 소스 필드.
postPaymentCreditNotesAmount 소스 필드.
prePaymentCreditNotesAmount 소스 필드.
receiptNumber 소스 필드.
rendering 소스 필드.
shippingCost 소스 필드.
shippingDetails 소스 필드.
startingBalance 소스 필드.
statementDescriptor 소스 필드.
statusTransitions 소스 필드.
subtotal 소스 필드.
subtotalExcludingTax 소스 필드.
testClock 소스 필드.
thresholdReason 소스 필드.
totalDiscountAmounts 소스 필드.
totalExcludingTax 소스 필드.
totalPretaxCreditAmounts 소스 필드.
totalTaxes 소스 필드.
webhooksDeliveredAt 소스 필드.
invoice_discounts#
titan.stripe.invoice_discounts의 소스 열 수는 9개입니다.
id 소스 필드.
invoiceId 소스 필드.
invoiceItemId 소스 필드.
customerId 소스 필드.
subscriptionId 소스 필드.
coupon 소스 필드.
start 소스 필드.
end 소스 필드.
checkoutSession 소스 필드.
invoice_items#
titan.stripe.invoice_items의 소스 열 수는 21개입니다.
id 소스 필드.
invoiceId 소스 필드.
customerId 소스 필드.
subscriptionId 소스 필드.
createdAt 소스 필드.
amount 소스 필드.
currency 소스 필드.
description 소스 필드.
metadata 소스 필드.
parent 소스 필드.
periodStart 소스 필드.
periodEnd 소스 필드.
pricing 소스 필드.
proration 소스 필드.
date 소스 필드.
discountable 소스 필드.
discounts 소스 필드.
livemode 소스 필드.
quantity 소스 필드.
taxRates 소스 필드.
testClock 소스 필드.
invoice_line_items#
titan.stripe.invoice_line_items의 소스 열 수는 19개입니다.
id 소스 필드.
invoiceId 소스 필드.
amount 소스 필드.
currency 소스 필드.
description 소스 필드.
metadata 소스 필드.
parent 소스 필드.
periodStart 소스 필드.
periodEnd 소스 필드.
pricing 소스 필드.
quantity 소스 필드.
discountAmounts 소스 필드.
discountable 소스 필드.
discounts 소스 필드.
livemode 소스 필드.
pretaxCreditAmounts 소스 필드.
taxes 소스 필드.
uniqueId 소스 필드.
uniqueLineItemId 소스 필드.
events#
titan.stripe.events의 소스 열 수는 4개입니다.
id 소스 필드.
type 소스 필드.
data 소스 필드.
createdAt 소스 필드.
charges#
titan.stripe.charges의 소스 열 수는 36개입니다.
id 소스 필드.
createdAt 소스 필드.
amount 소스 필드.
balanceTransactionId 소스 필드.
customerId 소스 필드.
billingDetails 소스 필드.
currency 소스 필드.
description 소스 필드.
disputed 소스 필드.
metadata 소스 필드.
paymentIntentId 소스 필드.
paymentMethodDetails 소스 필드.
receiptEmail 소스 필드.
refunded 소스 필드.
shipping 소스 필드.
statementDescriptor 소스 필드.
statementDescriptorSuffix 소스 필드.
status 소스 필드.
amountCaptured 소스 필드.
amountRefunded 소스 필드.
calculatedStatementDescriptor 소스 필드.
captured 소스 필드.
failureBalanceTransactionId 소스 필드.
failureCode 소스 필드.
failureMessage 소스 필드.
fraudDetails 소스 필드.
livemode 소스 필드.
outcome 소스 필드.
paid 소스 필드.
paymentMethodId 소스 필드.
presentmentDetails 소스 필드.
radarOptions 소스 필드.
receiptNumber 소스 필드.
receiptUrl 소스 필드.
refunds 소스 필드.
review 소스 필드.
payment_methods#
titan.stripe.payment_methods의 소스 열 수는 6개입니다.
id 소스 필드.
customerId 소스 필드.
createdAt 소스 필드.
billingDetails 소스 필드.
metadata 소스 필드.
type 소스 필드.
payment_intents#
titan.stripe.payment_intents의 소스 열 수는 29개입니다.
id 소스 필드.
amount 소스 필드.
currency 소스 필드.
createdAt 소스 필드.
customerId 소스 필드.
description 소스 필드.
latestCharge 소스 필드.
metadata 소스 필드.
nextAction 소스 필드.
paymentMethodId 소스 필드.
receiptEmail 소스 필드.
setupFutureUsage 소스 필드.
shipping 소스 필드.
statementDescriptor 소스 필드.
statementDescriptorSuffix 소스 필드.
status 소스 필드.
amountCapturable 소스 필드.
amountDetails 소스 필드.
amountReceived 소스 필드.
canceledAt 소스 필드.
cancellationReason 소스 필드.
captureMethod 소스 필드.
confirmationMethod 소스 필드.
livemode 소스 필드.
paymentMethodConfigurationDetails 소스 필드.
paymentMethodOptions 소스 필드.
presentmentDetails 소스 필드.
processing 소스 필드.
reviewId 소스 필드.
subscriptions#
titan.stripe.subscriptions의 소스 열 수는 38개입니다.
id 소스 필드.
automaticTax 소스 필드.
currency 소스 필드.
customerId 소스 필드.
createdAt 소스 필드.
endedAt 소스 필드.
defaultPaymentMethod 소스 필드.
description 소스 필드.
latestInvoice 소스 필드.
metadata 소스 필드.
pendingSetupIntent 소스 필드.
pendingUpdate 소스 필드.
status 소스 필드.
billingCycleAnchor 소스 필드.
billingCycleAnchorConfig 소스 필드.
billingMode 소스 필드.
billingThresholds 소스 필드.
cancelAt 소스 필드.
cancelAtPeriodEnd 소스 필드.
canceledAt 소스 필드.
cancellationDetails 소스 필드.
collectionMethod 소스 필드.
daysUntilDue 소스 필드.
defaultSource 소스 필드.
defaultTaxRates 소스 필드.
discounts 소스 필드.
invoiceSettings 소스 필드.
livemode 소스 필드.
nextPendingInvoiceItemInvoice 소스 필드.
pauseCollection 소스 필드.
paymentSettings 소스 필드.
pendingInvoiceItemInterval 소스 필드.
schedule 소스 필드.
startDate 소스 필드.
testClock 소스 필드.
trialEnd 소스 필드.
trialSettings 소스 필드.
trialStart 소스 필드.
subscription_items#
titan.stripe.subscription_items의 소스 열 수는 11개입니다.
id 소스 필드.
metadata 소스 필드.
price 소스 필드.
quantity 소스 필드.
subscriptionId 소스 필드.
createdAt 소스 필드.
billingThresholds 소스 필드.
currentPeriodStart 소스 필드.
currentPeriodEnd 소스 필드.
discounts 소스 필드.
taxRates 소스 필드.
plans#
titan.stripe.plans의 소스 열 수는 19개입니다.
id 소스 필드.
createdAt 소스 필드.
active 소스 필드.
currency 소스 필드.
interval 소스 필드.
intervalCount 소스 필드.
metadata 소스 필드.
nickname 소스 필드.
productId 소스 필드.
trialPeriodDays 소스 필드.
aggregateUsage 소스 필드.
amountDecimal 소스 필드.
billingScheme 소스 필드.
livemode 소스 필드.
meter 소스 필드.
tiers 소스 필드.
tiersMode 소스 필드.
transformUsage 소스 필드.
usageType 소스 필드.
prices#
titan.stripe.prices의 소스 열 수는 20개입니다.
id 소스 필드.
createdAt 소스 필드.
active 소스 필드.
currency 소스 필드.
metadata 소스 필드.
nickname 소스 필드.
productId 소스 필드.
recurring 소스 필드.
taxBehavior 소스 필드.
type 소스 필드.
unitAmount 소스 필드.
billingScheme 소스 필드.
currencyOptions 소스 필드.
customUnitAmount 소스 필드.
livemode 소스 필드.
lookupKey 소스 필드.
tiers 소스 필드.
tiersMode 소스 필드.
transformQuantity 소스 필드.
unitAmountDecimal 소스 필드.
refunds#
titan.stripe.refunds의 소스 열 수는 19개입니다.
id 소스 필드.
amount 소스 필드.
createdAt 소스 필드.
chargeId 소스 필드.
currency 소스 필드.
description 소스 필드.
metadata 소스 필드.
paymentIntentId 소스 필드.
reason 소스 필드.
status 소스 필드.
balanceTransactionId 소스 필드.
destinationDetails 소스 필드.
failureBalanceTransactionId 소스 필드.
failureReason 소스 필드.
instructionsEmail 소스 필드.
nextAction 소스 필드.
pendingReason 소스 필드.
receiptNumber 소스 필드.
refundApplicationFee 소스 필드.
삭제와 이력#
행은 소스 키로 병합됩니다. 소스에서 행 삭제를 입증할 수 있으면 Supernova는 행을 유지하고 _deleted를 설정합니다. 따라서 쿼리에서 이력을 포함할지 선택할 수 있습니다. 현재 상태를 조회하는 쿼리에는 where not _deleted 필터를 사용하세요.