Transaction Management - Create and manage transactions in the HG.Cash system. All transaction endpoints require authentication.
HG.Cash API (1.0.0)
Modern REST API for users to create outbound transactions from their accounts.
- We assign accounts to your user in HG.Cash
- When these accounts have transactions (inbound or outbound), HG.Cash will notify your backend using the webhook URL you configure in the HG.Cash dashboard
- To create cash-outs (money leaving your accounts), you must call the Cash Out endpoint: Create Transaction Request (Cash Out) (
POST /transactions)
- Generate your API token in the account settings page
- Test endpoints using the interactive documentation below
- Implement in your backend services (never expose tokens in frontend)
- Monitor your integration and handle errors appropriately
This API uses Bearer Token authentication. Include your user API token in the Authorization header:
Authorization: Bearer cash_your_token_hereRequest
HG.Cash will send this webhook when a transaction request status changes. The request body contains the request details and current status. You can provide a webhookUrl in the create request payload, or configure a default in user settings.
External ID provided when creating the transaction
Current transaction request status
Type of notification. Always "request" for transaction requests
HG.Cash account ID associated with the transaction
Transaction local date-time in the provided timezone
IANA timezone identifier used to interpret date
Optional error message when status is ERROR
Machine-readable error code when status is ERROR
- Mock serverhttps://docs.hg.cash/_mock/openapi/transaction-request-status-updated
- Production serverhttps://hg.cash/api/v1/transaction-request-status-updated
- Development serverhttp://dev.hg.cash/api/v1/transaction-request-status-updated
{ "id": "789e0123-e89b-12d3-a456-426614174999", "externalID": "REQ-2024-001234", "amount": "15000.50", "currency": "ARS", "direction": "Inbound", "status": "PENDING", "type": "request", "accountId": "550e8400-e29b-41d4-a716-446655440123", "date": "2024-06-19T10:30:00", "timezone": "America/Argentina/Buenos_Aires", "fromName": "Juan Pérez", "toName": "María García", "fromCBU": "1700015400000000000010", "toCBU": "1100015400000000000021", "error": "Insufficient funds on destination account", "fromCUIT": "20123456789", "toCUIT": "27987654321", "concept": "Payment for services", "coelsaCode": "COELSA123456" }
Request
HG.Cash will send this webhook whenever money moves in or out of one of your accounts. The request body contains the movement details.
Use this to keep your internal balances and ledgers in sync with HG.Cash.
- Mock serverhttps://docs.hg.cash/_mock/openapi/account-movement
- Production serverhttps://hg.cash/api/v1/account-movement
- Development serverhttp://dev.hg.cash/api/v1/account-movement
{ "id": "040eac5b-a998-4879-9d8a-05fd2a08c625", "externalID": "E-67REZ8NPQDQ460QK94KVGO-2026-01-14 09:17:21", "amount": "12000", "currency": "ARS", "direction": "Inbound", "status": "hecha", "type": "inbound", "date": "2026-01-14T09:17:21", "timezone": "America/Argentina/Buenos_Aires", "fromName": "Jose Angel Gallucci", "toName": "MUNDO OFERTA IMPORTACIONES S.A", "fromCBU": "0000003100117987328844", "toCBU": "0000151500037626120131", "fromCUIT": "20125680667", "toCUIT": "30718891813", "coelsaCode": "67REZ8NPQDQ460QK94KVGO", "accountId": "843d9d8b-6db8-47a2-8c22-23b198e99c15" }