---
title: "Payment policies"
slug: "payment-policies"
abstract: ""
---
# Payment policies

The Payment plugin contributes configuration policies that define behavior for the functionality provided by the plugin.

> [!note]
> Do not extend or inherit from out-of-the-box policies; instead, create your own.
>
> You can change the values of default policies by modifying the PolicySet JSON or the Environment JSON, depending on where the policy is defined, and then re-running Bootstrap.

The Payment plugin contributes defines the following policies:

| Policy | Description | Properties / Default Values |
| --- | --- | --- |
| `KnownPaymentsActionsPolicy` | Defines the names of the payments entity view actions. | VoidPayment \ "VoidPayment"<br><br>RefundPayment \ "RefundPayment"<br><br>SelectPaymentOption \ "SelectPaymentOption"<br><br>AddPayment \ "AddPayment"<br><br>GetCountryRegionsForPayment \ "GetCountryRegionsForPayment"<br><br>GetCountryRegionsForFederatedPayment \ "GetCountryRegionsForFederatedPayment" |
| `KnownPaymentsViewsPolicy` | Defines the names of the payments entity views. | OrderPayments \ "OrderPayments"<br><br>OrderPaymentDetails \ "OrderPaymentDetails"<br><br>SalesActivities \ "SalesActivities"<br><br>SalesActivityDetails \ "SalesActivityDetails" |
| `KnownViewsPolicy` | Provides the ability to change the default view names for the Payment service, specifically the PaymentOptions view. |  |

> [!note]
> Do not extend or inherit from out-of-the-box policies; instead, create your own.
>
> You can change the values of default policies by modifying the PolicySet JSON or the Environment JSON, depending on where the policy is defined, and then re-running Bootstrap.