200Successful Response
Schema: SuccessEnvelope_BulkAcceptPaymentSuggestionsResponse_
successbooleanmessagestringcodestringdataBulkAcceptPaymentSuggestionsResponse
/api/v1/payment-suggestions/bulk-acceptAccept many pending invoice (deposit -> invoice) or bill (payment -> bill) match suggestions at once: the suggestion_ids you name, or every pending suggestion at or above min_confidence (default 0.85), optionally for one customer / vendor (party_id) and a bank-transaction date range. Each accept is isolated, so a bad row never loses the rest (results lists every one). The batch is one payment_match automation run: undo it with POST /automation-runs/{run_id}/undo. dry_run lists what would be accepted.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: BulkAcceptPaymentSuggestionsRequest
kindstringrequiredinvoice = deposits matched to invoices, bill = payments to bills
One of: invoice, bill
suggestion_idsarray · stringAccept exactly these suggestions (the filter is then ignored)
min_confidencenumberFilter: lowest confidence to accept (default 0.85)
party_idstringFilter: one customer (invoice) or vendor (bill)
start_datestring · dateFilter: earliest bank-transaction date
end_datestring · dateFilter: latest bank-transaction date
limitintegerdry_runbooleanList what would be accepted; change nothing
plan_hashstringplan_hash of the dry run; refused if the suggestions moved since
Schema: SuccessEnvelope_BulkAcceptPaymentSuggestionsResponse_
successbooleanmessagestringcodestringdataBulkAcceptPaymentSuggestionsResponseSchema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.
Schema: ErrorResponse
errorstringrequiredError category: validation_error, unauthorized, forbidden, not_found, conflict, rate_limited, server_error, or service_unavailable.
messagestringrequiredHuman-readable explanation, safe to show to end users.
codestringrequiredStable machine-readable code in CATEGORY_NNN form (e.g. NOT_FOUND_006, AUTH_010, GEN_002).
request_idstringCorrelation id for support requests. Echoes the x-request-id request header when one was supplied.
errorsobjectField-level validation messages keyed by field name. Present on 400/422 validation failures only.