JSData & Media Start a project

← All connectors

Schema · Entity relationship diagram

Shopify Payments & Payouts tables and relationships

Shopify Payments payouts (with charge, refund and fee summaries), balance transactions (every charge, refund, fee and adjustment with its payout) and disputes. For stores that take payments through Shopify Payments. Tables and columns are named after the Shopify Admin API and share one shopify schema with Shopify Orders, Shopify Customers, Shopify Products & Inventory, Shopify Checkouts & Discounts, Shopify Analytics.

Live3 tables · 4 relationships
ConnectPaste an API key
Default schemashopify
Source API docshelp.shopify.com
DestinationsAmazon Redshift, Google BigQuery, Snowflake, PostgreSQL, Amazon S3
  • The six Shopify connectors load into one shopify schema. The others: Shopify Orders, Shopify Customers, Shopify Products & Inventory, Shopify Checkouts & Discounts, Shopify Analytics. Dashed boxes are their tables.
  • Tables and columns are named after the Shopify Admin GraphQL API (2026-07): a table per object (Order → orders, its lineItems → order_line_items), a column per field path in snake_case (totalPriceSet.shopMoney.amount → total_price_set_shop_money_amount). Ids are the number in Shopify's global id, so they join across connectors.
  • Lists inside an object (tags, tax lines, custom attributes ...) are child tables keyed by the parent id and index, replaced as a set whenever the parent changes. _jsdata_synced is the load time; _jsdata_deleted is always false.
  • Only stores that take payments through Shopify Payments have these tables; PayPal and other processors are not in Shopify's API.
balance_transactions.associated_order_id → orders.idbalance_transactions.source_order_transaction_id → order_transactions.idbalance_transactions.associated_payout_id → payouts.iddisputes.order_id → orders.idpayoutspayouts35id BIGINT · primary keyidbigintstatus VARCHAR(256)statusvarcharissued_at TIMESTAMPissued_attimestamptransaction_type VARCHAR(256)transaction_typevarcharexternal_trace_id VARCHAR(65535)external_trace_idvarcharnet_amount DECIMAL(38,9)net_amountdecimalnet_currency_code VARCHAR(256)net_currency_codevarcharbusiness_entity_id VARCHAR(256)business_entity_idvarcharbusiness_entity_display_name VARCHAR(65535)business_entity_display_namevarcharsummary_charges_gross_amount DECIMAL(38,9)summary_charges_gross_amountdecimalsummary_charges_gross_currency_code VARCHAR(256)summary_charges_gross_currency_codevarcharsummary_charges_fee_amount DECIMAL(38,9)summary_charges_fee_amountdecimalsummary_charges_fee_currency_code VARCHAR(256)summary_charges_fee_currency_codevarcharsummary_refunds_fee_gross_amount DECIMAL(38,9)summary_refunds_fee_gross_amountdecimalsummary_refunds_fee_gross_currency_code VARCHAR(256)summary_refunds_fee_gross_currency_codevarcharsummary_refunds_fee_amount DECIMAL(38,9)summary_refunds_fee_amountdecimalsummary_refunds_fee_currency_code VARCHAR(256)summary_refunds_fee_currency_codevarcharsummary_adjustments_gross_amount DECIMAL(38,9)summary_adjustments_gross_amountdecimalsummary_adjustments_gross_currency_code VARCHAR(256)summary_adjustments_gross_currency_codevarcharsummary_adjustments_fee_amount DECIMAL(38,9)summary_adjustments_fee_amountdecimal+15 more (see below) +15 more (see below)balance_transactionsbalance_transactions20id BIGINT · primary keyidbigintsource_order_transaction_id BIGINT · → order_transactions.idsource_order_transaction_idbigintassociated_order_id BIGINT · → orders.idassociated_order_idbigintassociated_payout_id BIGINT · → payouts.idassociated_payout_idbiginttype VARCHAR(256)typevarchartest BOOLEANtestbooltransaction_date TIMESTAMPtransaction_datetimestampsource_id BIGINTsource_idbigintsource_type VARCHAR(256)source_typevarcharadjustment_reason VARCHAR(65535)adjustment_reasonvarcharamount_amount DECIMAL(38,9)amount_amountdecimalamount_currency_code VARCHAR(256)amount_currency_codevarcharfee_amount DECIMAL(38,9)fee_amountdecimalfee_currency_code VARCHAR(256)fee_currency_codevarcharnet_amount DECIMAL(38,9)net_amountdecimalnet_currency_code VARCHAR(256)net_currency_codevarcharassociated_order_name VARCHAR(65535)associated_order_namevarcharassociated_payout_status VARCHAR(256)associated_payout_statusvarchar_jsdata_deleted BOOLEAN_jsdata_deletedbool_jsdata_synced TIMESTAMP_jsdata_syncedtimestamporder_transactions (Shopify Orders)order_transactions (Shopify Orders)extid BIGINT · primary keyidbigintorder_id BIGINTorder_idbigintkind VARCHAR(256)kindvarcharamount_set_shop_money_amount DECIMAL(38,9)amount_set_shop_money_amountdecimalorders (Shopify Orders)orders (Shopify Orders)extid BIGINT · primary keyidbigintname VARCHAR(65535)namevarcharcreated_at TIMESTAMPcreated_attimestampdisputesdisputes14id BIGINT · primary keyidbigintorder_id BIGINT · → orders.idorder_idbigintstatus VARCHAR(256)statusvarchartype VARCHAR(256)typevarcharinitiated_at TIMESTAMPinitiated_attimestampevidence_due_by TIMESTAMPevidence_due_bytimestampevidence_sent_on TIMESTAMPevidence_sent_ontimestampfinalized_on TIMESTAMPfinalized_ontimestampamount_amount DECIMAL(38,9)amount_amountdecimalamount_currency_code VARCHAR(256)amount_currency_codevarcharreason_details_reason VARCHAR(256)reason_details_reasonvarcharreason_details_network_reason_code VARCHAR(65535)reason_details_network_reason_codevarchar_jsdata_deleted BOOLEAN_jsdata_deletedbool_jsdata_synced TIMESTAMP_jsdata_syncedtimestamp
Primary keyForeign keyReferencesJoins on (not a key)

