Following the docs I tried to get a multiauth token like this:
$> gem install paywhirl
$> irb
require "paywhirl"
=> true
api_key = "pwpk_my-api-key"
api_secret = "pwpsk_my-api-secre"
paywhirl = PayWhirl.new(api_key, api_secret)
paywhirl.get_multi_auth_token({"id" => some_id})
Expected result:
=> "some multiauth token"
Got:
{"error"=>"Invalid Authorization. Your account does not have access to the PayWhirl API."}
The api_key and api_secret we're definitely correct - why is the authorization failing?
Following the docs I tried to get a multiauth token like this:
Expected result:
Got:
The api_key and api_secret we're definitely correct - why is the authorization failing?