Documentation
Feedback
Guides
API Reference

Guides
Guides
Payment methods and Wallets

Processing DPAN cards in external connectors

This guide explains how external connectors integrated with the VTEX Payment Provider Protocol (PPP) must handle DPAN card transactions via a POST request to the connector's route (https://{providerServiceUrl}/payments). See the Create payment endpoint documentation for more information.

External connectors are payment connectors that are not built with the Payment Provider Framework (PPF). If your connector uses PPF, refer to the PPF-specific documentation.

DPAN fields in the payment payload

VTEX Payments Gateway sends card payment requests through the Create payment endpoint following the standard PPP contract. For DPAN transactions, the card object can include additional fields that your connector must support:

  • cryptogram: 3DS cryptogram data. This field is used in DPAN transactions for 3DS authentication and must be forwarded to the acquirer when required.
  • eci: Optional Electronic Commerce Indicator. This field is sent in specific scenarios, such as some Visa DPAN transactions.
  • paymentOrigin: Optional field that identifies the wallet used in the transaction, such as Apple Pay or Google Pay.

The remaining card fields keep the same structure used in standard card transactions, including number, holder, and csc.


_21
{
_21
"merchantName": "mystore",
_21
"card": {
_21
"holder": null,
_21
"number": null,
_21
"csc": null,
_21
"holderToken": "#vtex#token#fd10ce5#holder#",
_21
"bin": "489725",
_21
"numberToken": "#vtex#token#fd40ce5#number#",
_21
"numberLength": 16,
_21
"cryptogram": "/gAAAAwAZWJqaw4AAAAAgIRgE4A=",
_21
"paymentOrigin": "Apple Pay",
_21
"eci": null,
_21
"expiration": {
_21
"month": "12",
_21
"year": "2031"
_21
},
_21
"document": "",
_21
"token": null
_21
}
_21
}

Connector requirements

External connectors must meet the following requirements to process DPAN card transactions:

  • Compatibility with DPAN fields: The Create payment endpoint must accept DPAN-specific fields such as cryptogram, eci, and paymentOrigin when they are included in the card object. The presence of these fields must not cause validation errors, request rejection, or unexpected failures in the connector flow.

  • Secure Proxy support: If the connector environment isn't PCI DSS compliant, sensitive card data won't be sent in plain text. In these cases, fields such as holder, number, and csc can be null, and the connector must use tokenized values such as holderToken and numberToken through the Secure Proxy flow. Sensitive data must not be handled outside a PCI-compliant environment.

  • Forwarding data to the acquirer: When the acquirer or gateway requires DPAN-specific data, the connector must forward the fields received from VTEX, such as cryptogram, eci, and paymentOrigin, using the format expected by the acquirer integration.

  • Backward compatibility: The Create payment endpoint must continue to process standard card transactions normally. If DPAN-specific fields aren't present, the connector must keep the existing card flow unchanged.

Contributors
1
Photo of the contributor
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Contributors
1
Photo of the contributor
Was this helpful?
Suggest edits (GitHub)
On this page