Get started
Environments
Two fully separate environments, each with its own address, keys and mappings.
Side by side#
| Sandbox | Production (live) | |
|---|---|---|
| Base URL | Given with your key at onboarding | Given before go-live |
| Keys | lpk_test_… | lpk_live_… |
| Data | The real menu and branches, test customers and orders, the payment provider’s test cards | Live data |
| Mappings | Sandbox only | Production only |
| Test orders | From the test website and app, or in a joint session with us | A pilot branch first, then branch by branch |
The base URL#
Environment addresses are not published on this site: you get yours with your key. Every path starts with /partner/v1.
curl -sS "$LP_BASE_URL/partner/v1/me" -H "Authorization: Bearer $LP_API_KEY"Check the environment on start-up#
When your system starts, call GET /partner/v1/me and check that environment is the one you expect. It stops a production configuration from running with a sandbox key, and the other way round.