Lightspeed
Lightspeed OAuth callback
GET
Lightspeed redirects the popup here; do not call it directly. Exchanges the code,
registers the MyNearStores webhook with Lightspeed in the background, and posts
{ type: 'LIGHTSPEED_OAUTH_SUCCESS', domain_prefix, bu_id, terminal_id } (or
{ type: 'LIGHTSPEED_OAUTH_ERROR', error }) to window.opener.
code*stringdomain_prefix*stringstate*stringSuccess page.
response?stringtext/htmlcurl -X GET "https://example.com/lightspeed/oauth/callback?code=string&domain_prefix=string&state=string""string"