Dashboard
- Open Checkouts in the sidebar (
/app/checkouts). - Review the stats row and recent sessions on the overview.
- In Create checkout, choose country, account (optional—HG.Cash picks an eligible operative account if omitted), amount, and success URL.
- Click Create checkout. Copy the checkout link from the success panel and send it to your payer.
Country notes (dashboard)
API
POST /api/v1/checkouts with Bearer token. Minimum body:
accountId, cancelUrl, webhookUrl, metadata, idempotencyKey, locale, and payer (country-specific).
For BR, CL, BO, and CO, if you pass an explicit accountId that is Bloqueada or Cerrada, the API returns 403 with code: ACCOUNT_NOT_OPERATIVE. When accountId is omitted, HG.Cash selects an eligible Operativa account.
Argentina (AR)
- Response includes
accountDisplay(alias, CVU/CBU, holder). - Payer completes name, amount, and 8-digit DNI on the hosted page.
- Completion when an inbound transfer matches amount + DNI on the assigned account.
Brazil (BR)
payer.name,payer.document(CPF or CNPJ — digits only or formatted), andpayer.emailrequired on create.- Response may include
qrCodeandpixCopiaECola.
Chile (CL)
paymentMethodIdandcustomerrequired — see Chile cash-in for payment method listing.
Bolivia (BO)
payer.name,payer.document(payer CI or document ID), andpayer.emailrequired on create.- Response may include
qrCodefor the payer to scan.
Colombia (CO)
- Hosted checkout only. There is no
POST /api/v1/co/transactions/inbound. See Colombia cash-in. - Required:
country: "CO",amount, andsuccessUrl. No payer name, document, or email. - HG configures the available payment methods. The create request does not choose them.
- The account must be COP and
Operativa. - Optional:
accountId,cancelUrl,webhookUrl,metadata,reference,idempotencyKey,expiresInSeconds, andlocale. expiresInSecondsis optional. The default is 86400 seconds. The maximum is 604800 seconds.localeis optional and is onlyesoren.- The response includes
checkoutUrland omitscheckoutUrlProvider. GET /api/v1/checkouts,GET /api/v1/checkouts/{id}, andPOST /api/v1/checkouts/{id}/cancelomitproviderDatafor Colombia.- The payer opens
checkoutUrl, completes payment, and returns to the HG success page. YoursuccessUrlis used only after payment is confirmed. - After
expiresAt, merchant get and list still returnstatus: pending. The payer session reportsexpired. Cancelling a pending checkout still setscancelled. BloqueadaorCerradareturns403withcode: ACCOUNT_NOT_OPERATIVE.Restringidareturns403withcode: RESTRICTED. An account that is not ready for checkout returns400witherror: "Account is not ready for checkout".- An account that is not a COP checkout account returns
400witherror: "Account is not supported for this checkout country". That is separate from400witherror: "Account is not ready for checkout". - If the hosted session cannot be created, the API returns
502witherror: "Failed to create CO payment with provider".
Example (Brazil)
checkoutUrl — send that URL to the payer. PIX fields (qrCode, pixCopiaECola) may also be returned on create.
Example (Bolivia)
checkoutUrl — send that URL to the payer. A qrCode (base64 image) may also be returned on create.
Example (Colombia)
checkoutUrl and omits checkoutUrlProvider. Send checkoutUrl to the payer. There is no inbound Colombia transaction endpoint.
Example (Argentina)
checkoutUrl — send that URL to the payer.
Related
- Introduction — Statuses and webhooks
- Validate payments
- Reconcile checkouts
- API reference → Checkouts → Create checkout session

