Closed umerbaig closed 6 years ago
{ object: 'error',
location: 'https://www.omise.co/api-errors#authentication-failure',
code: 'authentication_failure',
message: 'authentication failed' }
With source api, you have to use public key ie: pub_
as your secret key.
yes, it works with publicKey. Thank you!
@umerbaig Your welcome.
Hi, When i try to create internet banking resource
omise.sources.create(source)
then it is giving me authentication error rest of the API is working fine for exampleomise.charges.create()
etc it is giving me authentication failure only when i useomise.sources.create(source)
omise: ^0.5.4
node: v8.11.3
my code is