Pagar.meClickHouse

Pagar.me + ClickHouse

Pagar.me is a Brazilian fintech specialized in online payment solutions. It provides services that enable the integration of payment methods into digital platforms, streamlining online transactions for businesses across various sectors. ClickHou

With Erathos, you can integrate data from Pagar.me into ClickHouse in just a few minutes. Our platform manages the entire data movement pipeline into your analytical environment, allowing you to blend your payment data with other sources in your Data Warehouse. This frees up your time to focus on what actually drives value — extracting powerful insights and making data-driven decisions.

Get started

14-day free trial. No credit card required.

Trusted by great companies

Ace Startups
Kamino
Convenia
Vakinha
Linus
Rabbot
Auvo
Roqt
Xperiun
Tecnova
WePayments
Brick
CCM
Simplified extraction and ingestion

Move data in a few clicks

1

Connect your source

Authenticate your account and you're done. 100+ ready-made connectors, no code required.

2

Configure the sync

Pick the tables, the schedule and the update type: batch, cursor-based incremental or CDC.

3

Choose your destination

Load into BigQuery, Redshift, Databricks, PostgreSQL, ClickHouse, Amazon S3 and more.

What Pagar.me data does Erathos sync with ClickHouse?

The integration automatically syncs the primary Pagar.me objects:

  • Transactions — approved, declined, and refunded payments
  • Subscriptions — plans, status, MRR, and renewal dates
  • Charges — invoices, bank slips (boletos), and recurring billing data
  • Refunds — chargebacks and disputes with full context
  • Customers — profile data and payment history
  • Webhook events — payment approved, failed, subscription canceled, and more

Why sync Pagar.me with ClickHouse?

With ClickHouse, you can run OLAP queries on your Pagar.me data in milliseconds, making it the perfect fit for high-concurrency dashboards and high-volume time-series data.

Available data

What Pagar.me sends to ClickHouse

11 Pagar.me tables can be synced to ClickHouse. Each table is created in ClickHouse with the same name it has in the connector, inside the schema you choose when setting up the connection.

A closer look at some tables

charges

53 fields
Some of the fields
amountcodecreated_atcurrencycustomer.created_atcustomer.delinquentcustomer.emailcustomer.idcustomer.namecustomer.phonescustomer.updated_atidand 41 more

customers

7 fields
Some of the fields
created_atdelinquentemailgenderidnameupdated_at

orders

17 fields
Some of the fields
amountchargesclosedclosed_atcodecreated_atcurrencycustomer.created_atcustomer.delinquentcustomer.emailcustomer.idcustomer.nameand 5 more

A first query in ClickHouse

Reading the Pagar.me charges table straight from ClickHouse. Replace your_schema with the schema you chose for the connection.

SELECT
  JSONExtractString(customer, 'created_at') AS customer_created_at,
  JSONExtractString(customer, 'delinquent') AS customer_delinquent,
  JSONExtractString(customer, 'email') AS customer_email,
  JSONExtractString(customer, 'id') AS customer_id
FROM your_schema.charges
LIMIT 10

Nested fields such as customer.created_at generally land in ClickHouse as JSON, in a column named after the top level (customer). That is why the query reads them with ClickHouse's JSON functions.

Available tables

  • addresses · under customers
  • cards · under customers
  • charges
  • customers
  • invoices
  • operations
  • orders
  • payables
  • plans
  • recipients
  • subscriptions
Why companies replicate data from Pagar.me to ClickHouse with Erathos

Centralizing Pagar.me data in ClickHouse has never been easier

Erathos is a data ingestion platform built for financial and data teams. With the Pagar.me connector, you can automatically sync transactions, subscriptions, charges, and refunds to ClickHouse — delivering auditable, reliable, and always up-to-date financial data.

Why do data teams choose Erathos for Pagar.me?

Data in your data warehouse in minutes

14-day free trial. No credit card required.
Our partners

Building data-driven stories

“Every new source implementation, if I had to do it myself, would take about two or three months. With Erathos, it's done in a few hours. I don't need the skills of a data engineer to generate real value from the company's data.”

Bruno Rosso
Bruno RossoData Analyst, Brick Software

“Erathos revolutionized data management at WE. By integrating multiple SaaS tools into a single DW, our technical team now focuses on the core business. We implemented dashboards with insights across every area, enriching our organizational culture and improving our decision-making.”

Matheus Nunes
Matheus NunesCTO & co-founder, WePayments

“We used to have a lot of rework, and now we don't. It's more efficient to work this way. If it's not your core business, hire Erathos. Spend your time modeling your own domain, not someone else's.”

Carlos Schwabe
Carlos SchwabeCo-Founder & CDO, Brick

“If I didn't have this infrastructure, I'd need three or four people to do what Erathos does today. I was able to generate real value from my data with a much leaner setup than I thought I'd need. That's the core of building a data-driven culture: the team only uses data when they can trust it.”

Thiago Paz
Thiago PazCFO, Brick

“Erathos brought a practical turnaround at CCM. We were able to integrate financial systems, CRM, and processes with BigQuery in just a few clicks, with no technical team required. That gave us a reliable data warehouse that powers automations, dashboards, and even our customer service bots.”

Gustavo Loforte
Gustavo LoforteTechnology Manager, CCM Group

“The robustness and efficiency of Erathos's connectors — whether for Meta, Google, RD Station, or ERPs like Bling and Conta Azul — make the whole process much faster and more reliable. The technical documentation is extremely well put together and intuitive, which makes implementation much easier.”

Sayuri Valente
Sayuri ValenteProject Manager, Xperiun
Explore

Other paths for your data

Other sources that land in ClickHouse

CRMs, ERPs, ad platforms and databases, all through the same managed pipeline.

See every source
FAQ

Frequently Asked Questions

Erathos is a data ingestion platform built for reliability, transparency, and control. We help data teams connect tools like Pagar.me to their data warehouse — with full observability of every run, zero maintenance, and without the opacity of traditional market tools.

Erathos syncs Transactions, Subscriptions, Charges, Refunds, Plans, and Customer data from Pagar.me to Clickhouse. Webhook events like approved or failed payments and chargebacks are also captured automatically.

You can configure the sync frequency from every 5 minutes to daily, at the table level. Erathos uses incremental sync—only new or updated records are processed in each run, keeping your Pagar.me pipeline efficient and your Clickhouse costs predictable.

Erathos automatically detects failures and sends alerts to your email, Slack, or Discord with full context — not just "job failed." Smart retries handle transient errors, and every run is logged with runtime, rows processed, and error context so your team can debug in minutes, not hours.

Yes. Every Erathos connector comes with a 14-day free trial. Connect Pagar.me to Clickhouse and start syncing immediately — no credit card required.

Data ingestion with control, observability and scale