Skip to main content
Barte is a Brazilian payments platform for online billing, in-person card terminals, and recurring subscriptions. This connector extracts orders, charges, subscriptions, buyers, plans, payment links, and the account’s financial statement from your Barte account into your Nekt Catalog.

Configuring Barte as a Source

In the Sources tab, click the “Add source” button in the top-right corner, then select Barte from the list of connectors. Click Next and add your access details.

1. Add account access

The following configuration fields are available:
  • API key: Token used to authenticate against the Barte API, sent as the X-Token-Api header.
    • If your account is a seller (vendedor), find it in the Barte seller portal under Configurações » Integração.
    • If your account is a payment intermediary (intermediador), find each seller’s key in the intermediary portal under Vendedores » select the seller » Integração.
    • For details, check the Barte authentication documentation.
  • Environment: Which Barte environment to read from, production or sandbox. Keys are issued per environment and are not interchangeable.
  • Start date (advanced): The earliest record date to sync. It bounds the first run of Charges and the date windows of the two Statement streams. Orders, Buyers, Plans, and Payment links have no date filter in the Barte API and are always read in full.
  • Requests per minute (advanced): Maximum number of requests per minute the connector sends. Barte publishes no numeric quota but answers HTTP 429 when an account goes too fast, so this acts as a safety belt. Lower it if your account gets rate limited.
  • Window size (days) (advanced): Days requested per call on the two Statement streams.
After configuring access, click Next.

2. Select streams

Choose which streams you want to sync. For faster extractions, select only the streams you need.
Tip: You can search streams by name.
Select the streams and click Next.

3. Configure data streams

Customize how data should appear in your Catalog, including layer, table naming, and sync type.
  • Layer: Select the destination layer where extracted tables will be created.
  • Table name: Use the suggested name or customize it. You can also apply a prefix to all tables.
  • Sync Type: Choose between INCREMENTAL and FULL_TABLE.
Only the Charges stream supports INCREMENTAL sync. Barte’s other list endpoints have no creation-date filter, so every other stream reads in full on each run.
When you’re done, click Next.

4. Configure data source

Add a clear description for this source so your team can identify it easily. To define your Trigger, choose how often data should be extracted (for example, daily, weekly, or at fixed times). Optionally, configure additional settings:
  • Delta Log Retention, which controls how long old table states are kept. Learn more here.
  • Additional Full Sync, to periodically complement incremental runs with a complete refresh.
When you are ready, click Next to finalize setup.

5. Check your new source

You can view your new source on the Sources page. If needed, trigger a run manually from the source actions.
To see data in the Catalog, at least one source run must complete successfully.

Good to know

  • Orders vs. Charges. An order (pedido) is the commercial intent — what was sold, to whom, for how much. A charge (cobrança) is an individual payment attempt against it. A one-off sale has a single charge; an instalment plan or a subscription cycle has several. Join them on order_uuid.
  • Incremental sync filters on creation, not update. A charge whose status changes long after it was created — a late refund or a chargeback — is not picked up again by an incremental run. Schedule an Additional Full Sync if you need those corrections reflected. The two Statement streams re-read their whole window on every run, so they already repair themselves.
  • Subscriptions come from charges. Barte publishes no endpoint that lists subscriptions, so this connector reaches them through the charges they generated. A subscription that has never produced a charge is not available through the API, and on an incremental run you see the subscriptions billed inside the window.
  • Statement entries may not be available. The /report/statement endpoint is documented under Barte’s payment-intermediary section. If your key is a plain seller key and Barte refuses it, the connector skips that stream with a warning in the run log and continues; use Statement with balance instead.
  • Nested data is stored as JSON strings. Fields such as charges and refunds are text columns containing JSON, so they can be parsed in a Query or Notebook without the table schema changing when Barte adds a field.

Streams and Fields

Below are the currently available streams in the Barte connector and their main fields.
Orders (pedidos) created on the account, from the /v2/orders endpoint.
Individual payment attempts, from the /v2/charges endpoint. This is the only stream that supports INCREMENTAL sync.
Recurring billing agreements, from the the subscription detail endpoint endpoint. Barte has no endpoint that lists subscriptions, so they are reached through the charges they generated.
Customers registered on the account, from the /v2/buyers endpoint.
Subscription plan catalogue, from the /v2/plans endpoint.
The account’s financial ledger, from the /report/statement endpoint. Only available to payment intermediary accounts; the stream is skipped when the key is not allowed to read it.
The same movements plus the running account balance, from the /report/statement_with_balance endpoint.