Your question is Parse and Validate Routing Rules. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Write a function to parse, validate, and process nested JSON payloads representing complex payment routing rules at Payabli.