# About Adyen

Adyen (https://www.adyen.com/) is a leading global payment platform that provides businesses with a seamless way to accept payments online, in-app, and in-store. Known for its all-in-one solution, Adyen supports a wide range of payment methods and currencies, enabling companies to scale internationally with ease. Its advanced features, such as real-time data insights, fraud prevention, and a unified payment system, empower businesses to optimize their payment processes while delivering a smooth customer experience. Trusted by major global brands, Adyen is a preferred choice for companies seeking innovative and reliable payment solutions.

# How to connect with Adyen

To integrate Adyen with Congrify, you must create a Reporting User and configure a Webhook. Below are the detailed steps for each process.

## Creating a Reporting User
To create a Reporting Service User:

1. Navigate to Developers > API Credentials in the Adyen dashboard.
2. Select Create new credentials and set the credentials type to Report Service User.
![Alt text](https://docs.congrify.com/Images/adyen_credentials_1.png)

3.Save the username and password (Basic Auth option) generated by Adyen in Congrify.
![Alt text](https://docs.congrify.com/Images/adyen_credentials_2.png)


## Configuring Webhooks
**1. Create a New Webhook**
Navigate to Webhooks > Create new webhook and add a Standard Webhook.
![Alt text](https://docs.congrify.com/Images/adyen_webhook_1.png)

**2. Set Up the Server Configuration**
- Enter the Server configuration URL provided by Congrify.
![Alt text](https://docs.congrify.com/Images/adyen_webhook_2.png)
- Create a Username and Password, then generate the HMAC Signature.
![Alt text](https://docs.congrify.com/Images/adyen_webhook_3.png)
- Select only the REPORT_AVAILABLE webhook event
![Alt text](https://docs.congrify.com/Images/adyen_webhook_4.png)
- Save these details in Congrify



**3. Enable Automatic Report Generation**
Go to Reports > Report overview 
![Alt text](https://docs.congrify.com/Images/adyen_webhook_5.png)

Enable the Automatic generation for the following reports: 
- 3DS Authentication
![Alt text](https://docs.congrify.com/Images/adyen_report_3DS_authentication.png)
- Dispute transaction details
![Alt text](https://docs.congrify.com/Images/adyen_reports_dispute.png)
- Payment accounting
![Alt text](https://docs.congrify.com/Images/adyen_reports_payment_accounting.png)
- Received payments details
![Alt text](https://docs.congrify.com/Images/adyen_reports_received_payments.png)
- Settlement details
![Alt text](https://docs.congrify.com/Images/adyen_reports_settlement_details.png)

**4. Test the Webhook**
- Generate a report manually by clicking Generate.
- Check System messages to confirm the webhook was successfully received.
![Alt text](https://docs.congrify.com/Images/adyen_webhook_6.png)


## Importing Historical Data via SFTP
During the onboarding process with Congrify, you can import historical data from Adyen. The most efficient method is to grant Congrify's team access to the shared SFTP folder with Adyen. This allows Congrify to directly select and import the desired historical data.

# Available Reports

The following reports are essential for the Adyen integration. These reports will provide the necessary data for a successful integration with Congrify.Please ensure that you select these reports as a minimum when configuring your Adyen connection:

- Payments Accounting Report
- Received Payments Report
- Settlement Details Report
- Dispute Details Report
- 3DS Authentication Report
- Monthly Invoices