Skip to main content
GET
Validate an authorization request

Query Parameters

client_id
string
required

Registered client identifier assigned when your application was approved.

redirect_uri
string<uri>
required

Must exactly match one of your application's registered redirect URIs.

scope
string
required

Space-separated list of permission scopes your application is requesting. Scopes are enforced per request — a token is rejected with 403 insufficient_scope if it calls an endpoint it wasn't granted the matching scope for. Request only what your app needs.

Available scopes: read, write, products:read, categories:read, pricing:read, cms:read, shipping:read, search:read, recommendations:read, promotions:read, gift_cards:read, store:read, orders:read, orders:write, customers:read, customers:write, payments:read, payments:write, cart:write, reviews:read, reviews:write, messaging:read, messaging:write, returns:read, returns:write, disputes:read, disputes:write, b2b:read, b2b:write, agent:read, agent:write, shopper_subscriptions:read, shopper_subscriptions:write, fulfilment:read, team:read, storefront_site:write, ab_attribution:write, support_tickets:write, storefront_template:write

payments:write is required to initiate a payment; without it (or write) the call returns 403 forbidden. b2b:* is offered only for wholesale stores and disputes:* only for marketplaces. The app's publishable key never carries write, orders:*, customers:*, payments:* or b2b:write; those belong to its secret key.

Sign-in scopes: openid, email, profile return the signed-in person in the token response. With no other scope the request is identity-only: any user can approve it, no store is linked and no keys are issued. Combined with store scopes the person must own the store they link, and a user who owns none is redirected with error=access_denied and error_description=no_owned_store. team:read lets the key pair call GET /v1/connect/team and must accompany another store scope.

storefront_site:write lets the key pair report the storefront's address and routes with PUT /v1/storefront/site. ab_attribution:write lets it register its own A/B experiments and read the paid orders and sales for each variant under /v1/storefront/experiments; the consent screen states this to the merchant in its own line. support_tickets:write lets it open support requests for the merchant with POST /v1/storefront/tickets and read where each stands; storefront_template:write lets it offer templates under /v1/storefront/templates, which the merchant accepts or declines. All four are for the secret key only.

state
string
required

A random value you generate and store. Galactic Core returns it unchanged in the callback so you can verify it and prevent CSRF attacks.

environment
enum<string>
default:sandbox

Whether to connect to the merchant's live store data or test data. Defaults to sandbox. Pass production once your integration is ready for live data. Merchants see this clearly on the consent screen.

Available options:
sandbox,
production
store_hint
string<uuid>

A store the consent screen preselects. Honoured only when the signed-in user owns that store; otherwise ignored.

Response

Request is valid — consent page can render

valid
boolean
required
Example:

true

client
object
required
request
object
required