Description

For this solution it is necessary to use the routine ConfiguraIntSiTefInterativoEx, as the parameter will be used additional feature that does not exist in the ConfiguraIntSiTefInterativo routine

long ConfiguraIntSiTefInterativoEx (IPSiTef, IdStore, IdTerminal, Reserved, AdditionalParameters)

In the last parameter (AdditionalParameters) the following information must be sent:

[DadosSubAdquirencia=<SubAcquiringData>]

where

<DadosSubAdquirencia>=<Id1><Size1><Val1><Id2><Tam2><Val2>...<IdN><TamN><ValN>

  • <id> - 2-byte field identifier, according to values ​​defined in the table below

  • <size> - field size of 2 bytes.

  • <val> - field value.

TagFormatMaximum SizeField
00Alphanumeric22Trade name (Merchant Name)
01Alphanumeric48Address
02Alphanumeric13City
03Alphanumeric2UF
04Alphanumeric3Country
05Alphanumeric10Zip code
06Numeric4MCC (Merchant Category Code)
07Numeric14CNPJ/CPF
08Numeric11Telephone
09Alphanumeric22Id (Establishment Identification Code)
10Alphanumeric99email
11Alphanumeric60Corporate Name/Full Name
12Alphanumeric1Person Type (F or J)
13Alphanumeric15Facilitator Merchant ID
NOTE:

- This field does not refer to the data “Payment Facilitator ID”. These are different data.

- At the moment, the “Facilitator Merchant ID” field is for the exclusive use of the PagSeguro network.

Below are presented 3 possible formatting models for the Trade Name field (tag 00) and the way in which it is composed is described, aiming to standardize this information:

SSS*NNNNNNNNNNNNNNNNNN

or SSSSSSSNNNNNNNNNNNNNN or SSSSSSSSSSSSNNNNNNNNNN

Where:

S = Identification of the sub-acquirer, which must be size 3, 7 or 12 and, necessarily, must be complemented with whites if necessary (based on one of the 3 possible models).

* = Mandatory separator in case of sub-acquirer

N = Name that will identify the establishment on the cardholder's invoice. Being extreme It is important that this information allows the establishment to be clearly identified on the customer's invoice, thus avoiding possible transaction fallback.

Remembering that the definition of the total field size is 22 positions, resulting in the following possible formatting: 318 or 714 or 12*9 (according to the models presented previously).

This standard, to be followed by the application, is necessary due to the different treatments of this information from authorizers.

Example:

[DadosSubAdquirencia=0022STL*SOFTWARE EXPRESS 0122AVENIDA PAULISTA, 22020209SAO PAULO0302SP]

In the example above, the following fields were passed (according to the standard “IDTAMVAL”):

  • 00 (Trade name) with size 22 (default 318) and value equal to: “STL” (sub-acquirer identification), (separator) and “SOFTWARE EXPRESS” (Invented Name, with two blanks for size complement);
  • 01 (Address) with size 22 and value equal to AVENIDA PAULISTA, 2202;
  • 02 (City) with size 09 and value equal to SAO PAULO;
  • 03 (UF) with size 02 and value equal to SP.

It is worth mentioning that if any of the defined fields is not passed through commercial automation, it will be sent with blanks to the authorizer. The list of which fields must be sent may vary depending on the acquirer for acquirer.