Documentation
Feedback
Guides
API Reference

Guides
Guides

Payments

Understand how VTEX Payments connects merchants to providers and supports payment provider, anti-fraud, and gift card integrations.

Help us improve our documentation! Tell us about your experience with this article by completing this form.

VTEX connects merchants to payment providers through a gateway-based architecture. The VTEX Payment Gateway communicates with external providers via connectors built on standardized protocols, supporting credit and debit cards, digital wallets, Pix, boleto, gift cards, customer credit, and other payment methods.

For the complete payments documentation — including implementation guides, payment methods, tokenization, testing, security, and configuration — see the Payments category.

How VTEX Payments works

When a customer places an order, the checkout sends the payment request to the VTEX Payment Gateway. The gateway routes the request to the appropriate connector, which communicates with the external provider to authorize, settle, or refund the transaction.

The key components are:

  • Payment Gateway: VTEX system that processes all payment transactions and routes them to the correct provider.
  • Connector: Provider affiliation that bridges the gateway and the external provider. Connectors are built using integration protocols.
  • Provider: External service (PSP, acquirer, anti-fraud, or gift card provider) that processes the transaction.

There are three purchase flows available: Transparent (the shopper stays on the VTEX checkout), Redirect (the shopper is sent to the provider's page), and Payment App (custom payment UX built with VTEX IO).

Integration paths

VTEX supports three types of payment-related integrations. Each uses a dedicated protocol that defines the endpoints your connector must implement.

Payment provider

Payment providers build connectors using the Payment Provider Protocol (PPP). The protocol defines how the provider communicates with the VTEX Gateway for authorization, settlement, refund, and cancellation operations. Providers can build their connector either as an external middleware or using the Payment Provider Framework on VTEX IO.

After development, connectors must pass a homologation process and meet PCI DSS compliance requirements (when applicable), or use the Secure Proxy as an alternative before going live.

See the following resources to implement and publish your connector:

Anti-fraud provider

Anti-fraud providers integrate risk analysis into the payment flow through the Anti-fraud Provider Protocol. This protocol defines endpoints for sending transaction data, receiving risk assessments, and updating analysis status.

To get started with your anti-fraud integration:

Gift card provider

On VTEX, gift cards are a payment method processed at Checkout. External providers can integrate their gift card services using the Giftcard Provider Protocol and connect with the Giftcard Hub, which aggregates multiple providers. VTEX also provides a native gift card system.

Related articles:

Key APIs

Use these APIs to manage payment transactions, connectors, and related services:

APIDescription
Payment Provider Protocol APIEndpoints for payment connectors (authorization, settlement, refund, cancellation).
Anti-fraud Provider Protocol APIEndpoints for anti-fraud provider integration.
Payments Gateway APIEndpoints for managing transactions, payment rules, and gateway affiliations.
GiftCard APIEndpoints for managing native VTEX gift cards.
GiftCard Hub APIEndpoints for aggregating multiple gift card providers.
Giftcard Provider Protocol APIEndpoints for external gift card provider integration.
Customer Credit APIEndpoints for managing customer credit accounts and invoices.
Card Token Vault APIEndpoints for card tokenization and vault operations.

Next steps

  • Payments category — complete documentation covering implementation, payment methods, tokenization, testing, security, and operations.
Contributors
5
Photo of the contributor
Photo of the contributor
Photo of the contributor
Photo of the contributor
Photo of the contributor
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
5
Photo of the contributor
Photo of the contributor
Photo of the contributor
Photo of the contributor
Photo of the contributor
Was this helpful?
Suggest edits (GitHub)
On this page