I have configured BrainTree API key in the Sitecore Commerce installer powershell script and ran the setup successfully.
But I realised afterwards that I misconfiguration one character in the braintree API key. I have tried editing it CommerceAuthoring\wwwroot\data\Environments\PlugIn.Payments.Braintree.PolicySet-1.0.0.json but it does not seem to have any effect.
Does anyone knows how to configure the braintree API key on Sitecore commerce, without having to go through the installation process again?
The braintree API key I am referring to is this
{
"$type": "Plugin.Sample.Payments.Braintree.BraintreeClientPolicy, Plugin.Sample.Payments.Braintree",
"Environment": "sandbox",
"MerchantId": "[YourMerchantId]",
"PublicKey": "[YourPublicKey]",
"PrivateKey": "[YourPrivateKey]",
"ConnectTimeout": 120000
}
https://doc.sitecore.com/developers/91/sitecore-experience-commerce/en/payment-concepts.html