Documentation V3
  • Localpayment documentation V3
  • INTRODUCTION TO OUR SOLUTION
    • Intro to our Documentation
    • Intro to Payment Methods in Emerging Markets
    • Merchant Dashboard
      • Dashboard Navigation
      • Login
      • User Roles
      • Roles
      • Users
      • Whitelist your IPs
      • Whitelist your BINs
      • Setup your Webhooks
      • Reports
        • Balance
        • Projected Balance
        • Activity
        • Transaction Detail
        • FIDES Report
      • Virtual accounts
      • Refunds
        • Refund Bank Transfer
        • Refund Card Capture
        • Refund Cash
      • Chargeback
      • Internal Domestic Transfer
      • Internal Foreign Transfer
      • Currency Exchange
        • Create
      • Wire In
      • Wire Out
    • Intro to FX operations
    • Business definitions
      • Payins
      • Payouts
    • Onboarding & Integration
    • Postman Collection
  • ENVIRONMENTS
    • Environments
  • BEFORE A PAYMENT
    • Access Token
    • Validations
      • Document Validation
      • Bank Account Validation
      • Validate BIN
    • Holidays
    • Search Payment Method
    • Search Bank Codes
    • Cash Agents Geolocalization
    • Installments Plan Quote
    • Currency Exchange Quote
    • Billing Service
      • Create
        • Mexico
      • Check Billing status
      • Download Billing
  • REQUEST A PAYMENT
    • Payins
      • Bank Transfer
        • Direct debit
          • DEBIN (Argentina)
          • Transfiya (Colombia)
          • Wallet Fri (Guatemala)
        • Virtual Account
          • Mexico
            • Request Individual
            • Request Batch
            • Check Virtual account
            • Delete Virtual account
            • Enable or Disable Virtual Account
          • Brazil
            • Request Individual
            • Check Virtual account
            • Alias ​​configuration
          • Argentina
            • Request Individual
            • Request Batch
            • Check virtual account
            • Delete Virtual account
          • Refund Virtual Account
        • Online Reference Code Payments
          • Mexico
        • Refund Bank Transfer
        • Cancel
        • APMs
          • CODI (Mexico)
          • ETPAY (Chile)
          • Fintoc (Chile)
          • Boleto (Brazil)
          • PIX (Brazil)
            • Refund Pix
          • PSE (Colombia)
          • QR (Bolivia)
          • QR (Guatemala)
          • QR (Argentina)
          • QR (Perú)
      • Cash
        • Cash
          • APMs
            • Boleto (Brazil)
        • Cancel
        • Refund Cash
      • Debit Card
        • Capture
        • Refund Capture
      • Credit Card
        • Capture
        • Create Authorization
        • Capture Authorization
        • Cancel Authorization
        • Refund Capture
        • Installments
        • Save Cards
          • Save Card
          • Get Card
          • Delete Card
        • 3D-Secure
        • Validate card
        • Chargebacks
          • Notification
          • Send documentation
          • Close Chargeback
    • Payin Subscriptions
      • Create a subscription
      • Update subscription
      • Cancel
    • Payin Subscriptions Plan
      • Create subscription plan
      • Update subscription plan
      • Get subscription plan
    • Payouts
      • Search available banks
      • Create
        • Argentina
        • Bolivia
        • Brazil
        • Chile
        • Colombia
          • Colombia ACH
          • Colombia Transfiya
        • Costa Rica
        • Dominic Republic
        • Guatemala
        • Honduras
        • Mexico
        • Panama
        • Peru
        • Kenya
      • Manual Upload
        • Create Batch Upload
        • Batch Pending Authorization
        • Cancel Batch Pending Authorization
        • Batch Activity
      • Proof of Payment (POP)
      • Cancel
      • Commit payout
      • Attach documents
      • Ripplenet getway
    • Payouts Double Signature
      • Authorize
    • Checkout
      • Webcheckout
        • Credit Card
        • Debit Card
        • Cash
        • Bank Transfer
      • Link Payment
      • Frequent Items
      • Iframe
      • Smart Checkout/ iframe
      • Virtual Pos
      • Plugins
        • Magento
        • Shopify
        • Google Pay
        • WooCommerce
  • AFTER A PAYMENT
    • Check Status
    • Check Payment
    • Check Payment list
    • Check Subscription
    • Account Balance
      • Balance Reconciliation
      • Current Balance Amount
    • Withholding Certificates
    • Proof of Payment
    • RFI - Documentation
  • SETTLEMENT & EXCHANGE
    • Wire In
    • Wire Out
    • Currency Exchange Bulk
      • Quote
      • Bulk
      • Currency exchange - Front end
    • Internal Transfers
      • Internal Domestic Transfer
      • Internal Foreign Transfer
  • NOTIFICATIONS
    • Callbacks - Webhooks
      • Configurations
      • Payins
        • Payin Bank Transfer
        • PSE Colombia
        • Payin Virtual Account
        • Payin Cash
        • Payin Credit Card
        • Payin Debit Card
      • Payouts
    • SFTP- Email Reports
  • API REFERENCE GUIDE
    • Validation Error Codes
    • Transaction Type & Status
      • Payin
      • Subscriptions
      • Payout
      • Chargeback
      • Credit
      • Currency Exchange
      • Debit
      • Expenses
      • Internal Transfer
      • Recall
      • Refund
      • Return
      • Recurring Fee
      • Wire in
      • Wire out
    • Payout Methods + SLA
      • Latam
    • Payin Methods + SLA
      • Argentina
      • Bolivia
      • Brazil
      • Chile
      • Colombia
      • Dominican Republic
      • Guatemala
      • Mexico
      • Panama
      • Peru
    • Currency Codes
      • Latam
    • Country Codes
      • Latam
    • Bank codes
      • Latam
        • Argentina
        • Bolivia
        • Brazil
        • Chile
        • Colombia
        • Costa Rica
        • Dominican Republic
        • Guatemala
        • Honduras
        • Mexico
        • Panamá
        • Peru
    • Bank account validations
      • Latam
        • Argentina
        • Bolivia
        • Brazil
        • Chile
        • Colombia
        • Costa Rica
        • Dominican Republic
        • Guatemala
        • Mexico
        • Panama
        • Peru
    • Document Validations
      • Argentina
      • Bolivia
      • Brazil
      • Chile
      • Colombia
      • Costa Rica
      • Dominican Republic
      • El Salvador
      • Guatemala
      • Honduras
      • Mexico
      • Panama
      • Peru
    • Concept Codes
  • FLOWS AND CHARACTERISTICS
    • Account Currencies
    • Involved Parties
    • Payin Status Flow
      • Payins
        • Payin Status Flow - Card
        • Payin Status Flow - Bank
        • Payin Status Flow -Cash
      • Refund - Card
      • Refund - Cash & Bank
      • Chargeback
    • Payout Status Flow
      • Payout - Bank
      • Return
      • Recall
    • Payin Subscription Flow
      • Payins Subscription Status Flow - Card
    • Virtual Account Status Flow
    • Settlement Status Flow
      • Wire In
      • Wire Out
    • Payin Methods Flow
      • Argentina
      • Bolivia
      • Brazil
      • Chile
      • Colombia
      • Dominican Republic
      • Guatemala
      • Honduras
      • Mexico
      • Panama
      • Peru
  • HOLIDAYS
    • 2021
    • 2022
    • 2023
    • 2024
    • 2025
  • COMPLIANCE
    • Values
    • Prohibited Countries
    • Prohibited Business
    • Compliance Program Docs
    • Licenses
    • Terms & Conditions
  • GLOSSARY
    • Payments Explained
    • FAQ
  • PLUGINS
    • Magento
    • Shopify
    • Google Pay
    • WooCommerce
    • Ripplenet
Powered by GitBook
On this page

Was this helpful?

  1. REQUEST A PAYMENT
  2. Payins
  3. Bank Transfer
  4. APMs

ETPAY (Chile)

This payment solution is only available in Chile

ETPAY acts as an intermediary that facilitates real-time debit transactions directly from the user's bank account. This is especially beneficial because it makes it easy to collect and receive remote payments securely and easily. In this option we provide you with a URL to integrate into your front-end. From there it redirects to an ETPAY interface where end users can select the bank and initiate online payments quickly and securely.

BANKS:

  • Banco Estado

  • Banco Falabella

  • Banco de Chile

  • Banco Santander

  • Banco Itaú

  • Banco BCI

  • Banco Scotiabank

  1. The expiration time is 30 minutes. If you create a payment link and nobody opens it, after 30 minutes you will receive the webhook notifying that it failed.

ETPAY

POST https://api.stage.localpayment.com/api/payin

Headers

Name
Type
Description

Authorization*

string

Mandatory. JWT token in format Bearer eyJ0... . For more information about authentication, please refer to Authentication

Request Body

Name
Type
Description

paymentMethod*

OBJECT

Manatory. Payment method details

paymentMethod.type*

string

Mandatory. BankTransfer

paymentMethod.code*

string

paymentMethod.flow*

