Viincenttt / MollieApi

This project allows you to easily add the Mollie payment provider to your application.
MIT License
150 stars 85 forks source link

Where to pass in accessToken? #260

Closed DianaLaa closed 2 years ago

DianaLaa commented 2 years ago

I'm obtaining a token via the Connect API. How do I use it? Wherever your docs say yourApiKey, should I there pass in the accessToken?

Viincenttt commented 2 years ago

Hi @DianaKoenraadt ,

Mollie uses three types of authentication:

You can read more about the different types of authentication in the Mollie documentation: https://docs.mollie.com/overview/authentication

When using this library, you can pass in a api-key, oauth token or access token. Keep in mind that some authentication modes have additional fields, such as profileId and testmode.

Kind regards, Vincent

Viincenttt commented 2 years ago

Closing the issue. Feel free to leave a comment if this is still an issue, then I will reopen it