> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yapily.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Commerzbank AG

## Links

* [CommerzBank Developer Portal](https://psd2.developer.commerzbank.com/howto)

## Scopes

* Account Information 🔒
* Payment Initiation 🔒

## Sandbox Environment

**Precondition**: To connect to CommerzBank Sandbox. You need a valid eiDAS certificates to connect to CommerzBank AG `Sandbox` environment. Please refer [CommerzBank technical information](https://developer.commerzbank.com/psd2) section for more details.

1. Upload your eiDAS certificates (QWAC and QSEAL) into Yapily's [certificate vault](https://console.yapily.com/certificates).

2. Add **CommerzBank AG Sandbox** from the **Sanbox** tab to your [Yapily Console](https://console.yapily.com/applications) application.

3. Add this institution into your app from the `Sandbox` tab and configure the institution by selecting the `certificates` from the dropdown.

4. Select your `QSEAL` and `QWAC` certificates from the relevant drop-downs lists then click *Save registration* to save the certificates.

Once you get the authorisation URL for **AIS** or **PIS**:

1. On the SCA screen, click on the `SCA_OK` button to generate a consent token for a valid authorisation

2. Then click on **close** to get the Yapily consent token

If you have any concerns, you can also check the [Implementation Sandbox Guide](https://psd2.developer.commerzbank.com/content/howto/specific-implementation).

**Note:** Domestic, Periodic, and International Payments are available.

## Commerzbank AG Live Environment

**Precondition**: To connect to CommerzBank AG. Also, you need a valid eiDAS certificates to connect to CommerzBank AG `Live` environment. Please refer [CommerzBank technical information](https://developer.commerzbank.com/psd2) section for more details.

1. Upload your eiDAS certificates (QWAC and QSEAL) into Yapily's [certificate vault](https://console.yapily.com/certificates).

2. Add **CommerzBank AG Live** from the **Live** tab to your [Yapily Console](https://console.yapily.com/applications) application.

3. Add this institution into your app from the `Live` tab and configure the institution by selecting the `certificates` from the dropdown.

4. Select your `QSEAL` and `QWAC` certificates from the relevant drop-downs lists then click *Save registration* to save the certificates.

**Important:** In the consent creation request, after the successful login, in the last screen, you have to click on the yellow button `Close` or similar text (Device OTP auth could be requested).

**Note:** Domestic, Periodic, and International Payments are available. International Payments, the Payee supports IBAN or BBAN. The BIC must be specified also e.g:

```json theme={null}
"accountIdentifications": [
  {
    "type": "IBAN",
    "identification": "{{IBAN}}"
  },
  {
    "type": "BIC",
    "identification": "{{BIC}}"
  }
]
```

**Transactions Older than 90 days**: You need to create a specific consent for that. In the `POST /account-auth-requests` body JSON you have to specify the `transactionFrom` date older than 90 days e.g.

```json theme={null}
{
  "applicationUserId": "25bcc520-f2a6-7f1f-eced-4c228d66134a",
  "accountRequest": {
    "transactionFrom" : "2017-03-01T00:00Z"
  }
}
```

**This is a commerzbank one-time-consent. So, one-time means that you can access just once chance per day.** More info: [CommerzBank Faq](https://developer.commerzbank.com/psd2#faq)

## Support

If you require technical support with certificate management, please contact [Support](/resources/support).
