Skip to main content

Overview

Chile cash-in uses hosted checkout: list payment methods, create an inbound transaction, then redirect your customer to checkoutUrl. Accounts must use currency CLP and country CL.

Prerequisites

  • Bearer API token with access to the CLP account
  • Your Chile CLP account provisioned for cash-in (contact HG.Cash if payment methods are not yet available)

Flow

  1. GET /api/v1/cl/payment-methods — list methods (id, country, type, name)
  2. POST /api/v1/cl/transactions/inbound — pass paymentMethodId (HG id), amount, and customer (including Chile personalId)
  3. Redirect the payer to checkoutUrl from the response
  4. Optionally poll GET /api/v1/cl/transactions/{id}/status or use your webhook URL on the request

Example request

The transaction starts in pending and moves to done when payment is confirmed.

Account status

The source account must be Operativa. Requests against Bloqueada or Cerrada accounts return 403 with code: ACCOUNT_NOT_OPERATIVE.