Skip to documentation content

Braintree

Prepare Braintree Level 2/3 fields from authoritative invoices, merge them into your own transaction call, and record processor evidence from scheduled transaction polling and signed Braintree webhooks.

On this page

Your backend keeps control of Braintree

Carden's Braintree integration is a server-to-server companion for a merchant's existing Braintree backend. Carden prepares Braintree Level 2/3 fields from a QuickBooks invoice or an inline CanonicalInvoice v1. The merchant backend merges those fields into its own gateway.transaction.sale or gateway.transaction.submitForSettlement call, keeps its payment method nonces and gateway credentials, and reports outcomes.

From invoice facts to processor evidence

Each handoff is observable on its own; no earlier step substitutes for settlement evidence.

  1. Prepare

    Request Level 2/3 fields

    Carden validates a linked QuickBooks invoice or an inline CanonicalInvoice v1 and returns Braintree fields.

  2. Pay

    Merge into your Braintree call

    Your backend spreads the fields into transaction.sale or submitForSettlement with its own nonce and credentials.

  3. Report

    Report the outcome

    Your backend reports the attempt with the preparation ID so Carden can correlate it.

  4. Observe

    Poll transactions and verify webhooks

    Carden reads card sales, refunds, status changes, and disputes from Braintree on a schedule with a restricted key, and verifies signed webhooks for disputes and ACH/SEPA settlement.

SystemResponsibility
QuickBooks or inline inputAuthoritative invoice, PO, item, quantity, unit, tax, shipping, and discount facts.
CardenValidation, immutable preparation, Braintree Level 2/3 fields, merchant-reported outcomes, scheduled transaction polling, and signed webhook evidence.
Merchant backendBraintree gateway credentials, payment method nonces, transaction.sale or submitForSettlement, and report delivery.
BraintreePayment processing, settlement, refunds, disputes, transaction search, and webhook notifications.

What Carden records from Braintree

Braintree sends transaction webhooks only for ACH and SEPA Direct Debit sales and refunds, not for card transactions. Carden therefore polls Braintree with the restricted key: the first run after connecting reads the previous 90 days of sales and credits, and each later run reads transactions whose creation, settlement submission, settlement, void, authorization expiry, or dispute date moved since the previous run. Every polled or webhook-delivered transaction is retained as an immutable snapshot and projected the same way: settlement status, refunds (credit transactions that reference the sale), and disputes are recorded against the payment, together with the card classification Braintree returns (Commercial, Purchase, Corporate, Business, Debit, Prepaid, and Product ID) and whether the transaction retained a purchase order number, tax amount, and line items. Your backend's payment report links the transaction to its invoice preparation; polling confirms what Braintree actually observed.

An open or under-review dispute marks the invoice evidence as requiring reconciliation until Braintree reports it won. A lost, accepted, or expired chargeback is recorded with its resolution date and flags the reversed funds for accounting reconciliation.

Current limits

AreaLimit
Release stagePreview.
CurrencyLevel 2/3 fields are prepared for USD transactions only.
Line itemsUp to 249 line items per transaction.
Card outcomesBraintree does not send settlement or refund webhooks for card transactions. Carden polls them on a schedule, so a card settlement or refund appears in Carden within the polling interval rather than immediately.
Polling historyThe first run reads 90 days of transactions. Older transactions are not imported.
Fees and interchangePer-transaction fees and the interchange category are not available from transaction reads or webhooks. Transaction Level Fee Report import is planned for later.
Invoice scopeOne fully unpaid invoice per transaction; the amount must equal the full invoice total.

Savings vary by card product, network, merchant category, and the merchant's processor pricing. A lower interchange category only lowers merchant cost when the processor agreement passes it through.

Implement Braintree in order