Skip to content

Instantly share code, notes, and snippets.

@mjallday
Created March 5, 2013 17:52
Show Gist options
  • Save mjallday/5092371 to your computer and use it in GitHub Desktop.
Save mjallday/5092371 to your computer and use it in GitHub Desktop.
require 'balanced'
# PUT your old API key here
Balanced.configure('')
new_key = Balanced::ApiKey.new().save()
Balanced::ApiKey.find('/v1/api_keys/AK6f4Ue2NQDW0YhiBgBSQvLE').destroy()
# this is your new key.
# go to https://www.balancedpayments.com/marketplaces and add it to your account
puts new_key.secret
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment