Skip to content

PayWhirl#get_multi_auth_token returns Invalid Authorization #6

@pauliinasol

Description

@pauliinasol

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions