Skip to main content
Connectors

Paystack connector

Set up the Paystack connector in Kaivo: authentication, configuration, the 8 BigQuery tables it syncs, and answers to common questions.

Written By Lauri Raivio

Last updated 15 days ago

Kaivo is a fully managed data platform that syncs your Paystack data into a Google BigQuery warehouse and keeps it up to date automatically. There is no pipeline to build and no infrastructure to run, so you can spend your time analysing your payment and finance data instead of moving it.

What is the Paystack connector

Sync your Paystack payment data into BigQuery with Kaivo to analyse transactions, subscriptions, and disputes alongside the rest of your finance data.

CategoryFinance & Payments
AuthenticationAPI key
SetupSelf-service

Getting started with the Paystack connector

  1. Sign up for Kaivo and create a workspace.
  2. Connect your Paystack account.
  3. Choose which tables to sync.
  4. Wait for the initial sync to finish.
  5. Query your data in BigQuery or your favourite AI or BI tool.

Authenticating Paystack

Authenticate with your Secret Key.

FieldDescription
Secret Key

The Paystack API key (usually starts with 'sk_live_'; find yours here).

Configuring the Paystack connector

When you set up the connector, you provide:

FieldDescription
Start Date

Any data before this date will not be fetched.

Tables and columns synced from Paystack

Kaivo syncs 8 tables from Paystack into a dedicated dataset in your BigQuery warehouse. Click any table to see its columns and types.

ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
created_atTIMESTAMP
customer_codeSTRING
domainSTRING
emailSTRING
first_nameSTRING
idINT64
integrationINT64
last_nameSTRING
phoneSTRING
risk_actionSTRING
updated_atTIMESTAMP
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
attachmentsSTRING
binSTRING
categorySTRING
created_atTIMESTAMP
currencySTRING
domainSTRING
due_atTIMESTAMP
evidenceSTRING
idINT64
last4STRING
noteSTRING
refund_amountINT64
resolutionSTRING
resolved_atTIMESTAMP
statusSTRING
transaction_referenceSTRING
updated_atTIMESTAMP
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: disputes__history

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
bySTRING
created_atTIMESTAMP
statusSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: disputes__messages

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
bodySTRING
created_atTIMESTAMP
senderSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
amountINT64
created_atTIMESTAMP
currencySTRING
descriptionSTRING
domainSTRING
due_dateTIMESTAMP
has_invoiceBOOL
idINT64
integrationINT64
invoice_numberINT64
offline_referenceSTRING
paidBOOL
paid_atTIMESTAMP
pdf_urlSTRING
request_codeSTRING
statusSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__line_items

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
amountINT64
nameSTRING
quantityINT64
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__notifications

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
channelSTRING
sent_atSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: invoices__tax

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
amountINT64
nameSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
amountINT64
created_atTIMESTAMP
currencySTRING
customer_noteSTRING
deducted_amountINT64
domainSTRING
fully_deductedINT64
idINT64
integrationINT64
merchant_noteSTRING
refunded_atTIMESTAMP
refunded_bySTRING
statusSTRING
transactionINT64
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
created_atTIMESTAMP
deductionsINT64
domainSTRING
effective_amountINT64
idINT64
integrationINT64
settled_bySTRING
settlement_dateTIMESTAMP
statusSTRING
total_amountINT64
total_feesINT64
total_processedINT64
updated_atTIMESTAMP
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
amountINT64
created_atTIMESTAMP
cron_expressionSTRING
domainSTRING
email_tokenSTRING
idINT64
integrationINT64
invoice_limitINT64
next_payment_dateTIMESTAMP
open_invoiceSTRING
payments_countINT64
quantityINT64
split_codeSTRING
startINT64
statusSTRING
subscription_codeSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
metadata__referrerSTRING
amountINT64
channelSTRING
created_atTIMESTAMP
created_atTIMESTAMP
currencySTRING
domainSTRING
feesINT64
fees_splitSTRING
gateway_responseSTRING
idINT64
ip_addressSTRING
log__attemptsINT64
log__errorsINT64
log__mobileBOOL
log__start_timeINT64
log__successBOOL
log__time_spentINT64
messageSTRING
order_idINT64
paid_atTIMESTAMP
paid_atTIMESTAMP
referenceSTRING
requested_amountINT64
source__typeSTRING
source__entry_pointSTRING
source__identifierSTRING
source__sourceSTRING
statusSTRING
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: transactions__log__history

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
typeSTRING
messageSTRING
timeINT64
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