string

Mandatory. The payment method data could be embeded in the API request (REDIRECT).

externalId*

string

Mandatory. An ID that is meaningful to you and your system. It must be unique and alphanumeric, no characters allowed.

country*

string

amount*

number

Mandatory. Amount to charge to your end user. For CLP, send without decimals.

currency*

string

Mandatory. The currency in which the amount is expressed.

accountNumber*

string

Mandatory. Your Localpayment account number in which the amount will be credited.

conceptCode*

string

merchant*

Object

Mandatory. Party Object.

type*

string

Mandatory. Possible values: INDIVIDUAL, COMPANY

name*

string

Mandatory. Individual first name / company name

lastName*

string

Mandatory only for INDIVIDUAL type / Ignored for COMPANY.

comment*

string

Optional. A comment related to the transaction. It should be something meaningful to your business.

payer*

Object

Mandatory. Party Object. Information related to the payer

exchangeRateToken

string

type*

string

Mandatory. Possible values: INDIVIDUAL

name*

string

Mandatory. Individual first name / company name

lastName

string

Mandatory for individuals / Ignored for companies.

document*

Object

document.type*

string

document.id*

string

Mandatory. Identity document Id. Usually numbers or combination of numbers and letters.bank

bank*

OBJECT

Mandatory. Party Object. Payer account data.

bank.name

string

Bank Name

bank.code*

string

bank.account*

OBJECT

Mandatory. Party Object. Payer account information.

bank.account.type*

string

bank.account.number*

string

Mandatory. Payer account number

phone

Object

Optional. Party Object. Contact phone number

email*

string

Mandatory.

phone.countryCode

string

Optional

phone.areaCode

string

Optional

phone.number

string

Optional

address

Object

Optional. Party Object. Contact address

address.street

string

Optional

address.number

string

Optional

address.city

string

Optional

address.state

string

Optional

address.country

string

Optional

address.zipCode

string

Optional

address.comment

string

Optional. Additional info, such as floor or apartment number.

  • At the moment of generating the request by Api, the system will answer the url that directs to the ETPAY portal in the field “redirectUrl”.

