On This Page

{#jumplink-list}  
[Markdown](/content/cybsdeveloper2021/amer/en/docs/barclays/en-us/payer-authentication/developer/all/rest/payer-auth/pa2-use-cases-intro/pa2-use-validate-authorize-intro.md)

Validating and Authorizing a Transaction {#pa2-use-validate-auth-intro}
=======================================================================

The Validation service can be combined with the Authorization service so that when a customer's authentication is validated, the transaction is automatically submitted for authorization.

Fields Specific to a Visa Secure Transaction
--------------------------------------------

These API fields are required specifically for this use case.

processingInformation.commerceIndicator
:
Set this field to `vbv` for a successful authentication (EMV 3-D Secure value of `05`), `vbv_attempted` if authentication was attempted but did not succeed (EMV 3-D Secure value of `06`), or `vbv_failure` if authentication failed (EMV 3-D Secure value of `07`).

consumerAuthenticationInformation.cavv
:
This field is required when payer authentication is successful.

Card-Specific Requirements
--------------------------

Some payment cards require information to be collected during a transaction.

consumerAuthenticationInformation. defaultCard
:
This field is recommended for Discover ProtectBuy.

consumerAuthenticationInformation.mcc
:
This field is required when the card type is Cartes Bancaires.

consumerAuthenticationInformation. productCode
:
This field is required for American Express SafeKey (US) when the product code is `AIR` for an airline purchase.

:
merchantInformation. merchantDescriptor.name
:
This field is required for Visa Secure travel.

orderInformation.shipTo.address1
:
This field is required only for American Express SafeKey (US).

orderInformation.shipTo.address2
:
This field is required only for American Express SafeKey (US).
{#pa2-use-validate-auth-intro_dl_d1v_trz_rxb}

Country-Specific Requirements
-----------------------------

These fields are required for transactions in specific countries.

consumerAuthenticationInformation. merchantScore
:
This field is required for transactions processed in France.

orderinformation.billTo.locality
:
This field is required for transactions in the US and Canada.

orderInformation.billTo.postalCode
:
This field is required when the orderInformation.billTo.country field value is `US` or `CA`.

orderInformation.billTo.administrativeArea
:
This field is required for transactions in the US and Canada.
{#pa2-use-validate-auth-intro_dl_gpf_5rz_rxb}

Endpoint
--------

**Production:** `POST ``https://api.smartpayfuse.barclaycard``/pts/v2/payments`  
**Test:** `POST ``https://api.smartpayfuse-test.barclaycard``/pts/v2/payments`
