Overview
These endpoints control network access and environment selection for merchant integrations:- Check or activate mainnet access (if required for your account).
- Set your default environment (
devnetormainnet) for SDK/API calls that support it.
Authentication
Merchant auth:x-api-key: sk_live_...(server-to-server), orAuthorization: Bearer <jwt>(dashboard context)
Request
Endpoints:POST /api/v1/user/mainnet-access/activateGET /api/v1/user/mainnet-access/statusPUT /api/v1/user/environment
Response
Example response:Errors
401/403missing/invalid credentials400invalid environment value

