Update child's credit line

Updates the credit line of an existing child balance and automatically adjusts both the child’s credit limit and the parent’s available credit.

Increasing the credit line deducts the additional amount from the parent’s available credit, while decreasing it returns the difference to the parent. All updates are performed atomically to ensure consistency.

The operation fails if the parent does not have sufficient available credit or if the new credit line is lower than the child’s outstanding debt. The child_id parameter refers to the internal balance ID.

Language
Response
Click Try It! to start a request and see the response here!