Create Transaction Request (Cash Out)
Create a new transaction request from one of your accounts. This does not perform an on-chain/bank transfer. You may provide a webhookUrl to receive status updates.
๐ Required Fields
accountId: Your account ID to debit fromtoCBUortoCVU: Recipient bank CBU/CVU (22 digits)amount: Positive decimal number- Optional
webhookUrl: URL to receive status updates
๐ Validation Rules
- Account must belong to the authenticated user
- CBU must be a valid 22-digit number
- Optional
externalIDmust be unique per account if provided
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
User API authentication token with format: cash_<64-char-hex>
Example: cash_16cdc3b6f83c72d9d2680adca4f430962981f6bf32613a129dded0aa060387d2
Body
Outbound transaction creation request by a user
ID of the user's account to send funds from
"550e8400-e29b-41d4-a716-446655440123"
Transaction amount (must be positive)
15000.5
Name of the transaction sender
255"Juan Pรฉrez"
Name of the transaction recipient
255"Marรญa Garcรญa"
CBU (bank account number) of the sender
170001540000000020000
Recipient CBU (22 digits). Provide either toCBU or toCVU.
"1100015400000000000021"
Recipient CVU (22 digits). Provide either toCBU or toCVU.
"0000003100012345678901"
CUIT/CUIL of the sender
20123456789
CUIT/CUIL of the recipient
27987654321
Transaction concept or description
500"Payment for services"
Transaction date in your system (ISO 8601 format)
"2024-06-19T10:30:00Z"
Coelsa transaction code
100"COELSA123456"
Additional JSON data for the transaction
{
"reference": "REF-001",
"category": "services",
"metadata": {
"source": "mobile_app",
"version": "1.2.3"
}
}Optional webhook URL to receive status updates for this request
"https://client.example.com/webhooks/transaction-request"
Response
Transaction request created successfully
Internal transaction request ID
"789e0123-e89b-12d3-a456-426614174999"
"REQ-2024-001234"
"2024-06-19T10:30:00Z"
PENDING, AWAITING_REVIEW, PROCESSING, DONE, ERROR, CANCELLED "PENDING"

