Setting Up Device Data Collection with a TMS Token {#pa2-use-token-tms-setup-intro}
===================================================================================

Running the Setup service identifies the customer's bank and prepares for collecting data about the device that the customer is using to place the order. In this scenario, a TMS token is used instead of the card.

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

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

[card_cardType](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-card-type.md "")
:
This field is required when the card type is JCB, Cartes Bancaires, China UnionPay, or Meeza.
{#pa2-use-token-tms-setup-intro_dl_d1v_trz_rxb}

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

These fields are required for transactions in specific countries.

[billTo_state](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-state.md "")
:
This field is required for transactions in the US, Canada, and Mainland China.

[billTo_postalCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-postal-code.md "")
:
This field is required when the billTo_country field value is `US` or `CA`.

[invoiceHeader_merchantDescriptorCountry](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-state.md "")
:
For Meeza transactions, this value must be set to `EG` if Egypt was not set as the country in the merchant configuration during merchant boarding.

[payerAuthEnrollService_ merchantCountrycode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/payer-auth-enroll-service-merchant-country-code.md "")
:
For Meeza transactions, this value must be set to `EG` if Egypt was not set as the country in the merchant configuration during merchant boarding.
{#pa2-use-token-tms-setup-intro_dl_gpf_5rb}

Endpoint
--------

Set the `payerAuthSetupService_run` field to `true`.  
Send the request to:  
**Production:** `https://ics2ws.ic3.com/commerce/1.x/transactionProcessor`  
**Test:** `https://ics2wstest.ic3.com/commerce/1.x/transactionProcessor`

Required Fields for Setting Up Data Collection When Using a TMS Token {#pa2-use-setup-token-tms-card-reqd-fields}
=================================================================================================================

These fields are the minimum fields required when you request the Payer Authentication Setup service. Other fields that can be used to collect additional information during a transaction are listed in the optional fields section. Under certain circumstances, a field that normally is optional might be required. The circumstance that makes an optional field required is noted.

Required Fields
---------------

[billTo_postalCode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-postal-code.md "")
:
This field is required when the billTo_country field value is the US or CA.

[billTo_state](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-state.md "")
:
This field is required for the US and Canada.

[card_accountNumber](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-account-number.md "")
:

[card_cardType](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/card-card-type.md "")
:
This field is required when the card type is Cartes Bancaires, JCB, UPI, or Meeza.

[invoiceHeader_ merchantDescriptorCountry](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/bill-to-state.md "")
:
For Meeza transactions, this value must be set to `EG` if Egypt was not set as the country in the merchant configuration during merchant boarding.

[payerAuthEnrollService_ merchantCountrycode](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/payer-auth-enroll-service-merchant-country-code.md "")
:
For Meeza transactions, this value must be set to `EG` if Egypt was not set as the country in the merchant configuration during merchant boarding.

payerAuthSetupService_run
:

[recurringSubscriptionInfo_subscriptionID](https://developer.cybersource.com/docs/cybs/en-us/api-fields/reference/all/so/api-fields/recurring-subscription-info-subcription-id.md "")
:
