Skip to content

Commit

Permalink
MOL-401: update Authorization MD
Browse files Browse the repository at this point in the history
  • Loading branch information
tdang1-shopmacher committed Sep 11, 2024
1 parent 0ba2e48 commit 0053151
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 0053151

Please sign in to comment.