Environments

Build and test against staging, then switch both the base URL and API key when you move to production.

Base URLs#

EnvironmentBase URLAPI key format
Staginghttps://api-stg.vudy.appvudy_sandbox_<secret>
Productionhttps://api.vudy.appvudy_production_<secret>

Key rules#

  • Obtain keys from the Vudy dashboard and store them as secrets.
  • Staging accepts vudy_sandbox_… keys. Production accepts vudy_production_… keys.
  • A key sent to the wrong host fails authentication with 403.
  • Prefixes such as vudy_stg_… and vudy_prod_… are not valid API key formats.

Payment request share links use separate request hosts:

EnvironmentRequest host
Staginghttps://stg-request.vudy.app
Productionhttps://request.vudy.app

Use URLs returned by create endpoints rather than constructing share or embed URLs yourself.

Next steps#