The section 7A of the Prevention of Corruption Act in India states:
Taking undue advantage to influence public servant by corrupt or illegal means or by exercise of personal influence.
Whoever accepts or obtains or attempts to obtain from another person for himself or for any other person any undue advantage as a motive or reward to induce a public servant, by corrupt or illegal means or by exercise of his personal influence to perform or to cause performance of a public duty improperly or dishonestly or to forbear or to cause to forbear such public duty by such public servant or by another public servant, shall be punishable with imprisonment for a term which shall not be less than three years but which may extend to seven years and shall also be liable to fine.
Undue advantage means illegal compensation in this Act. This law is related to non-public servant middlemen who take money from people as a reward for causing corruption.
Hypothetically, under this definition, could a person extracting or extorting money after the act has been done be liable under this code?
For example, someone promises to give that person undue advantage if they cause corruption. If X causes a public servant to perform a duty in corrupt ways for Y but Y doesn't compensate X for causing the public servant to do that, so X extorts money from Y, would X be liable under Section 7A?
Keep in mind that this is a special law, and in general, courts interpret a law to give it the full intent of the drafters.