Environments
LB Pay exposes two environments. You build and certify against staging, then move to production once homologation is approved.
| Environment | Base URL | Purpose |
|---|---|---|
Staging (SDB) | https://api.sdb.lbpay.com.br | Development, testing and homologation |
Production (PROD) | https://api-secure.lbpay.com.br | Live money |
Every endpoint is prefixed with /v1. A deposit call in staging is therefore:
POST https://api.sdb.lbpay.com.br/v1/pix/deposit/immediate-charge
Staging behaviour
Staging simulates the real API with fictitious funds, including webhook events. One route is
staging-only: POST /v1/pix/mock/simulate-payment, used in the
Quickstart to simulate a player paying an open charge.
Staging and production credentials are different and non-interchangeable. See Authentication for how to store and rotate them.
mTLS endpoint
Some routes are served over a mutual-TLS endpoint (api-secure.lbpay.com.br) and require a
client certificate issued by LB Pay. See mTLS Onboarding for the enrollment
process. LB Pay environments for mTLS are identified as STG, SDB and PROD.
Next step
Configure Authentication and obtain your first access token.