> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/payments/supported-payment-methods/credit-cards.md).

# Credit Cards

The Credit Card payment method supports the following credit cards: American Express, Diners, Discover, JCB, Maestro, MasterCard, Union Pay, and Visa.

You can find an example of integration [here](https://drh.img.digitalriver.com/DRHM/Storefront/Site/drdod15/pb/multimedia/creditcard.html).&#x20;

## How to configure&#x20;

How you configure Credit Cards depends on whether you're using [DigitalRiver.js with Elements](/commerce-api/payments/payments-solutions/digitalriver.js.md) or[ Drop-in payments](/commerce-api/payments/payments-solutions/drop-in.md). &#x20;

| DigitalRiver.js with Elements                                                                                         | Drop-in payments                                                                                                     |
| --------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| [Configuring Credit Cards](/commerce-api/payments/payments-solutions/digitalriver.js/payment-methods/credit-cards.md) | [Drop-in Payments Integration Guide](/commerce-api/payments/payments-solutions/drop-in/drop-in-integration-guide.md) |

## How it works

Credit Cards use a [standard payment flow](/commerce-api/payments/building-your-workflows/flows-by-payment-type.md#standard-payment-flow).
