Provision AP approval workflow for firm

POST/api/v1/ap-approval/provision

Create or retrieve the AP approval workflow for the firm associated with this business.

Operation ID: provision_ap_approval_workflow_api_v1_ap_approval_provision_post·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.

Parameters

Query

auto_approve_max_centsintegerdefault: 50000

Max amount in cents for auto-approval (default: $500)

ops_approve_max_centsintegerdefault: 500000

Max amount in cents for ops approval (default: $5,000)

Responses

201Successful Response

successboolean
messagestring
codestring
dataApApprovalProvisionResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject