Rules and overrides
Buyer Setup Details
This section is intended to provide more detailed information to help you set up Buyer Templates and individual Buyers. It includes information about field defaults, conditional logic, and field descriptions. Additionally, it specifies which fields are applicable to Request Virtual Account API versus the traditional Payment Process workflow.
Buyers can be created two ways: from a pre-defined template or from scratch.
Use Cases for a Buyer Template
- Common configurations across buyers that do not align with the VPA defaults (up to 20 templates per issuer).
- Multiple consistent buyer configurations – e.g. Travel use case and Payables use case.
- If future changes are expected that should apply to all buyers, you should set up a template now to simplify bulk edits later. In this case, you can easily use Update Template to apply changes to all Buyers rather than update each buyer individually.
Creating a Buyer when using a Template
- Use the Create Buyer Template API to define the custom fields set up the template that will be used for buyers.
- Use the Create Buyer API to create the individual buyer to be added to VPA. Requires the Buyer Info and Processor information (if applicable).
Buyer Template and Individual Buyer Field Defaults
Regardless which route you take, we have defaulted many fields and thus made them Optional to simplify the setup. We have defaulted them based on best practices and common configurations across existing buyers. If you are OK with the defaults, you don’t need to provide those fields in the API request (unless is it marked Required). If you would like to change the defaults, include the fields you would like to change along with the desired values. The tables below provide the defaults.
Keys points for these APIs
- Many fields are defaulted decreasing the number of required fields. See the default section below to see all field defaults.
- You only need to include fields that differ from the default.
- If fields are not applicable to your buyer(s), do not include these fields in the API request at all (do not include empty tag).
- Once Buyer is setup successfully in VPA, it will also be set up in downstream platforms as well.
- Setting up a reconciliation file may require manual depending on the way files are set up. Talk to your Visa implementation resource for more information.
Buyer Template Details
For Request Virtual Account users, please note the “RVA” column. This will tell you if the field is applicable to you or not. For example, Payment Configuration Tag says “required”, but RVA is set to "N" so that is only for those using the Process Payments workflow because there are no payments in the RVA use case.
| Parameter Name |
Required/ Optional |
RVA | Size | Default | Validations/Notes |
|---|---|---|---|---|---|
| messageId | Required | Y | 36 |
|
|
| clientId | Required | Y | 25 |
|
|
| contactInfo | Optional | Y | Parent tag | ||
| emailAddress | Optional | Y | 100 |
|
|
| phone1 | Optional | N | 20 | Used only if the third party wants to use the same phone for all communications. | |
| Implementation Type | Required | Y | 1 |
|
|
| Visa Business ID | Required | Y | 11 | Visa License BID for the Issuer |
|
| Billing Type | Required | Y | 1 | Value set at Bank level |
|
| paymentConfig | Required | Y | Parent tag | ||
| expirationDays | Optional | N | 3 | 30 |
|
| expirationBufferDays | Optional | N | 2 | 5 |
|
| billingCurrency | Required | Y | 3 |
|
|
| allowableCurrencies | Optional | Y | 3 (for each currency) | Billing Currency |
|
| securityCodeRequired | Optional | N | Boolean | Bank setting |
|
| paymentAdviceOption | Optional | N | 1 | C for Consolidated |
|
| stpPaymentConfig | Optional | N | Parent Tag This section needs to be populated only if the bank is enabled for Straight Through Processing (STP) (Buyer-Initiated Payments). |
||
| stpPaymentEnabled | Optional | N | Boolean | False |
|
| remittanceNotificationEnabled | Optional | N | Boolean | False |
|
| stripePaymentConfig | Optional | N | Parent tag This section needs to be populated only if the bank is enabled for Stripe. |
||
| stripePaymentEnabled | Optional | N | Boolean | False |
|
| remittanceNotificationEnabled | Optional | N | Boolean | False |
|
| boostPaymentConfig | Optional | N | Parent tag This section needs to be populated only if the bank is enabled for Boost. |
||
| boostPaymentEnabled | Optional | N | Boolean | False |
|
| paymentNotificationConfig | Required | Y | Parent tag | ||
| defaultLanguageCode | Optional | N | 10 | en_US |
|
| dateFormat | Required | Y | 10 |
|
|
| attachRemittanceDetails | Optional | N | Boolean | Bank value |
|
| supplierReminderNotificationEnabled | Optional | N | Boolean | Bank value |
|
| supplierReminderNotificationDays | Optional | N | 2 | 7 if the supplier reminder notification is enabled |
|
| paymentSecurityConfig | Optional | N | Parent tag | ||
| defaultSecurityFieldCode | Optional | N | 1 | 1 (Postal code) |
|
| defaultSecurityQuestion | Optional | N | 256 | “Credential Text” |
|
| customizeSecurityQuestionsEnabled | Optional | N | Boolean | False |
|
| customSecurityQuestions | Conditional | N | 100 |
|
|
| authorizationControlConfig | Optional | Y | Parent tag This section needs to be populated only if the bank is enabled for auth controls. |
||
| authControlEnabled | Conditional | Y | Boolean | True for VIP pseudo and TSYS VAN buyers. True if mandate auth controls enabled. Otherwise, False. |
|
| issuerHoldingBID | Conditional | 8 | The IssuerHoldingBID set for the bank |
|
|
| alertsEnabled | Conditional | Y | Boolean |
|
|
| buyerFeatureConfig | Optional | Y | Parent tag | ||
| cardMaskingDigitsOnline | Optional | Y | 2 | 12 |
|
| cardMaskingDigits | Optional | Y | 2 | 12 |
|
| onlinePaymentInstructionEnabled | Optional | N | Boolean | False |
|
| onlinePaymentRequisitionEnabled | Optional | N | Boolean | False |
|
| fullAccountViewEnabled | Optional | N | Boolean | Bank value |
|
| pseudoAccountsEnabled | Optional | Y | Boolean | N |
|
| approvalWorkflowConfig | Optional | N | Parent tag (Collection of approval workflow functions) | ||
| workflowFunctionsEnabled | Optional | N | Boolean | False |
|
| workflowFunctionCodes | Conditional | N | 2 |
|
|
| webServicesConfig | Parent tag | ||||
| webServicesEnabled | Optional | Y | Boolean | False |
|
| vbdsClientId | Optional | Y | 50 | Every third party will have this ID generated for subscribing to auth/settlement data from VBDS system. | |
| clientId | Optional | Reserved for Future Use. | Reserved for Future Use. | ||
| apiCodes | Conditional | Reserved for Future Use. | Reserved for Future Use. | ||
| suppressSupplierNotification | Optional | N | Boolean | N |
|
| paymentFileCommConfig | Optional | N | Parent tag Applicable to buyers using the payment process flow, and whose payments are submitted via system-to-system interface. |
||
| inboundFileId | Conditional | N | 40 |
|
|
| edi997FileId | Optional | N | 40 |
|
|
| edi824FileId | Optional | N | 40 |
|
|
| ResponseFileConfig | Optional | N | Parent tag Applicable to buyers using the process payment flow and who submit files through system-to-system connection. |
||
| commFileId | Conditional | N | 40 |
|
|
| ReconciliationFileConfig | Optional | N | Parent tag This reconciliation file is used for the Payment Processing use case. |
||
| onlinePaymentReconciliationEnabled | Optional | N | Boolean | False |
|
| adhocReconciliationReportEnabled | Optional | N | Boolean | False |
|
| commFileId | Optional | N | 40 |
|
|
| templateName | Conditional | N | 100 | Most recent standard recon template |
|
| rvaReconciliationFileConfig | Optional | Y | Parent tag This reconciliation file is applicable to those using the Request Virtual Account API. |
||
| commFileId | Optional | Y | 40 |
|
|
| templateId | Conditional | Y | 2 | Most recent RVA Recon template version. |
|
| proxyConfig | Optional | Y | Parent tag | ||
| holdDays | Optional | Y | 3 | 90 days |
|
| autoRefreshEnabled | Conditional | Y | Boolean | True if the buyer is enabled for pseudo account or VPP, otherwise, it is False. |
|
| bucketedProxyEnabled | Optional | Y | Boolean | False |
|
| processorConfig | Optional | Y | Parent tag | ||
| closeAccount | Conditional | Y | Boolean | True if processor integration is enabled for the bank or buyer is enabled for VIP/VPP tokens. Otherwise, false. |
|
| UpdateVANconfig | Optional | Y | Parent tag Applicable to buyers using TSYS VPP VANs. |
||
| vanEnabled | Conditional | Y | Boolean |
|
|
| fcsBankId | Conditional | Y | 4 | The Bank FCS ID if there is only one setup at the bank level. |
|
Approval Workflow Codes
| Function Name | Short Code |
|---|---|
| Payment Instruction | PYIN |
| Payment Requisition | PYRN |
| Lodge/Request a Card | LCRC |
| Adhoc Update Credit Limit | AUCL |
Language Codes
| Name | Language Code |
|---|---|
| International French | fr_FR |
| US English | en_US |
| international English | en_GB |
| Latin American Spanish | es_ES |
| Brazilian Portuguese | pt_BR |
| German | de_DE |
| Italian | it_IT |
Date Formats
| Date Format |
|---|
| MMDDYYYY |
| DDMMYYYY |
| YYYYMMDD |
| DD/MM/YYYY |
| DD/MM/YY |
| YYYY/MM/DD |
| YY/MM/DD |
| MM/DD/YYYY |
| MM/DD/YY |
| DD/MMM/YYYY |
| DD/MMM/YY |
| YYYY/MMM/DD |
| YY/MMM/DD |
| MMM/DD/YYYY |
| MMM/DD/YY |
| DD-MM-YYYY |
| DD-MM-YY |
| YYYY-MM-DD |
| YY-MM-DD |
| MM-DD-YYYY |
| MM-DD-YY |
| DD-MMM-YYYY |
| DD-MMM-YY |
| YYYY-MMM-DD |
| YY-MMM-DD |
| MMM-DD-YYY |
| MMM-DD-YY |
Rules and Overrides for Request Virtual Account and Manage Payment Controls
| SL No | Rule Code | Rule Description | Override | Override details |
|---|---|---|---|---|
| 1 | ATM | Block ATM cash withdrawals. | N | n/a |
| 2 | ATML | Block ATM cash withdrawals above a threshold. | Y |
|
| 3 | PUR | Block Purchases above a threshold. | Y |
|
| 4 | ECOM | Block all Internet-based transactions. | N | n/a |
| 5 | EAM | Block all Internet based transactions above a threshold. | Y |
|
| 6 | CNP | Block all transactions made over the Internet, phone or mail order. | N | n/a |
| 7 | NOC | Block all other cash access. This includes non-ATM transactions such as cash advances and purchase with cashback. | N | n/a |
| 8 | ADT | Block purchases at adult-themed merchants. | N | n/a |
| 9 | XBR | Block all cross border transactions | N | n/a |
| 10 | XBRA | Block cross border transactions above a certain amount limit (enter whole dollar). | Y |
|
| 11 | DOM | Purchases conducted outside of the selected state will be blocked | Y |
|
| 12 | BUS | Check the box to block transactions conducted outside of business hours. Define the business hours, when transactions are ALLOWED, by selecting your local time zone and the days/times below. Transactions outside these hours will be blocked. | Y |
Follow above - enter 3 letters with all caps
|
| 13 | FUEL | Block purchases conducted at fuel/driver merchants (including gas stations,car washes, parking lots and tolls). | N | n/a |
| 14 | HOT | All purchases made at hotel merchants will be declined. | N | n/a |
| 15 | AUTO | All purchases made at auto-rental merchants will be declined. | N | n/a |
| 16 | AIR | All purchases made at airline merchants will be declined. | N | n/a |
| 17 | REST | All purchases made at restaurants will be declined. | N | n/a |
| 18 | JEWL | All purchases made at jewelery store locations will be declined | N | n/a |
| 19 | ELEC | All purchases conducted at electronics themed-merchants will be declined. | N | n/a |
| 20 | ALC | All purchases conducted at alcohol and tobacco merchants will be declined. | N | n/a |
| 21 | GTM | All purchases conducted at ground transportation merchants will be declined (includes taxis, trains, and bridge tolls). | N | n/a |
| 22 | OSS | All purchases conducted at office supply merchants will be declined. | N | n/a |
| 23 | GROC | All purchases conducted at grocery store and pharmacy merchants will be declined. | N | n/a |
| 24 | ENT | All purchases conducted at entertainment and sports merchants will be declined (includes movie theaters,music stores and sporting good stores). | N | n/a |
| 25 | UTIL | All purchases conducted at utilities will be declined (includes cable, phone and electric companies). | N | n/a |
| 26 | CLOTH | All purchases conducted at clothing and general retail merchants will be declined(includes department stores, shoe stores and book stores). | N | n/a |
| 27 | MED | All purchases made at medical merchants will be declined. | N | n/a |
| 28 | VPAS | Exact amount match rule. Allows for only oe approved authorization and must match the amount in request, to the $.01. Note: Note: You can have multiple VPAS rule for an account. In this case, this rule will be repeated | Y |
|
| 29 | CAID | This rule allows transactions to only merchants with a specified card acceptor ID (CAID). | Y |
Note: At least one (1) CAID value is required. A maximum of 200 values, including Acquiring IDs, are allowed.
Acquiring Institution ID has these attributes:
|
| 30 | TOLRNC | Tolerance Rule: Each transaction must be within the minimum $ amount and the maximum $ amount. There can be multiple transactions but each must be within the defined range. | Y |
|
| 31 | SPV | Spend Velocity Rule | Y | Note: Override codes marked with an asterisk * are required.
Note: This is based on the range criteria selected. I.e. if monthly is selected, it will reset every month to the SpendLimitAmount.
Note: A zero in this field implies no limit on the number of transactions the user can make.
rangeType: 1 is Recurring. rangeType: 2 is Monthly. rangeType: 3 is DateRange.
rangeType: 4 is Weekly. rangeType: 5 is Daily.
Note: To update an existing SPV rule, all fields specified in the existing SPV rule must be provided in the request. If not specified, the field(s) will be reset to the default value(s).
|
| 32 | QSR | MCC with fastfood merchants | N | n/a |
| 33 | BUSS | MCCs with Business Services | N | n/a |
| 34 | CNTR | MCCs with General Contractor Services | N | n/a |
| 35 | GOV | MCCs with Government Services | N | n/a |
| 36 | MISC | MCCs with Miscellaneous Retailer | N | n/a |
| 37 | PROF | MCCs with Professional Services and Membership Organizations) | N | n/a |
| 38 | RETL | MCCs with Retail Outlet Services | N | n/a |
| 40 | MCCB | MCC Level Blocking; up to 15 ranges of granular merchant category level blocking | Y |
|
| 41 | MCCX | MCC Level Allow; Allow up to 15 ranges of granular merchant category code level | Y |
|
| 42 | CAIDB | This rule blocks transactions to only merchants with a specified card acceptor ID (CAID). | Y |
Note: At least one (1) CAID value is required. A maximum of 200 values, including Acquiring IDs, are allowed.
Acquiring Institution ID has these attributes:
|
| 43 | DOMB | State-level transaction restrictions (e.g., block card-present transactions from Nevada, Arizona, and New Mexico) | Y |
|
| 44 | XBRB | XBRB location restrictions - block in countries | Y |
|
| 45 | XBRX | XBRX location restrictions - allow in countries | Y |
|
| 46 | TCUX | Transaction Currency restriction | Y |
|
| 47 | ACCB | This rule allows clients to block all authorization transactions on an account. | N | n/a |
| 48 | SPP | The Spend Policy rule allows clients to define up to ten, independent groupings of spend limits (policies) on a virtual card, each with its own limit amount and optional transaction count. These limits can be applied either over a fixed date range or on a recurring cadence and are scoped to specific merchant categories, defined by Merchant Category Code (MCC) ranges. Spend within each grouping is accumulated and enforced independently. | Y |
Note: This is based on the range criteria selected. I.e. if monthly is selected, it will reset every month to the SpendLimitAmount.
Note: A zero in this field implies no limit on the number of transactions the user can make.
|
Rules and Overrides for Virtual Card Requisition
| SL No | Rule Code | Rule Description | Override | Override details |
|---|---|---|---|---|
| 1 | ATM | Block ATM cash withdrawals. | N | n/a |
| 2 | ATML | Block ATM cash withdrawals above a threshold. | Y |
|
| 3 | PUR | Block Purchases above a threshold. | Y |
|
| 4 | ECOM | Block all Internet-based transactions. | N | n/a |
| 5 | EAM | Block all Internet based transactions above a threshold. | Y |
|
| 6 | CNP | Block all transactions made over the Internet, phone or mail order. | N | n/a |
| 7 | NOC | Block all other cash access. This includes non-ATM transactions such as cash advances and purchase with cashback. | N | n/a |
| 8 | ADT | Block purchases at adult-themed merchants. | N | n/a |
| 9 | XBR | All purchases outside of the United States will be blocked. | N | n/a |
| 10 | XBRA | Purchases with amounts greater than the defined amount will be declined when conducted outside of the United States (enter whole dollar amount). | Y |
|
| 11 | DOM | Purchases conducted outside of the selected state will be blocked. | Y |
|
| 12 | BUS | Check the box to block transactions conducted outside of business hours. Define the business hours, when transactions are ALLOWED, by selecting your local time zone and the days/times below. Transactions outside these hours will be blocked. |
|
|
| 13 | FUEL | Block purchases conducted at fuel/driver merchants (including gas stations,car washes, parking lots and tolls). | N | n/a |
| 15 | HOT | All purchases made at hotel merchantswill be declined. | N | n/a |
| 16 | AUTO | All purchases made at auto-rental merchants will be declined. | N | n/a |
| 17 | AIR | All purchases made at airline merchants will be declined. | N | n/a |
| 18 | REST | All purchases made at restaurants will be declined. | N | n/a |
| 19 | JEWL | All purchases made at jewelery store locations will be declined. | N | n/a |
| 20 | ELEC | All purchases conducted at electronics themed-merchants will be declined. | N | n/a |
| 21 | ALC | All purchases conducted at alcohol and tobacco merchants will be declined. | N | n/a |
| 22 | GTM | All purchases conducted at ground transportation merchants will be declined (includes taxis, trains, and bridge tolls). | N | n/a |
| 23 | OSS | All purchases conducted at office supply merchants will be declined. | N | n/a |
| 24 | GROC | All purchases conducted at grocery store and pharmacy merchants will be declined. | N | n/a |
| 25 | ENT | All purchases conducted at entertainment and sports merchants will be declined (includes movie theaters,music stores and sporting good stores). | N | n/a |
| 26 | UTIL | All purchases conducted at utilities will be declined (includes cable, phone and electric companies). | N | n/a |
| 27 | CLOTH | All purchases conducted at clothing and general retail merchants will be declined(includes department stores, shoe stores and book stores). | N | n/a |
| 28 | MED | All purchases made at medical merchants will be declined. | N | n/a |
| 29 | VPAS | Exact amount match rule. | Y |
|
Rules and Overrides for Request Virtual Account for TSYS VPP
The following table lists rules and overrides for buyers enabled for VANs. See B2B Virtual Account Payment Method for Buyers Using VANs to view a full description of the VPP program applicable for buyers using VANs.
Note: The merchant category rules for buyers using VANs are opt-in rules. If one is selected, only the merchants that meet that criteria will be able to take a payment.
| SL No | Rule Code | Rule Description | Override | Override Details |
|---|---|---|---|---|
| 1 | SPV | Spend Velocity Rule. The startDate and endDate must be in Eastern Standard Time (EST). | Y |
|
| 2 | VPAS | Exact Amount Match Rule. Authorization amount must match the request, to the $.01. This rule only allows a single approved authorization. | Y |
|
| 3 | TOLRNC | Tolerance Rule: Authorization amount must be between the minimum $ and the maximum $ amount defined. This rule only allows a single approved authorization. | Y |
|
| 4 | DOM | Purchases conducted outside of the selected state will be enabled. State code is valid for USA (840) country code. | Y |
|
| 5 | BUS | Check the box to block transactions conducted outside of business hours. Define the business hours, when transactions are ALLOWED, by selecting your local time zone and the days/times below. Transactions outside these hours will be blocked. Note: weekDayEffective is case sensitive. Only supports US-based time zones (PST, MST, CST and EST). | Y |
|
| 6 | ATM | Enable ATM cash withdrawals. | N | n/a |
| 7 | ECOM | Enable all Internet-based transactions. | N | n/a |
| 8 | CNP | Enable Card Not Present. | N | n/a |
| 9 | FUEL | Allow purchases conducted at fuel/driver merchants. Allowed MCC Range: 5541 - 5542, 7542 - 7542. | N | n/a |
| 10 | AUTO | Allow purchases made at auto-rental merchants. Allowed MCC Range: 3351-3441, 7512-7512. | N | n/a |
| 11 | AIR | Allow purchases made at airline merchants. Allowed MCC Range: 3000-3300, 4511-4511. | N | n/a |
| 12 | REST | Allow purchases made at restaurants. Allowed MCC Range: 5811-5812, 5814-5815, 5462-5463. | N | n/a |
| 13 | ELEC | Allow purchases conducted at electronics themed-merchants. Allowed MCC Range: 4812-4814, 4816-4817, 5044-5045, 5731-5732, 5734-5734, 7372-7379. | N | n/a |
| 14 | ALC | Allow purchases at alcohol and tobacco merchants. Allowed MCC Range: 5813-5813, 5921-5922. | N | n/a |
| 15 | GTM | Allow purchases conducted at ground transportation merchants (includes taxis, trains, and bridge tolls). Allowed MCC Range: 4011-4112, 4121-4131, 4784-4784. | N | n/a |
| 16 | OSS | Allow purchases conducted at office supply merchants. Allowed MCC Range: 5111-5112, 5943-5943, 7332-7361, 7392-7399 and 9402-9403. | N | n/a |
| 17 | GROC | Allow purchases conducted at grocery store and pharmacy merchants. Allowed MCC Range: 5411-5461, 5464-5499. | N | n/a |
| 18 | ENT | Allow purchases conducted at entertainment and sports merchants (includes movie theaters, music stores and sporting good stores). Allowed MCC Range: 7832-7994, 7996-7999. | N | n/a |
| 19 | UTIL | Allow purchases at utilities (includes cable, phone and electric companies). Allowed MCC Range: 4814-4815, 4899-4900. | N | n/a |
| 20 | MED | Allow purchases made at medical merchants. Allowed MCC Range: 4119-4119, 5975-5976, 8011-8099. | N | n/a |
| 21 | PHAR | Allow purchases made at Pharmacies. Allowed MCC Range: 5122-5123, 5912-5913. | N | n/a |
| 22 | GENR | Allowed purchases made at General Retail. Allowed MCC Range: 4225-4225, 5192-5410, 5611-5722, 5923-5942, 5944-5974 and 5977-5999. | N | n/a |
| 23 | LODG | Allow purchases made at Hotels, Motels, Resorts, Specific lodging establishments. Allowed MCC Range: 3501-3838, 7011-7011. | N | n/a |
| 24 | OTHR | Other MCC codes | Y |
|
Get Payment Controls API Response Details
Details for Processor PANs and Visa Pseudo Accounts
The following rules have additional parameters in the Get Payment Controls API response. This table only includes rules whose overrides will differ from the request. If a rule is not listed below, refer to the Rules and Overrides section for Request Virtual Account and Manage Payment Controls above for the rule formatting.
| Rule Code | Rule Description | Override details |
|---|---|---|
| SPV | Spend Velocity Rule |
Note: This is based on the range criteria selected. For example,. if monthly is selected, it will reset every month to the SpendLimitAmount
Note: A zero in this field implies no limit on the number of transactions the user can make.
Formats are YYYY-MM-DD or MM/DD/YYYY
|
Details for TSYS VANs
The following rules have additional parameters in the Get Payment Controls API response. This table only includes rules whose overrides will differ from the request. If a rule is not listed below, refer to the Rules and Overrides section for TSYS VANs above for the rule formatting.
| Rule Code | Rule Description | Override details |
|---|---|---|
| SPV | Spend Velocity Rule |
Note: This is based on the range criteria selected. For example, if monthly is selected, it will reset every month to the SpendLimitAmount
Note: A zero in this field implies no limit on the number of transactions the user can make.
|
| VPAS | Exact Match Rule. |
|