200Successful Response
Schema: SuccessEnvelope_ProviderFeedConfig_
successbooleanmessagestringcodestringdataProviderFeedConfig
/api/v1/provider-feeds/{provider}Pick an existing ledger or name a new one, and the first date to post.
Effect: saves the choice. Nothing is posted and posting stays off.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
providerstringrequiredOne of: brex, payliance
Schema: ProviderFeedConfigureRequest
ledger_idstringAn existing ledger of the business to post to.
new_ledger_namestringCreate (or reuse) a ledger of this name instead of picking one.
start_datestring · daterequiredRows dated before this are never posted (inclusive start).
hold_unattributed_creditbooleanWhile the credit program posts to the GL, hold rows that are not tied to a credit event instead of booking them as ordinary cash. Default true.
post_date_basisstringPayliance: settled (default) or uploaded. A debit is still posted only once settled. Changing the basis moves the debits already posted (and their journal entries) to the new date, except those dated in a closed or locked period; the response counts them in redated and redate_skipped_locked.
Schema: SuccessEnvelope_ProviderFeedConfig_
successbooleanmessagestringcodestringdataProviderFeedConfigSchema: 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.
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.