diff --git a/docs/Authorization.md b/docs/Authorization.md index 4ddea8f..18a0e04 100644 --- a/docs/Authorization.md +++ b/docs/Authorization.md @@ -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" +}