Parameters definition
By using the config object with this input data in the SDK integration, ensures an accurate and complete flow of information, allowing to interact efficiently with the functionalities and services provided by the SDK. the functionalities and services provided by the SDK. It is important to follow the specific guidelines and recommendations provided by the SDK documentation to ensure a correct use of this input data. The config object stores information related to the transaction, as well as data related to the form appearance.
- Input data: The config object is composed of the following attributes:
Configuration object, contains the other objects (order, token, billing, ...).
Unique id for each transaction generated by the commerce. It must be the same as the one sent when generating the session token.
16881500822750
Only values containing numbers and letters are allowed, whether uppercase or lowercase, without spaces or special characters.
/^[0-9a-zA-Z]+$/
Indicator that determines the form of the purchase, accepts the following values: pay: Purchases with card (without tokenization), register: card registration (tokenization), pay_register: Purchases and card registration, pay_token: Purchases with card token (Private or Brand).
pay
register
pay_register
pay_token
pay
Commerce code or submerchant (child code of the merchantFacilitator), generated by Izipay during affiliation.
4001834
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Facilitator commerce code, generated by Izipay during affiliation.
4000901
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Purchase object
Order number of the transaction. It must be the same as the one sent when generating the session token.
1687996765
Displays the amount on the "Pay" button of the payment form.
Currency of the transaction.
PEN
USD
PEN
Txn amount. It must be the same as the one sent when generating the session token. Integers with 2 decimals, consider decimal separator without thousands delimiter.
Number of Installments that will affect the purchase.
00
Deferred number that will affect the purchase.
0
Indicator of the payment method of the purchase, in case it is more than one, separate by comma.
all
CARD
QR
APPLE_PAY
YAPE_CODE
PAGO_PUSH
CARD,QR,APPLE_PAY
Process Type for a transaction AT: Authorization PA: Pre-Authorization.
AT
PA
AT
Unique identifier of the buyer in the commerce system.
mc1991
Date and Time of the transaction sent by the commerce or terminal.
1688149430031000
Only allows values containing numbers
/^[0-9]+$/
Object where card data is sent.
Allowed values
MC
: MasterCardVS
: VisaAE
: AmexDN
: Diners
VS
Card number of the cardholder.
XVGRpy8X/OHHo8jPi/V6TEm+BQxY8o9cixbClcaCxgA=
Only allows values that are RSA encryptions in base 64
/^[a-zA-Z0-9+/=]+$/
Card expiration month. RSA ENCRYPTION
WFSonBkoy9/5nfTzs85Dcw==
Only allows values that are RSA encryptions in base 64
/^[a-zA-Z0-9+/=]+$/
Card expiration year. RSA ENCRYPTION
WlaonBkoy9/5nfTzs85Dcw==
Only allows values that are RSA encryptions in base 64
/^[a-zA-Z0-9+/=]+$/
Card security code indicated on the back. RSA ENCRYPTION
UFaenxoryNz6nvfwsM1AcA==
Only allows values that are RSA encryptions in base 64
/^[a-zA-Z0-9+/=]+$/
Tokenization, Private and Brand object
Token value that identifies the card of the cardholder.
27340718bfdf2de6a125d29ecc6ebf279cc4daf20150aee8a3b4911f02d0ef81
Billing object (cardholder)
Cardholder's first name
Lucho
Only allows values containing letters, whether uppercase or lowercase, including accented letters and the "ñ", as well as white spaces.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚüÜ\s]+$/
Cardholder's last name
Torres
Only allows values containing letters, whether uppercase or lowercase, including accented letters and the "ñ", as well as white spaces.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚüÜ\s]+$/
Cardholder's email.
luchotorres@gmail.com
Cardholder's phone number. IMPORTANT: In case of the Plin Interbank payment method, the length must be 9 digits.
989897960
Only allows values containing numbers
/^[0-9]+$/
Cardholder's billing address.
Av. Jorge Chávez 275
Only allows values containing letters, whether uppercase or lowercase, including accented letters and the "ñ", as well as numbers from 0 to 9, white spaces and a series of special characters such as - / . ' ´
/^[a-zA-Z\u00C0-\u017F\u00F1\u00D1\-\/.\-'´`0-9 ]+$/u
City of the cardholder's billing address.
Lima
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Name of the department or state of cardholder billing.
Lima
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Country of the cardholder billing address - ISO code
PE
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Postal Code (CP) of the cardholder billing address
15000
Only allows values containing numbers
/^[0-9]+$/
Cardholder's identification document type
DNI
CE
PASAPORTE
RUC
OTROS
DNI
Cardholder's identity document number.
Length(min - max):DNI:= 8 characters
CE:>=9 characters <=12 characters
PASAPORTE:>=8 characters <=12 characters
RUC := 11 characters
OTROS:>=8 characters <=12 characters
12345678
Social reason or company name.
Society S.A.C.
It only allows values containing letters (including uppercase, lowercase, vowels with accents such as á, é, í, ó, ú, ñ and ü), numbers, spaces and the following special characters: spot (.), commas (,), hyphens (-), diagonals (/) and the symbol "&". It also supports accented letters from other European languages such as à, è or ö.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚ\s&.,\/\-\u00C0-\u017FüÜ0-9]+$/u
Shipping object
Names for shipping.
Juan
Only allows values containing letters, whether uppercase or lowercase, including accented letters and the "ñ", as well as white spaces.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚüÜ\s]+$/
Last names for shipping.
Pérez
Only allows values containing letters, whether uppercase or lowercase, including accented letters and the "ñ", as well as white spaces.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚüÜ\s]+$/
Email for shipping.
juanperez@gmail.com
Phone for shipping.
989897960
Only allows values containing numbers
/^[0-9]+$/
Shipping address.
Av. Jorge Chávez 275
Only allows values containing letters, whether uppercase or lowercase, including accented letters and the "ñ", as well as numbers from 0 to 9, white spaces and a series of special characters such as - / . ' ´
/^[a-zA-Z\u00C0-\u017F\u00F1\u00D1\-\/.\-'´`0-9 ]+$/u
City of the shipping address.
Lima
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Name of the department or state for shipping.
Lima
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Country of the shipping address - ISO code
PE
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Postal Code (CP) of the shipping address.
15000
Only allows values containing numbers
/^[0-9]+$/
Type of identification document for shipping
DNI
CE
PASAPORTE
RUC
OTROS
DNI
Number of identification document for shipping
Length(min - max):DNI:= 8 characters
CE:>=9 characters <=12 characters
PASAPORTE:>=8 characters <=12 characters
RUC := 11 characters
OTROS:>=8 characters <=12 characters
12345679
Language object ESP or ENG
Default language of the form.
ESP
ENG
ESP
Show or not the available languages.
true
Object of presentation of the form.
Modes of visualization of the payment form: pop-up, embedded and redirect
pop-up
embedded
redirect
pop-up
URL redirection object
URL to where it will redirect when the payment process is successfully completed.
https//www.tu-web.com/onSuccess/
URL to where it will redirect when an error occurs while processing the payment.
https//www.tu-web.com/onError/
URL to where it will redirect when the payment process is canceled.
https//www.tu-web.com/onCancel/
div, section, etc. Place where the form will be rendered - only applies to embedded.
Show or hide the button that will process the form data. functionality available for now only for the card payment method in the Embedded mode.
Response or redirection URL after receiving a response. This field is mandatory when render.typeform is REDIRECT
Notification URL or API (IPN)
https//www.tu-web.com/notificaciones/
Form appearance object.
Style of the inputs in the payment form.
Commerce logo URL
https://www.miweb.com/logo
Name of the theme that contains a color configuration for the form.
red
lightred
green
purple
black
blue
ligthgreen
red
Custom theme object.
Name of the theme that contains a color configuration for the form.
Tema principal
Name of the font to use for the form.
Activation of advanced mode of checkout customization.
This field is required only in the context of applying an advanced configuration in the customization of the checkout process.
true
Color object.
Background color of the elements.
Color of text of the elements.
Primary color object.
Background color of the elements.
Color of text of the elements.
Button style object.
Primary button style object.
Color of text of the elements.
Color of the background of the elements.
Main color
Color when the element has focus or is active.
Select style object.
Primary select style object.
Color of text of the elements.
Color of the border of the elements.
Primary select arrow style object.
Color of the select arrows.
Color of the select arrows.
Color of the border effect of the element.
Text style object.
Color of text of the elements.
Style object of the elements.
Color of text of the elements.
Color of the border of the elements.
Color of the border effect of the element.
Object to customize the form.
Object that contains the visibility configuration of some elements of the form.
Indicates whether the order number should be hidden.
Considerations: hideOrderNumber and hideLogo will hide the header of the form.
true
Indicates whether the results screen should be hidden.
false
Indicates whether the logo should be hidden.
true
Indicates whether the vibration should be deactivated when validating the fields.
false
Indicates whether global errors should be hidden, so that errors are displayed in each field.
true
Indicates whether the message should be hidden: Remember to activate your online purchases.
true
Array of objects that defines the configuration of each element of the form.
[{...},{...},]
Payment method to which the configuration applies.
CARD
QR
APPLE_PAY
YAPE_CODE
PAGO_PUSH
CARD
Position of the element in the form.
1
Only allows values containing numbers
/^[0-9]+$/
Array of objects that defines the configuration of each field of the element.
[{...},{...},]
Field name.
cardNumber
expirationDate
securityCode
firstName
lastName
email
typeDocument
documentNumber
installments
deferred
cardNumber
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Position of the field in the element.
1
Only allows values containing numbers
/^[0-9]+$/
Name of the group of inputs/fields in the element.
billing
Only allows values containing letters, both uppercase and lowercase, and spaces.
/^[A-Za-z\s]*$/
Object that defines the text of the button.
Attribute that defines the text of the payment action button.
Pagar
Aceptar pagar
Pague aquí
Cobrar
Comprar
Continuar
Contribuir
Confirmar Pago
Donar
Efectuar Pago
Recargar
Donar
Only allows values containing letters, whether uppercase or lowercase, including accented letters and the "ñ", as well as white spaces.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚüÜ\s]+$/
Array of custom objects that allows adding extra information to the payment process, to meet the specific needs of each commerce. Maximum 10 custom objects.
Name of the custom object, it should not be repeated.
field1
field2
field3
field4
field5
field6
field7
field8
field9
field10
field1
Value of the custom object.
""
It only allows values containing letters (including uppercase, lowercase, vowels with accents such as á, é, í, ó, ú, ñ and ü), numbers, spaces and the following special characters: spot (.), commas (,), hyphens (-), diagonals (/) and the symbol "&". It also supports accented letters from other European languages such as à, è or ö.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚ\s&.,\/\-\u00C0-\u017FüÜ0-9]+$/u
- Output data:
The output data responded by the SDK expresses the mandatory in general. to review which fields are mandatory according to the use case, refer to chapter
use-cases
.
The response object is composed of the following attributes:
Authorization response code
00
Authorization response message, according to the language
OK
Friendly message for the user, according to the language
Operación exitosa
Friendly message for the user in English
Successful
Response data object
Indicator of the payment method of the purchase
CARD
QR
APPLE_PAY
YAPE_CODE
PAGO_PUSH
CARD
Array of Order Objects
Indicator of the payment method of the order:
CARD
QR
APPLE_PAY
YAPE_CODE
PAGO_PUSH
CARD
Authorization code of the purchase generated by the card issuer
S62316
Currency of the transaction.
PEN
USD
PEN
Txn amount. Integers with 2 decimals, consider decimal separator without thousands delimiter
10.00
Number of Installments that will affect the purchase.
06
Deferred number that will affect purchases.
0
Order number of the purchase transaction, sent in the security api (Token Session).
1687996765
Message of the transaction status (Authorized/Denied).
Autorizado
Transaction date (fechatxn saved in transaction table) Format yyyymmdd.
20221212
Transaction time (fechatxn saved in transaction table) Format hhmmss.
185330
Transaction identifier made by Izipay or Cybersource.
1011173920740022
Reference number generated by the acquirer. This data is important for the refund request.
1315646
Object with card data
Card brand
Allowed values
MC
: MasterCardVS
: VisaAE
: AmexDN
: Diners
VS
Masked card number used in the transaction
411111******1111
Identifier if the card was registered in the operation
true
Billing object (cardholder)
Cardholder names
Juan
Cardholder last names
Pérez
Cardholder email
juanperez@gmail.com
Cardholder phone
989897960
Cardholder billing address
Av. Jorge Chávez 275
City of the cardholder billing address
Lima
Name of the department or state of cardholder billing.
Lima
Country of the cardholder billing address - ISO code.
PE
Postal Code (CP) of the cardholder billing address.
15000
Type of cardholder identification document
DNI
CE
PASAPORTE
RUC
OTROS
DNI
Cardholder identification document number.
Length(min - max):DNI:= 8 characters
CE:>=9 characters <=12 characters
PASAPORTE:>=8 characters <=12 characters
RUC := 11 characters
OTROS:>=8 characters <=12 characters
12345678
Social reason or company name.
Commerce data object
Commerce code or submerchant (child code of the merchantFacilitator), generated by Izipay during affiliation.
4001834
Facilitator commerce code, generated by Izipay during affiliation.
""
Tokenization, Private and Brand object.
Unique identifier of the buyer in the commerce system.
MC240813110946H8D7HF
Token value that identifies the card of the cardholder.
""
Card alias.
""
Authentication object.
Authentication result.
""
Array of custom objects that allows adding extra information to the payment process, to meet the specific needs of each commerce. Maximum 10 custom objects.
Name of the custom object, it should not be repeated.
field1
field2
field3
field4
field5
field6
field7
field8
field9
field10
field1
Value of the custom object.
""
It only allows values containing letters (including uppercase, lowercase, vowels with accents such as á, é, í, ó, ú, ñ and ü), numbers, spaces and the following special characters: spot (.), commas (,), hyphens (-), diagonals (/) and the symbol "&". It also supports accented letters from other European languages such as à, è or ö.
/^[a-zA-ZñÑáéíóúÁÉÍÓÚ\s&.,\/\-\u00C0-\u017FüÜ0-9]+$/u
Original response message used for signature generation.
{"code":"00","message":"OK"…..}
It is the hash of the request payload expressed in a base64 value string.
QBY3s3RRMwHqFmF93lhRTTqrjcuolsVBCUnDFXniKY8=
Unique id for each transaction generated by the commerce, sent in the security api (Token Session) equivalent to the Correlation Id for the transaction flow.
172356538519500