Drag to pan, scroll or pinch to zoom, click a table to see what it joins to.

Table reference

3 tables · click a table for its columns
payouts35 columns · Shopify Paymentsshow in diagram

Primary key: id

ColumnTypeKeyDescription
idPrimary key.bigintPK Primary key.
statusvarchar(256)
issued_attimestamp
transaction_typevarchar(256)
external_trace_idvarchar(65535)
net_amountdecimal(38,9)
net_currency_codevarchar(256)
business_entity_idvarchar(256)
business_entity_display_namevarchar(65535)
summary_charges_gross_amountdecimal(38,9)
summary_charges_gross_currency_codevarchar(256)
summary_charges_fee_amountdecimal(38,9)
summary_charges_fee_currency_codevarchar(256)
summary_refunds_fee_gross_amountdecimal(38,9)
summary_refunds_fee_gross_currency_codevarchar(256)
summary_refunds_fee_amountdecimal(38,9)
summary_refunds_fee_currency_codevarchar(256)
summary_adjustments_gross_amountdecimal(38,9)
summary_adjustments_gross_currency_codevarchar(256)
summary_adjustments_fee_amountdecimal(38,9)
summary_adjustments_fee_currency_codevarchar(256)
summary_advance_gross_amountdecimal(38,9)
summary_advance_gross_currency_codevarchar(256)
summary_advance_fees_amountdecimal(38,9)
summary_advance_fees_currency_codevarchar(256)
summary_reserved_funds_gross_amountdecimal(38,9)
summary_reserved_funds_gross_currency_codevarchar(256)
summary_reserved_funds_fee_amountdecimal(38,9)
summary_reserved_funds_fee_currency_codevarchar(256)
summary_retried_payouts_gross_amountdecimal(38,9)
summary_retried_payouts_gross_currency_codevarchar(256)
summary_retried_payouts_fee_amountdecimal(38,9)
summary_retried_payouts_fee_currency_codevarchar(256)
_jsdata_deletedTrue when the record was deleted at the source.booleanTrue when the record was deleted at the source.
_jsdata_syncedWhen jsdata last wrote this row.timestampWhen jsdata last wrote this row.
balance_transactions20 columns · Shopify Paymentsshow in diagram

Primary key: id

ColumnTypeKeyDescription
idPrimary key.bigintPK Primary key.
typevarchar(256)
testboolean
transaction_datetimestamp
source_idbigint
source_typevarchar(256)
source_order_transaction_idReferences order_transactions.id.bigintFKReferences order_transactions.id.
adjustment_reasonvarchar(65535)
amount_amountdecimal(38,9)
amount_currency_codevarchar(256)
fee_amountdecimal(38,9)
fee_currency_codevarchar(256)
net_amountdecimal(38,9)
net_currency_codevarchar(256)
associated_order_idReferences orders.id.bigintFKReferences orders.id.
associated_order_namevarchar(65535)
associated_payout_idReferences payouts.id.bigintFKReferences payouts.id.
associated_payout_statusMoves from PENDING to PAID after the payout: the last 14 days are re-read every sync.varchar(256)Moves from PENDING to PAID after the payout: the last 14 days are re-read every sync.
_jsdata_deletedTrue when the record was deleted at the source.booleanTrue when the record was deleted at the source.
_jsdata_syncedWhen jsdata last wrote this row.timestampWhen jsdata last wrote this row.
disputes14 columns · Shopify Paymentsshow in diagram

Primary key: id

ColumnTypeKeyDescription
idPrimary key.bigintPK Primary key.
statusvarchar(256)
typevarchar(256)
initiated_attimestamp
evidence_due_bytimestamp
evidence_sent_ontimestamp
finalized_ontimestamp
amount_amountdecimal(38,9)
amount_currency_codevarchar(256)
order_idReferences orders.id.bigintFKReferences orders.id.
reason_details_reasonvarchar(256)
reason_details_network_reason_codevarchar(65535)
_jsdata_deletedTrue when the record was deleted at the source.booleanTrue when the record was deleted at the source.
_jsdata_syncedWhen jsdata last wrote this row.timestampWhen jsdata last wrote this row.

Connect Shopify Payments & Payouts All connectors