get
https://api.cardda.com/v1/banking/bank_payrolls/
Returns a paginated list of bank payrolls — the batches of wire-transfer transactions Cardda submits to a single bank account. A payroll groups multiple transactions so they can be authorized at the bank with a single TOTP / coordinate / signature challenge.
Use this endpoint to:
- Show "month-end vendor batches" in your dashboard, sorted newest-first.
- Audit the lifecycle of a batch (
draft→pending_authorization→processing→confirmed/failed). - Reconcile each line item: the response includes
transactionsfor every payroll, so you don't need a second round-trip per row. - Pull the receipt (
receiptistrueonce the bank returns the proof of payment).
Response structure
Each payroll exposes:
| Field | Description |
|---|---|
id | UUID. |
name | Free-form label (e.g. "April vendor batch"). |
status | Lifecycle status (see enum below). |
transition | Currently-running async transition, when applicable (enroll, preauthorize, authorize, remove, validate, sync). |
payment_date | Scheduled payment date (date only). |
category | Optional grouping key set by the company. |
online | Payment timing flag — true for same-day payrolls, false for deferred payrolls (a future payment_date is required). |
holder_id | UUID of the company (multi-tenancy). |
sender_id | UUID of the source bank_account. |
bank_id | Bank where the payroll lives (e.g. cl_banco_de_chile, cl_santander). |
external_id | Identifier returned by the bank once the payroll is accepted. |
number_of_transactions | Count of line items in the batch. |
total | Sum of amount across all transactions. |
transactions | Embedded array of line items. |
receipt | Whether a downloadable receipt exists. Pull it from GET /v1/banking/bank_payrolls/{id}/receipt/url. |
Common queries
# Most recent 60 payrolls of a company (the dashboard's default)
GET /v1/banking/bank_payrolls?\
holder_id=<company_uuid>&_order=desc&_field=created_at&_start=0&_end=60
# Only payrolls awaiting authorization (the "to-do" inbox)
GET /v1/banking/bank_payrolls?\
status={"$in":["pending_authorization","preauthorized"]}&\
holder_id=<company_uuid>
# Search by name
GET /v1/banking/bank_payrolls?\
name={"$regex":"april"}&holder_id=<company_uuid>
# Batch fetch by id
GET /v1/banking/bank_payrolls?id={"$in":["<uuid1>","<uuid2>"]}
# Payrolls of a specific source account
GET /v1/banking/bank_payrolls?sender_id=<bank_account_uuid>
All operators in Filters ($gt, $lt, $in, $regex, $or, $ne, …) are supported across every column listed in Query parameters.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Unauthorized — missing or invalid bearer token, or company-id header not set.
403Forbidden — user is not a member of the company referenced by company-id.