Subtable: transactions__log__input

ColumnTypeDescription
_kaivo_parent_idSTRINGForeign key referencing _kaivo_id in the parent table. Auto-generated by Kaivo.
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
valueJSON
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.
ColumnTypeDescription
_kaivo_idSTRINGPrimary key that uniquely identifies the row. Auto-generated by Kaivo.
amountINT64
created_atTIMESTAMP
currencySTRING
domainSTRING
idINT64
integrationINT64
reasonSTRING
referenceSTRING
recipient__typeSTRING
recipient__activeBOOL
recipient__created_atTIMESTAMP
recipient__currencySTRING
recipient__descriptionSTRING
recipient__details__account_nameSTRING
recipient__details__account_numberSTRING
recipient__details__bank_codeSTRING
recipient__details__bank_nameSTRING
recipient__domainSTRING
recipient__idINT64
recipient__integrationINT64
recipient__nameSTRING
recipient__recipient_codeSTRING
recipient__updated_atTIMESTAMP
sourceSTRING
statusSTRING
transfer_codeSTRING
updated_atTIMESTAMP
_kaivo_extracted_atTIMESTAMPTimestamp that shows when the row was extracted. Auto-generated by Kaivo.

How the Paystack sync works

After the first load, Kaivo keeps your BigQuery warehouse up to date for you. Where Paystack supports it, each sync pulls only new and changed records so it stays fast; otherwise it refreshes the whole table. Every record keeps its original ID, so you won't get duplicate rows.

Frequently asked questions

How long does the initial sync take for Paystack?

It depends on how much history is in your Paystack account. Most initial syncs finish within minutes, while large accounts can take a few hours. After that, syncs only fetch new and changed records, so they're much faster.

Can I sync only some tables or columns?

Yes. You pick which tables to sync when you set up the connection and can change the selection later. Tables you don't select are never copied to your warehouse.

What happens when Paystack's schema changes?

New fields are never added automatically. You choose which fields to sync, so data you haven't selected (sensitive personal data, for example) never lands in your warehouse. When a new field appears, it becomes available for you to add. What happens to removed or renamed fields depends on a table's sync mode: full-refresh tables always match what's currently in Paystack, so dropped fields disappear, while incremental tables keep their existing columns and history, so an old field stays and newly added fields fill in over time.

How do I handle GDPR or data deletion requests?

Your data lives in your own Kaivo-managed BigQuery warehouse, so the most direct option is to delete or anonymise specific records right in BigQuery. If you delete data in Paystack instead, full-refresh tables drop it on the next sync, while incremental tables keep it, so you would remove the row in BigQuery or ask us to run a full refresh. To remove everything, delete the Paystack connector in Kaivo and all of its synced data is deleted with it.

Common use cases for Paystack data

Revenue reporting

Use transactions and settlements to track payment volume and payouts over time.

Subscription tracking

Bring subscriptions into BigQuery to monitor recurring revenue and churn.

Dispute and refund analysis

Use disputes and refunds to watch chargeback and refund rates.

Customer view

Join transactions with customers to measure repeat payments and lifetime value.

Use Paystack data in your AI and BI tools

Once Paystack data lands in your Kaivo-managed BigQuery warehouse, you can explore it with AI tools or any BI tool that connects to BigQuery. Here's how the most common destinations work with Paystack data.

Claude

Use Kaivo's MCP server to give Claude secure, workspace-scoped access to your data. Setup guide →

Power BI

Microsoft's BI tool with a native BigQuery connector. Supports direct query and scheduled refresh. Setup guide →

Data Studio

Free Google BI tool with native BigQuery support. One-click connection to your Kaivo warehouse; great for SMB teams on Google Workspace. Setup guide →

Tableau

The premium analytics standard, with native BigQuery integration. Setup guide →

Google Sheets

Use Connected Sheets to query BigQuery directly from a spreadsheet, with no SQL. Setup guide →

Excel

Connect via Power Query's BigQuery connector. Setup guide →

Metabase

Open-source BI tool with strong BigQuery support. Setup guide →

See our pricing page for Paystack connector pricing and plan details.

Was this helpful?

Still need help? Share an idea