This page's content:

Payment Page API

To create a payment using EBANX Payment Page, you must call the API method request.

The following parameters are mandatory for Chilean payment methods using EBANX Payment Page. Depending on your business model, more information can be required for a payment request:

integration_key string

Your unique and secret integration key.

payment.name string

Customer name.

payment.email string

Customer email address.

payment.country string

Two-letter country code cl for Chile.

payment.payment_type_code string

The customer chooses the payment method. Supported values:

  • _all: all available payment methods for the merchant account in this country.
  • servipag: Servipag.
  • sencillito: Sencillito cash payment voucher.
  • webpay: Webpay payment method.
  • multicaja: Multicaja payment method.
payment.merchant_payment_code string

Unique identifier for this payment (usually the order number from your system).

payment.currency_code string

The currency code of your transaction. Supported values: CLP, USD and EUR.

payment.amount float

Transaction amount, in the specified currency. E.g.: 100.50

Please note that Chile has recently removed some coins, which means that for cash payment(Multicaja, Sencillito, and ServiPag) transactions using CLP, all prices containing values less than or equal to $5 will be rounded to zero. All values greater than $5 will be rounded to $10.

A successful request will return a JSON expression similar to the one below. You will need to redirect the customer to the EBANX Payment Page using the redirect_url.

Direct API

To create a payment using EBANX Direct, you must call the API method direct.

The following parameters are mandatory for Chile payment methods using EBANX Direct. Depending on your business model, more information can be required for a payment request:

integration_key string

Your unique and secret integration key.

payment.name string

Customer name.

payment.email string

Customer email address.

payment.document string

Customer RUT (taxpayer identification number). It must be a valid one.

payment.phone_number string

Customer phone number with area code.

payment.country string

Two-letter country code cl for Chile.

payment.payment_type_code string

The customer chooses the payment method. Supported values:

  • servipag: Servipag.
  • sencillito: Sencillito cash payment voucher.
  • webpay: Webpay payment method.
  • multicaja: Multicaja payment method.
payment.merchant_payment_code string

Unique identifier for this payment (usually the order number from your system).

payment.currency_code string

The currency code of your transaction. Supported values: CLP, USD and EUR

payment.amount_total float

Transaction amount, in the specified currency. E.g.,: 100.50

Servipag – Direct API

The following parameters are specific to the Servipag payment method. Depending on your business model, more information can be required for a payment request:

payment.payment_type_code string

Value must be servipag for Servipag payments.

A successful request will return a JSON expression similar to the one below. You will need to redirect the customer to redirect_url – the customer then will be automatically redirected to ServiPag’s website.

Sencillito – Direct API

The following parameters are specific to the Sencillito payment method. Depending on your business model, more information can be required for a payment request:

payment.payment_type_code string

Value must be sencillito for Sencillito payments.

A successful request will return a JSON expression similar to the one below. You will need to redirect the customer to redirect_url – the customer then will be automatically redirected to Sencillito’s website.

Webpay – Direct API

The following parameters are specific to the Webpay payment method. Depending on your business model, more information can be required for a payment request:

payment.payment_type_code string

Value must be webpay for Webpay payments.

payment.zipcode string

Customer zip code.

payment.address string

Customer address (street name).

payment.street_number string

Customer street number.

payment.city string

Customer city’s name.

payment.state string

Customer state’s name.

payment.phone_number string

Customer phone number with area code.

A successful request will return a JSON expression similar to the one below. You will need to redirect the customer to redirect_url. The customer then will be automatically redirected to Webpay’s website.

Multicaja – Direct API

The following parameters are specific to the Multicaja payment method. Depending on your business model, more information can be required for a payment request:

payment.payment_type_code string

The value must be multicaja for Multicaja payments.

A successful request will return a JSON expression similar to the one below. You will need to redirect the customer to redirect_url. The customer then will be automatically redirected to Multicaja’s website.