Channel: 5
Provider: ETPay
Payment Method: Bank Transfer
Available Currencies
| Name | Code | Country |
|---|---|---|
| Chilean Pesos | CLP | Chile |
Request example
curl --request POST \
--url http://uat-payments.alps.cl/justpay/check-out/SecurePayment \
--data public_key=zyssglikvtltbd2se2hudwl50jjomil2uytp7tpvjtxyfdw469jagk8yvnex9jks \
--data time=2022-10-13T14:39:09 \
--data channel=5 \
--data amount=5 \
--data currency=CLP \
--data trans_id=1 \
--data time_expired=120 \
--data url_ok=https://bit.ly/3S4I7iR \
--data url_error=https://bit.ly/3S5aOwc \
--data signature=890874e9a26468d26ba9ba54975ff04e3d636d582f2d681b79cee5a98b049922 \
--data shopper_information='{"name_shopper": "Fulano","Num_doc_identi": "41579263","type_doc_identi": "DNI","last_name_Shopper": "Da Silva","email": "[email protected]","country_code": "+56","Phone": "1122223333"}'<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://uat-payments.alps.cl/justpay/check-out/SecurePayment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "public_key=zyssglikvtltbd2se2hudwl50jjomil2uytp7tpvjtxyfdw469jagk8yvnex9jks&time=2022-10-13T14%3A39%3A09&channel=5&amount=5¤cy=CLP&trans_id=1&time_expired=120&url_ok=https%3A%2F%2Fbit.ly%2F3S4I7iR&url_error=https%3A%2F%2Fbit.ly%2F3S5aOwc&signature=890874e9a26468d26ba9ba54975ff04e3d636d582f2d681b79cee5a98b049922&shopper_information=%7B%22name_shopper%22%3A%20%22Jon%22%2C%22last_name_Shopper%22%3A%20%22Snow%22%2C%22type_doc_identi%22%3A%20%22DNI%22%2C%22Num_doc_identi%22%3A%20%2292738009%22%2C%22email%22%3A%20%22no-reply%40alps.cl%22%2C%20%22country_code%22%3A%20%22%2B56%22%2C%20%22Phone%22%3A%20%22999763655%22%7D",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}import requests
url = "http://uat-payments.alps.cl/justpay/check-out/SecurePayment"
payload = "public_key=zyssglikvtltbd2se2hudwl50jjomil2uytp7tpvjtxyfdw469jagk8yvnex9jks&time=2022-10-13T14%3A39%3A09&channel=5&amount=5¤cy=CLP&trans_id=1&time_expired=120&url_ok=https%3A%2F%2Fbit.ly%2F3S4I7iR&url_error=https%3A%2F%2Fbit.ly%2F3S5aOwc&signature=890874e9a26468d26ba9ba54975ff04e3d636d582f2d681b79cee5a98b049922&shopper_information=%7B%22name_shopper%22%3A%20%22Jon%22%2C%22last_name_Shopper%22%3A%20%22Snow%22%2C%22type_doc_identi%22%3A%20%22DNI%22%2C%22Num_doc_identi%22%3A%20%2292738009%22%2C%22email%22%3A%20%22no-reply%40alps.cl%22%2C%20%22country_code%22%3A%20%22%2B56%22%2C%20%22Phone%22%3A%20%22999763655%22%7D"
response = requests.request("POST", url, data=payload)
print(response.text)const qs = require("querystring");
const http = require("http");
const options = {
"method": "POST",
"hostname": "uat-payments.alps.cl",
"port": null,
"path": "/justpay/check-out/SecurePayment",
"headers": {}
};
const req = http.request(options, function (res) {
const chunks = [];
res.on("data", function (chunk) {
chunks.push(chunk);
});
res.on("end", function () {
const body = Buffer.concat(chunks);
console.log(body.toString());
});
});
req.write(qs.stringify({
public_key: 'zyssglikvtltbd2se2hudwl50jjomil2uytp7tpvjtxyfdw469jagk8yvnex9jks',
time: '2022-10-13T14:39:09',
channel: '5',
amount: '5',
currency: 'CLP',
trans_id: '1',
time_expired: '120',
url_ok: 'https://bit.ly/3S4I7iR',
url_error: 'https://bit.ly/3S5aOwc',
signature: '890874e9a26468d26ba9ba54975ff04e3d636d582f2d681b79cee5a98b049922',
shopper_information:'{"name_shopper": "Fulano","Num_doc_identi": "41579263","type_doc_identi": "DNI","last_name_Shopper": "Da Silva","email": "[email protected]","country_code": "+56","Phone": "1122223333"}'
}));
req.end();Mandatory Data
| Attribute | Mandatory | Data type | Description |
|---|---|---|---|
public_key | True | String (255) | Public key, unique value that identifies the commerce |
time | True | Datetime | Request data time |
channel | True | Integer | Payment Channel |
amount | True | Double | The amount of the transaction. Use 2 decimals. |
currency | True | String (3) | Transaction currency code |
trans_id | True | String (255) | Transaction id |
time_expired | True | String (255) | Time in minutes to expire the token. Value given in minutes. Minimum Suggested: Online: 30 minutes Cash: 2 hours For Brazil: Online: 2 hours Cash 24 hrs |
url_ok | True | String (255) | URL where shopper will be redirected from the online banking if payment was successful (Must be Https) |
url_error | True | String (255) | URL where shopper will be redirected from the online banking if payment was wrong.(Must be Https) |
signature | True | String (255) | Signature hash256: Review signature calculation |
shopper_information | True | JSON String | JSON String Data: Review JSON index & format |
shopper_information JSON format
shopper_information JSON format
Field shopper_information must be send in string format (JSON encode).
'{"name_shopper": "Fulano","Num_doc_identi": "41579263","type_doc_identi": "DNI","last_name_Shopper": "Da Silva","email": "[email protected]","country_code": "+56","Phone": "1122223333"}'The shopper_information field is a column corresponding to a json with the next keys:
| Parameter | Mandatory | Data Type | Description |
|---|---|---|---|
name_shopper | True | String (255) | Shopper's name |
last_name_Shopper | True | String (255) | Shopper's last name |
type_doc_identi | True | String (255) | Identification document [RUT,DNI,CI, ID etc.] |
Num_doc_identi | True | String (255) | Identification document number |
email | True | String (255) | Shopper's e-mail |
country_code | True | String (10) | Country's phone code (Ex. +57) |
Phone | True | String (20) | Shopper's phone number |
Filters
The filter_by parameter allows you to route your customers directly to a specific bank's payment environment.
By default, users are sent to the provider's standard checkout page, where they must manually select their bank from a full list. By passing the filter_by parameter with a specific bank identifier, you bypass this intermediate selection screen entirely. The user is instantly redirected to their chosen bank, creating a frictionless checkout experience and saving valuable time for your customers.
| Bank | filter_by value |
|---|---|
| Banco Estado | cl_estado |
| Banco Santander | cl_santander |
| Banco de Chile/Edwards | cl_bch |
| BCI | cl_bci |
| Banco Itaú | cl_itau |
| Banco Scotiabank | cl_scotiabank |
| Banco Falabella | cl_falabella |
| Banco de pruebas (únicamente en sandbox) | cl_test |
Test Transactions
Simulate payment
- Go to the check-out URL provided by ALPS payments system
- Select the bank: Banco de prueba
- Enter RUT and password and click continue (Continuar)
- RUT: 11.111.111-1
- password: 1111
-
Select any account and click continue (Continuar)

-
Enter activation code (Activación con código) and click continue (Continuar)
code: 12345678

-
Enter card activation codes (Activación con tarjeta de coordenadas) and click continue (Continuar)
A1: 00
A2: 00
A3: 00

-
Enter SMS code and click continue (Continuar)
Code: 123456

-
When completed, you will see the success page and will be redirected to the merchant's success URL.
Errors
This payment integration only sends notifications for successfully completed transactions. This means that error messages will not be generated for failed transactions.
