Transaction request status updated
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.
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.
Authorizations
HMAC-SHA256 signature of the raw JSON body. Format: sha256=<hex>.
When you configure a webhook signing secret in account settings, HG.Cash includes
this header on every webhook POST. Verify the signature in your endpoint to ensure the request is authentic.
Body
Payload sent to your webhook endpoint when a transaction request status changes.
Headers: When you configure a webhook signing secret in account settings, HG.Cash sends the header X-HG-Webhook-Signature: sha256=<hex> where the value is HMAC-SHA256 of the raw JSON body using your secret. Verify this to ensure the request is authentic.
Notes:
- Numeric values (like
amount, CBU/CUIT) are sent as strings to preserve precision and formatting. dateis a local date-time and must be interpreted usingtimezone.- Configure your webhook URL in the account settings page.
Internal transaction ID
"789e0123-e89b-12d3-a456-426614174999"
External ID provided when creating the transaction
"TXN-2024-001234"
Transaction amount as a decimal string
"15000.50"
ISO 4217 currency code
^[A-Z]{3}$"ARS"
Transaction direction
Inbound, Outbound "Inbound"
Current transaction request status
PENDING, AWAITING_REVIEW, PROCESSING, DONE, ERROR, CANCELLED "PENDING"
Type of notification. Always "request" for transaction requests
"request"
HG.Cash account ID associated with the transaction
"550e8400-e29b-41d4-a716-446655440123"
Transaction local date-time in the provided timezone
"2024-06-19T10:30:00"
IANA timezone identifier used to interpret date
"America/Argentina/Buenos_Aires"
Optional error message when status is ERROR
"Insufficient funds on destination account"
Machine-readable error code when status is ERROR
INSUFFICIENT_BALANCE, DESTINATION_ERROR "INSUFFICIENT_BALANCE"
Name of the sender
"Juan Pérez"
Name of the recipient
"María García"
Sender CBU (22-digit). Sent as string.
^\d{22}$"1700015400000000000010"
Recipient CBU (22-digit). Sent as string.
^\d{22}$"1100015400000000000021"
Recipient CVU (22-digit). Sent as string.
^\d{22}$"0000003100012345678901"
Sender CUIT/CUIL (11-digit). Sent as string.
^\d{11}$"20123456789"
Recipient CUIT/CUIL (11-digit). Sent as string.
^\d{11}$"27987654321"
Transaction concept or description
"Payment for services"
Coelsa transaction code
"COELSA123456"
Optional JSON metadata from the transaction request
When true, the request was held for security review before processing
Optional machine-readable reason when flagged for security review

