Xero OAuth callback
GET
/api/v1/xero/oauth/callback
Handle Xero OAuth redirect. Called by Xero, not the frontend.
Authentication
Bearer token authentication. Pass your DayZero API token in the
Authorization header and the
target business UUID in
x-business-id.
Parameters
Query
-
codestring required -
Authorization code from Xero
-
statestring required -
HMAC-signed business ID
Responses
422 Validation Error
Schema: HTTPValidationError
-
detailarray · ValidationError ValidationError -
5 fields
-
locarray · string | integer required -
msgstring required -
typestring required -
inputobject -
ctxobject
-