Skip to content

Commit

Permalink
Merge pull request #55 from mollie/feature/MOL-401
Browse files Browse the repository at this point in the history
MOL-401: update Authorization MD
  • Loading branch information
tdang1-shopmacher authored Sep 11, 2024
2 parents 8f47b34 + 0053151 commit 1226533
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions docs/Authorization.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,20 @@ This guide explains how to connect to the Mollie client and verify the connectio

## Connecting to Mollie

To connect to the Mollie account, you must specify the `MOLLIE_API_KEY` in your .env file. You can get the API key from your Mollie Dashboard.
To connect to the Mollie account, you must specify the `MOLLIE_API_TEST_KEY` and `MOLLIE_API_LIVE_KEY` in your .env file. You can get the API key from your Mollie Dashboard.

## Verify Connection

To verify that the connection to the Mollie account is successful, use the endpoint /service/test-mollie-connection. The response from this endpoint should be a list of available payment methods.
To verify that the connection to the Mollie account is successful, use the endpoint `/processor/mollie/status/`.

The expected response is a JSON object holding the current Mollie profile information including `mode`, `name`, `website`, and `status`.

Example response:

```json
{
"mode": "test",
"name": "Mollie B.V.",
"website": "https://www.mollie.com",
"status": "verified"
}

0 comments on commit 1226533

Please sign in to comment.