Creates a new child balance under an existing parent balance by allocating a portion of the parent's available credit.
The specified credit line (in Mexican cents) is immediately deducted from the parent’s available credit, and both balances are updated atomically to ensure consistency. The parent_id in the path is the external ID (UUID format), not the internal database ID.
The child balance becomes available for transactions as soon as it is created.
Recent Requests
Log in to see full request history
Time
Status
User Agent
Retrieving recent requests…
Loading…
Responses
400
Bad Request - Validation errors or invalid parameters.
Error code 5000 - Validation errors:
credit_line too large (The requested credit exceeds the parent's available credit)
incorrect parent_id (The parent_id does not exist or is invalid)
Invalid request parameters
Example of error response
JSON
{
"timestamp": "2025-10-01T11:42:09.889571305-06:00",
"endpoint": "/wallet/v1/composite-balance/parent/66acce83856147e791206ca90a6e4b6e/child",
"error": {
"code": 5000,
"text": "Validation Error",
"hints": [
"Validations for the request failed, please check the parameters and try again",
"incorrect parent_id"
]
},
"payload": {}
}
500
Internal Server Error - Server errors or processing failures.