List counterparty defaults

GET /api/v1/counterparty-defaults

List all counterparty defaults configured for the current business.

Operation ID: list_counterparty_defaults_api_v1_counterparty_defaults_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Responses

200 Successful Response

defaults array · CounterpartyDefaultResponse requiredCounterpartyDefaultResponse
10 fields
id string required
business_id string required
registry_id string required
counterparty_name string required
default_ledger_id string required
default_ledger_name string
memo string required
mark_personal boolean required
created_at string · date-time required
updated_at string · date-time required
total integer required

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object