WEBPAY

Chile's Transbank card and transfer gateway. Used for pay-in in Chile.

Webpay is the Transbank gateway, widely used in Chile for both debit and credit card payments as well as bank transfers. The user is redirected to complete the payment on the Transbank-hosted page.

Country: Chile | Currency: CLP | Direction: Pay-in

Required fields

Field
Type
Description

type

string

Must be "WEBPAY"

currency

string

Must be "CLP"

webpay.customer.firstName

string

Payer's first name

webpay.customer.lastName

string

Payer's last name

webpay.customer.email

string

Payer's email

Example

{
  "type": "WEBPAY",
  "currency": "CLP",
  "webpay": {
    "customer": {
      "firstName": "Sebastián",
      "lastName": "Rojas",
      "email": "[email protected]"
    }
  }
}

Response fields

Field
Description

url

Transbank-hosted payment URL

token

Session token

Redirect your user to webpay.url to complete the payment on the Transbank page.

Schema

The webpay object

Attributes
successUrlstringOptional

Redirect URL on successful payment.

failedUrlstringOptional

Redirect URL on failed payment.

The webpay object

Last updated