envs

Midtrans — payments

midtrans/api · version 1

envs add midtrans/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
MIDTRANS_SERVER_KEY required secret Server-side key.. where to get it
MIDTRANS_CLIENT_KEY required config Snap.js takes this key in the browser, which is the direction that makes it public.. where to get it

The JSON the CLI reads