The following are the parameters that make up the Initialize Authorization Form and Initialize Tokenization Form.
Unique code that identifies the merchant.
It must be generated in the Backend from the Pay-me OAuth service each time the Form is instantiated.
Private key for encrypting transmitted messages.
It is the object with the main information. Its fields are:
action (String): Indicates the type of action to be performed, its values can be:
transaction (Object): Depending on the type of action, this data must be included:
To tokenize include meta, according to the specifications of the Create Token API.
To authorize include currency, amount and meta, according to the Authorize Transaction API specifications.
card_holder (Object): Include these fields in the case of tokenize or authorize, according to the specifications of the API's Create Token or Authorize Transaction.
address (Object): Include this field in the case of authorize, according to the specifications of the Authorize Transaction API.
It is a String array, indicating which additional fields to include in the form. By default, the form will display the fields v_pan, v_expirydate and v_cvv2.
Expiration month field: v_expirydate_month
Expiration year field: v_expirydate_year
User name field: v_nombre
User's last name field: v_apellido
Document type field: v_doc_type
Document number field: v_dni
User's email field: v_email
Plan Type field: v_plan
Number of quotas field: v_cuotas
Country field: v_country
Field status: v_state
City field: v_city
Postal code field: v_zip_code
Address field: v_address
Tokenize field in an Authorization: v_confirm_tokenize
Continue to Formulario de Tokenización ➡️