Get default payment term

GET /api/v1/payment-terms/default

Get the default payment term for the business.

Operation ID: get_default_payment_term_api_v1_payment_terms_default_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

id string required

Payment term UUID

business_id string required

Business UUID

name string required

Display name

days_until_due integer required

Days until payment is due

discount_percent number

Early payment discount percentage

discount_days integer

Days to receive discount

is_default boolean required

Is default payment term

is_active boolean required

Is active

created_at string · date-time required

Creation timestamp

updated_at string · date-time required

Last update timestamp

401 Unauthorized - Authentication required

403 Forbidden - Insufficient permissions

404 Not Found - Resource does not exist

422 Validation Error

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