{
    "transactionType": "PayIn",
    "externalId": "{{ExternalId}}",
    "internalId": "{{$Timestamp}}",
    "paymentMethod": {
        "type": "BankTransfer",
        "code": "2528",
        "flow": "REDIRECT"
    },
    "country": "CHL",
    "currency": "CLP",
    "amount": 100.0,
    "accountNumber": "{{AccountNumber}}",
    "confirmed": {
        "currency": "CLP",
        "amount": 1.0,
        "fxQuote": 0.0
    },
    "payment": {
        "currency": "CLP",
        "fxQuote": 0.0,
        "financingFee": 0.0,
        "amount": 1.0
    },
    "localTaxes": [],
    "withHoldings": [],
    "fees": {
        "description": "Fee",
        "currency": "CLP",
        "fxSource": 1,
        "fxQuote": 1.0,
        "amount": 0.0,
        "account": "{{Account}}"
    },
    "status": {
        "code": "100",
        "description": "INPROGRESS",
        "detail": "The payin is pending the confirmation"
    },
    "merchant": {
        "type": "INDIVIDUAL",
        "name": "Local",
        "lastname": "df",
        "document": {
            "type": "{{Type}}",
            "id": "{{documentId}}"
        },
        "email": "email@localpayment.com"
    },
    "payer": {
        "bank": {
            "name": "Banco Estado",
            "code": "012",
            "account": {
                "type": "c",
                "number": "{{Number}}"
            }
        },
        "type": "INDIVIDUAL",
        "name": "Name",
        "lastname": "Lastname",
        "document": {
            "type": "RUT",
            "id": "{{documentId}}"
        },
        "email": "tatilp@localpayment.com",
        "phone": {
            "countryCode": "57",
            "areaCode": "57",
            "number": "3196745555"
        },
        "address": {
            "street": "Calle 12",
            "number": "",
            "city": "BA",
            "state": "BA",
            "country": "COL",
            "comment": ""
        }
    },
    "intermediaries": [],
    "wireInstructions": {
        "referenceCode": "FDEG-HVCF-JUWX"
    },
    "date": {
        "creationDate": "2023-12-01T15:44:55.058+00:00",
        "processedDate": "2023-12-01T15:45:01.4368519",
        "expirationDate": "2023-12-08T15:44:55.4677488"
    },
    "redirectUrl": "https://web-checkout.stage.localpayment.com/redirect/aHR0cHM6Ly9wbXQtc2FuZGJveC5ldHBheS5jb20vc2Vzc2lvbi9mT09OZkdvcEVuM1F4RUs4aUZKcWVEdGpadDU5T3ExcjhOamNUM213aFNFbjN0S2sxSzNLcXVtUjk5dTFKTFVS",
    "errors": []
}
{
    "externalId": "993cd468-26d5-4121-b865-09208a773ec1",
    "internalId": "29d83935-f0e8-4f9b-85d5-1485f07e3a4e",
    "status": {
        "code": "300",
        "description": "REJECTED",
        "detail": "Invalid param + [payer.document] + must not be null"
    },
    "errors": [
        {
            "code": "300",
            "detail": "Invalid param + [payer.document] + must not be null"
        }
    ]
}
curl --location 'https://api.stage.localpayment.com/api/payin/' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {your Bearer}'\
--data-raw '{
    "paymentMethod": {
        "type": "BankTransfer",
        "code": "2528",
        "flow": "REDIRECT"
    },
    "externalId": "{{$externalId}}",
    "country": "CHL",
    "currency": "CLP",
    "amount": 100,
    "accountNumber": "{{AccountNumber}}",
    "conceptCode": "0038",
    "comment": "Payer",
    "merchant": {
        "type": "INDIVIDUAL",
        "name": "merchantName",
        "lastname": "merchantLastname,
        "document": {
            "type": "RUT",
            "id": "{{id}}"
        },
        "email": "email@localpayment.com"
    },
    "payer": {
        "type": "INDIVIDUAL",
        "name": "Tatiana Aguirre",
        "lastname": "Lastname",
        "document": {
            "type": "RUT",
            "id": "{{id}}"
        },
        "phone": {
            "areaCode": "57",
            "countryCode": "57",
            "number": "{Number}"
        },
        "email": "tatilp@localpayment.com",
        "address": {
            "country": "CHL",
            "number": "",
            "state": "BA",
            "city": "BA",
            "street": "Street",
            "comment": ""
        },
        "bank": {
            "name": "Banco Estado",
            "code": "012",
            "account": {
                "type": "c",
                "number": "{{bankAccountNumber}}"
            }
        }
    }
}
{
    "transactionType": "PayIn",
    "externalId": "{{ExternalId}}",
    "internalId": "{{$Timestamp}}",
    "paymentMethod": {
        "type": "BankTransfer",
        "code": "2528",
        "flow": "REDIRECT"
    },
    "country": "CHL",
    "currency": "CLP",
    "amount": 100.0,
    "accountNumber": "{{AccountNumber}}",
    "confirmed": {
        "currency": "CLP",
        "amount": 1.0,
        "fxQuote": 0.0
    },
    "payment": {
        "currency": "CLP",
        "fxQuote": 0.0,
        "financingFee": 0.0,
        "amount": 1.0
    },
    "localTaxes": [],
    "withHoldings": [],
    "fees": {
        "description": "Fee",
        "currency": "CLP",
        "fxSource": 1,
        "fxQuote": 1.0,
        "amount": 0.0,
        "account": "{{Account}}"
    },
    "status": {
        "code": "100",
        "description": "INPROGRESS",
        "detail": "The payin is pending the confirmation"
    },
    "merchant": {
        "type": "INDIVIDUAL",
        "name": "Local",
        "lastname": "df",
        "document": {
            "type": "{{Type}}",
            "id": "{{documentId}}"
        },
        "email": "email@localpayment.com"
    },
    "payer": {
        "bank": {
            "name": "Banco Estado",
            "code": "012",
            "account": {
                "type": "c",
                "number": "{{Number}}"
            }
        },
        "type": "INDIVIDUAL",
        "name": "Name",
        "lastname": "Lastname",
        "document": {
            "type": "RUT",
            "id": "{{documentId}}"
        },
        "email": "tatilp@localpayment.com",
        "phone": {
            "countryCode": "57",
            "areaCode": "57",
            "number": "3196745555"
        },
        "address": {
            "street": "Calle 12",
            "number": "",
            "city": "BA",
            "state": "BA",
            "country": "COL",
            "comment": ""
        }
    },
    "intermediaries": [],
    "wireInstructions": {
        "referenceCode": "FDEG-HVCF-JUWX"
    },
    "date": {
        "creationDate": "2023-12-01T15:44:55.058+00:00",
        "processedDate": "2023-12-01T15:45:01.4368519",
        "expirationDate": "2023-12-08T15:44:55.4677488"
    },
    "redirectUrl": "https://web-checkout.stage.localpayment.com/redirect/aHR0cHM6Ly9wbXQtc2FuZGJveC5ldHBheS5jb20vc2lvbi9mT09OZkdvcEVuM1F4RUs4aUZKcWVEdGpadDU5T3ExcjhOamNUM213aFNFbjN0S2sxSzNLcXVtUjk5dTFKTFVS",
    "errors": []
}
{
    "externalId": "993cd468-26d5-4121-b865-09208a773ec1",
    "internalId": "29d83935-f0e8-4f9b-85d5-1485f07e3a4e",
    "status": {
        "code": "300",
        "description": "REJECTED",
        "detail": "Invalid param + [payer.document] + must not be null"
    },
    "errors": [
        {
            "code": "300",
            "detail": "Invalid param + [payer.document] + must not be null"
        }
    ]
}
PreviousCODI (Mexico)NextFintoc (Chile)

Last updated 5 months ago

Was this helpful?

Mandatory. Select among the codes available in each country for a NOTE: payment method code might affect the collection currency in bimonetary countries. For more info, see the side note on currency field.

Mandatory. Your end user's country (i.e. country in which the payment will be processed), in ISO format. Please refer to for a full list of supported countries.

Mandatory. Choose the suitable concept code from our . Based on our experience, the most usual are 0039 (remittances) and 0040 (corporate payments).

Optional. Token provided by the in order to use an upfront agreed exchange rate.

Mandatory.Party Object.

Mandatory. Document types.

Mandatory.

Mandatory.

Payin limits-Sla
Country Codes
Concept Code List
Foreign Exchange service
Valid identity document.
Check the regonized document type list per country
Bank code, according to Localpayment bank codes list.
Payer account type, according to Localpayment typification