Skip to content

How to use the api key with the Client object? #19

@tomast1337

Description

@tomast1337

With the old pagarme-js library, 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.

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