We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
With the old , we could do:
import pagarme from "pagarme"; const client = await pagarme.client.connect({ api_key: PAGARME_API_KEY })
However, the new Client object doesn't seem to have an api_key option to use.
Client
api_key
The text was updated successfully, but these errors were encountered:
Hey man, how its going?
Just pass your secret api key on the username and let the password field empty.
Just like that.
import { Client, } from "@pagarme/pagarme-nodejs-sdk"; const client = new Client({ basicAuthUserName: 'my-secret-api-key', basicAuthPassword: '' })
Sorry, something went wrong.
No branches or pull requests
With the old , we could do:
However, the new
Client
object doesn't seem to have anapi_key
option to use.The text was updated successfully, but these errors were encountered: