Documentation
Feedback
Guides
API Reference

API Reference
Filter By
Post
Get
Put
Delete
Patch

Payment Policies API

The Payment Policies API allows VTEX merchants to configure rules that include or exclude payment systems for specific cart items. The Payment Configuration Service (PCS) stores policy rules, while the Payment Information Service (PIS) evaluates those rules during checkout and returns the payment systems available for each item.

This feature is in closed beta, meaning only specific customers can access it now. If you want to implement it in the future, please contact our Support.

Index

Payment policy rules

Payment policy evaluation

Rule engine

Currently the Payment policies feature supports and, or, ==, and in operators, with a limit of 500 operators per expression. Available context variables are collectionIds, containing the collection IDs associated with the item, and shippingState, containing the delivery state code.

Endpoints

Payment policy rules

SummaryMethodPath
Create policy rulePOST/api/payment-configuration-service/policy-rules
List policy rulesGET/api/payment-configuration-service/policy-rules
Get policy rule by IDGET/api/payment-configuration-service/policy-rules/{id}
Update policy rulePUT/api/payment-configuration-service/policy-rules/{id}
Delete policy ruleDELETE/api/payment-configuration-service/policy-rules/{id}

Payment policy evaluation

SummaryMethodPath
Evaluate payment policiesPOST/api/pvt/payment-systems/search

Loading API specification...