Documentation Index
Fetch the complete documentation index at: https://docs.hg.cash/llms.txt
Use this file to discover all available pages before exploring further.
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.
