Hello,
Sorry, my bad, I misunderstood the question. In order to check if an account is closed, you can invoke the
Retrieve Blocking States For Account endpoint. If the account is closed, the response will contain a stateName field as follows:
"stateName": "CLOSE_ACCOUNT"
You can use this to determine if an account is closed.
This is the PHP equivalent of the
Retrieve Blocking States For Account method.
Hope this helps.
Regards,
Reshma