first, get your old API key secret go to www.balancedpayments.com/dashboard and click on the Settings page
now, let's generate a new API key secret
curl -u API_KEY_SECRET: https://api.balancedpayments.com/v1/api_keys -X POST
you should get a response like this:
{
"secret": "10a7a762931711e28edb026ba7cac9da",
"uri": "/v1/api_keys/AKvr8AOAKMHFZclIL5ECSDw"
}
take note of the URI
and the secret
, these are important.
great, take that new api key secret and add it to your application and dashboard. to add it do the dashboard click on the dropdown in the dashboard on the top left, choose "Add marketplace" and then add it under the "existing marketplace" section.
now you need to delete your old api key
curl -u NEW_API_KEY_SECRET: https://api.balancedpayments.com/v1/api_keys/OLD_API_KEY_URI -X DELETE