Finalize Xero multi-org connect
POST
/api/v1/xero/oauth/select-tenant
Called by the picker page once the user chooses one of the parked tenants. Persists the connection row keyed to the selected tenantId.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Request body
Schema: XeroSelectTenantRequest
-
noncestring required -
Server-issued nonce from the OAuth callback
-
tenant_idstring required -
Xero tenantId to bind to this business
Responses
400 Bad Request - Invalid input
401 Unauthorized - Authentication required
403 Forbidden - Insufficient permissions
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-