Skip to main content

Dashboard

  1. Open Checkouts in the sidebar (/app/checkouts).
  2. Review the stats row and recent sessions on the overview.
  3. In Create checkout, choose country, account (optional—HG.Cash picks an eligible operative account if omitted), amount, and success URL.
  4. Click Create checkout. Copy the checkout link from the success panel and send it to your payer.
Use Validate or Reconcile (top right) when you need those flows.

Country notes (dashboard)

API

POST /api/v1/checkouts with Bearer token. Minimum body:
Optional: 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), and payer.email required on create.
  • Response may include qrCode and pixCopiaECola.

Chile (CL)

  • paymentMethodId and customer required — see Chile cash-in for payment method listing.

Bolivia (BO)

  • payer.name, payer.document (payer CI or document ID), and payer.email required on create.
  • Response may include qrCode for 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, and successUrl. 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, and locale.
  • expiresInSeconds is optional. The default is 86400 seconds. The maximum is 604800 seconds. locale is optional and is only es or en.
  • The response includes checkoutUrl and omits checkoutUrlProvider.
  • GET /api/v1/checkouts, GET /api/v1/checkouts/{id}, and POST /api/v1/checkouts/{id}/cancel omit providerData for Colombia.
  • The payer opens checkoutUrl, completes payment, and returns to the HG success page. Your successUrl is used only after payment is confirmed.
  • After expiresAt, merchant get and list still return status: pending. The payer session reports expired. Cancelling a pending checkout still sets cancelled.
  • Bloqueada or Cerrada returns 403 with code: ACCOUNT_NOT_OPERATIVE. Restringida returns 403 with code: RESTRICTED. An account that is not ready for checkout returns 400 with error: "Account is not ready for checkout".
  • An account that is not a COP checkout account returns 400 with error: "Account is not supported for this checkout country". That is separate from 400 with error: "Account is not ready for checkout".
  • If the hosted session cannot be created, the API returns 502 with error: "Failed to create CO payment with provider".

Example (Brazil)

Response includes checkoutUrl — send that URL to the payer. PIX fields (qrCode, pixCopiaECola) may also be returned on create.

Example (Bolivia)

Response includes checkoutUrl — send that URL to the payer. A qrCode (base64 image) may also be returned on create.

Example (Colombia)

Response includes checkoutUrl and omits checkoutUrlProvider. Send checkoutUrl to the payer. There is no inbound Colombia transaction endpoint.

Example (Argentina)

Response includes checkoutUrl — send that URL to the payer.