Checkout API

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

The following parameters are mandatory for Chilean payment methods using EBANX Checkout:

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 payment method chosen by the customer. 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

float

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

A successful request will return a JSON expression similar to the one below. You will need to redirect the customer to the EBANX Checkout 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:

integration_key

string

Your unique and secret integration key.

payment.name

string

Customer name.

payment.email

string

Customer email address.

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 payment method chosen by the customer. 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

The following parameters are specific for the Servipag payment method:

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

The following parameters are specific for the Sencillito payment method:

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

The following parameters are specific for the Webpay payment method:

payment.payment_type_code

string

Value must be webpay for Webpay payments.

payment.document

string

Customer RUT (Registro Único Tributario). It must be a valid one.

payment.zipcode

string

Customer zipcode.

payment.address

string

Customer address (street name).

payment.street_number

string

Customer street number.

payment.city

string

Customer city name.

payment.state

string

Customer two-letter region code.

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

The following parameters are specific for the Multicaja payment method:

payment.payment_type_code

string

Value must be multicaja for Multicaja payments.

payment.document

string

Customer RUT (Registro Único Tributario). It must be a valid one.

payment.zipcode

string

Customer zipcode.

payment.address

string

Customer address (street name).

payment.street_number

string

Customer street number.

payment.city

string

Customer city name.

payment.state

string

Customer two-letter region code.

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 Multicaja’s website.