Overview
Chile cash-in uses hosted checkout: list payment methods, create an inbound transaction, then redirect your customer tocheckoutUrl.
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
GET /api/v1/cl/payment-methods— list methods (id,country,type,name)POST /api/v1/cl/transactions/inbound— passpaymentMethodId(HG id),amount, andcustomer(including ChilepersonalId)- Redirect the payer to
checkoutUrlfrom the response - Optionally poll
GET /api/v1/cl/transactions/{id}/statusor use your webhook URL on the request
Example request
pending and moves to done when payment is confirmed.
Account status
The source account must beOperativa. Requests against Bloqueada or Cerrada accounts return 403 with code: ACCOUNT_NOT_OPERATIVE.
