Square OAuth callback
GET
/api/v1/square/oauth/callback
Handle Square OAuth redirect. Called by Square, 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 Square
-
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
-