201Successful Response
Schema: SuccessEnvelope_ApiClientResponse_
successbooleanmessagestringcodestringdataApiClientResponse
/api/v1/api-clientsRegister a partner API client with its public keys (JWK set). Requires the two-factor step-up; refused for API tokens.
Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.
Schema: ApiClientCreate
namestringrequiredClient name
descriptionstringscopesarray · stringWhat every token issued to this client may do. Same vocabulary as API tokens: credit, credit:read, credit:payments, read_only, api (full access).
allowed_ipsarray · stringIPv4/IPv6 addresses or CIDR ranges the client may request tokens from and use them from. Omit for any IP.
rate_limit_per_minuteintegerRequests per minute each issued token may make; omit for the platform default.
token_ttl_secondsintegerLifetime of each access token, in seconds (60-3600).
jwksobjectrequiredJWK set ({"keys": [...]}) with the public keys the client signs its assertions with: RS256 (RSA >= 2048 bits), ES256 (P-256) or EdDSA (Ed25519). Public members only; every key needs a kid when there is more than one.
require_mtlsbooleanBind every token to the client certificate presented at the token endpoint (RFC 8705). Only available where the load balancer forwards client certificates (mtls_available).
mtls_cert_thumbprintsarray · stringOptional pin list of SHA-256 certificate thumbprints (hex or base64url). Empty: any certificate the load balancer accepted.
require_signed_requestsbooleanPayment requests must also carry a signature from a signing key.
Schema: SuccessEnvelope_ApiClientResponse_
successbooleanmessagestringcodestringdataApiClientResponseSchema: 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.