envs

PayPal — REST API

paypal/api · version 1

envs add paypal/api

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
PAYPAL_CLIENT_ID required config PayPal does not call it public in prose, but its own JS SDK loads with the client id in the script tag on your page, so the browser has it either way. That is what makes it public here, not the fact that it is the non-secret half.. where to get it
PAYPAL_CLIENT_SECRET required secret PayPal says it must be kept secure and used only server-side. An account may hold two at once, which is how rotation works: add the second, move over, delete the first.. where to get it

The JSON the CLI reads