envs

Square — payments

square/payments · version 1

envs add square/payments

This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.

Key Needed Kind Notes
SQ_APPLICATION_ID required config Square never states this is safe to expose. It is public here because Square's own Web Payments quickstart passes it to the browser SDK, so a working integration puts it there regardless.. where to get it
SQ_ACCESS_TOKEN required secret Square says not to hardcode access tokens and that one can impersonate the account owner with full access. Sandbox and production differ by value and base URL, not by variable name. The name follows Square's own SQ_ prefix but is convention.. where to get it

The JSON the CLI reads