# Pagar.me + Databricks

> Automate the ingestion of transactions, charges, and subscriptions from Pagar.me into Databricks. Get started for free.

Source: https://www.erathos.com/en/pipelines/pagar-me-databricks
Em português: https://www.erathos.com/pipelines/pagar-me-databricks

[Pagar.me](http://pagar.me/) is a Brazilian company specialized in online payment solutions. It offers services that enable the integration of payment methods into digital platforms, facilitating online transactions for businesses across various industries. Amazon Redshift, on the other hand, is a cloud data warehouse designed for fast and efficient analysis of large volumes of data.

With Erathos, your Pagar.me data lands in Databricks ready to feed Machine Learning models and advanced analytics pipelines, within the same environment where your team already processes other data sources.

### What Pagar.me data does Erathos sync to Redshift?

The integration automatically syncs the main Pagar.me objects:

- **Transactions:** approved, declined, and refunded payments
- **Subscriptions:** plans, statuses, 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:** approved or failed payments, cancelled subscriptions, and more

### Why sync Pagar.me with Databricks?

In Databricks, your Pagar.me data is ready for Machine Learning models, advanced analytics, and ad-hoc queries, within the same environment where your team already builds data pipelines.

### How it works

Erathos connects to Pagar.me via official API and syncs your data incrementally: only new or updated records are processed in each run, keeping pipelines fast and Databricks costs predictable. You choose the sync frequency (from 5 minutes to daily), the objects to sync, and the destination dataset. Each run is logged with full observability: runtime, processed rows, contextual errors, and instant alerts via Slack or email if anything goes wrong.

## Data in your data warehouse in minutes

### Ready-to-use Pagar.me connector

Connect Pagar.me to Databricks and automatically sync transactions, subscriptions, charges, and refunds. Reliable, auditable financial data in your DW.

### Total control over your Pagar.me pipelines

Configure frequency, sync type, and partitioning by table. Data arrives in Databricks ready for ML, analytics, and ad hoc queries—with predictable cost.

### End-to-end observability

Stop finding out about Pagar.me failures only after the business team complains. Every run is logged with runtime, rows processed, and error context. Automated alerts via Slack, Discord, or email the moment something goes off track — so critical financial data is always available and auditable.

## Centralizing Pagar.me data in Databricks has never been easier.

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

## FAQ

### What is Erathos and how can it help my company?

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 into every run, zero maintenance, and none of the opacity of traditional market tools.

### What Pagar.me data does Erathos synchronize to Databricks?

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

### How often does Erathos sync data from Pagar.me to Databricks?

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

### What happens if a Pagar.me synchronization fails?

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 execution is logged with run time, processed rows, and error context so your team can debug in minutes, not hours.

### Is there a free trial period for the Pagar.me connector?

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