Overview
Argentina is HG.Cash’s primary market for bank transfers in ARS. HG.Cash assigns banking accounts to your users in the platform. When money moves on those accounts—cash-in (inbound) or cash-out (outbound)—HG.Cash notifies your backend at the webhook URL you configure in account settings. For cash-outs, you initiate instant banking transfers with the API. For cash-ins, you do not create inbound payments through the API; HG.Cash detects movements on your assigned accounts and delivers them to your webhook. For a hosted payment page where the payer transfers to your CVU/alias and enters an 8-digit DNI, use Hosted checkout (country: AR) instead of webhook-only detection alone.
How it works
- Accounts — HG.Cash provisions ARS accounts (CBU/CVU) linked to your user. Use
GET /api/v1/accountsandGET /api/v1/account/{id}/balanceto list balances and status. - Cash-in — Incoming transfers to those accounts are recorded by HG.Cash and sent to your webhook URL (ledger / account movement payloads).
- Cash-out — Call
POST /api/v1/transactionsto request an instant outbound transfer to a recipient CBU or CVU. Status updates are sent to your webhook (and optionally a per-requestwebhookUrl).
Cash-outs (instant transfers)
Outbound payments are transaction requests to a recipient CBU or CVU. HG.Cash processes eligible requests as instant banking cash-outs when your account and limits allow it.Prerequisites
- Bearer API token with access to the ARS account
- Recipient CBU or CVU (22 digits)
- Sufficient net balance on the source account for the transfer amount plus the outbound fee
POST /api/v1/transactions). The request is rejected if amount + outboundFee exceeds netBalance (balance - pendingFees from GET /api/v1/account/{id}/balance).
For example, with netBalance of 1,000,000 ARS and a 1% outbound fee, the maximum you can withdraw in one request is 990,000 ARS — not the full balance.
If the account cannot cover the amount and fee, the API returns 409 with code: INSUFFICIENT_NET_BALANCE and a details object that includes outboundFee, requiredTotal, netBalance, and maxWithdrawableAmount.
Flow
- Optional: confirm balance with
GET /api/v1/accountsorGET /api/v1/account/{id}/balance POST /api/v1/transactions—accountId,amount, andtoCBUortoCVU- Track status with
GET /api/v1/transaction/{id}/status, your dashboard webhook, or an optionalwebhookUrlon the request - Once processing completes, resolve the ledger row with
GET /api/v1/transaction-requests/{id}/transaction-id(returns{ "transactionId": "<uuid>" }ornullwhile still unlinked) or wait for the Transaction request associated webhook (topicTRANSACTION_REQUEST,eventTypetransaction_associated)
Example request
id and initial status (for example PENDING). Use webhooks or polling until the request reaches a terminal state (DONE, ERROR, CANCELLED, and others in the API reference).
Insufficient balance error
When the requested amount plus the outbound fee exceedsnetBalance, HG.Cash returns 409:
maxWithdrawableAmount from the error (or pre-check with the balance endpoint) before retrying with a lower amount.
Related endpoints
GET /api/v1/transaction-requests/{id}/transaction-id— linked ledger transaction ID for a completed cash-out request (nullwhile still processing)GET /api/v1/alias-lookup— resolve alias to CBU/CVU before sending (when enabled for your account)GET /api/v1/transaction-statusesandGET /api/v1/transaction-types— reference data (no auth required)

