Additional and optional configurations that may be useful in different cases.

Redirection and dynamic notification

This option will allow you at the moment of creating the session declare the redirection and notification URLs without the need for requests, to use this function you must add the following fields:

payment_completed_url URL to be taken for redirection of a successful payment.
payment_cancellation_url URL to be taken for the redirection of a cancelled payment.
payment_webhook_url URL to be taken for the notification of payment statements.
concat If the path contemplates the use of parameters, it is appropriate to send that parameter to indicate the character that should be used to concatenate something to that URL.

Each of these fields is completely optional and are not linked to each other, so if you only want to modify one URL just add that one field to the request.

Example:

{
		//Basic Process Fields
    "merchant_code": "your_merchant_code",
    "merchant_api_token": "your_merchant_api_token",
    "merchant_order_id": "your_order_id",
    "order_amount": 1000,
		//Dynamic Redirection Fields
		"payment_completed_url": "<https://domain.com/etpay/success>",
    "payment_cancellation_url": "<https://domain.com/etpay/error>",
		"payment_webhook_url": "<https://domain.com/etpay/webhook>",
    "concat":"&",
}

Preselect bank

This option will allow you to creating the session declare the user_bank_code field. The value of this field configures the session to be initialized with the bank already selected.

The values that user_bank_code can take are as follows:

code bank
cl_estado to initialize with Banco Estado
cl_santander to initialize with Banco Santander
cl_bch to initialize with Banco de Chile/Edwards
cl_bci to initialize with BCI
cl_itau to initialize with Banco Itaú
cl_scotiabank to initialize with Banco Scotiabank
cl_falabella to initialize with Banco Falabella
cl_test to initialize with the banco de pruebas (only on sandbox)
cl_itau_bt to initialize with Banco Itaú Empresa
cl_bch_bt to initialize with Banco de Chile/Edwards Empresa
cl_santander_bt to initialize with Banco Santander Empresa

Example:

{
		//Basic Process Fields
    "merchant_code": "your_merchant_code",
    "merchant_api_token": "your_merchant_api_token",
    "merchant_order_id": "your_order_id",
    "order_amount": 1000,
		//Pre-Selected Bank Fields
		"**user_bank_code**": "cl_estado"
}

Preselect RUT

<aside> ⚠️ This is only available for the Person Payment flow.

</aside>

This option will allow you to creating the session declare the user_rut and is_rut_block fields. The value of this field configures the session to initialize the session with the already selected rut.

código banco
user_rut Payer's RUT unformatted
is_rut_block Use true or false to lock the payer's RUT and not allow it to be modified during payment

EJEMPLO: