Square OAuth callback

GET /api/v1/square/oauth/callback

Handle Square OAuth redirect. Called by Square, not the frontend.

Operation ID: square_oauth_callback_api_v1_square_oauth_callback_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

code string required

Authorization code from Square

state string required

HMAC-signed business ID

Responses

200 Successful Response

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object