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.
  • flowcl: Flow payment method.

payment.flow_payment_method

string

This parameter is only mandatory when you choose Flow as the payment method. The possible options are:

  • Webpay
  • Multicaja

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

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 Colombian 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.
  • flowcl: Flow payment method.

payment.flow_payment_method

string

This parameter is only mandatory when you choose Flow as the payment method. The possible options are:

  • Webpay
  • Multicaja

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 – he’ll then 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 – he’ll then be automatically redirected to Sencillito’s website.

Flow

The following parameters are specific for the Flow payment method:

payment.payment_type_code

string

Value must be flowcl for Flow payments.

payment.flow_payment_method

string

Value must be either Webpay or Multicaja for Flow payments.

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