The “availability” field contains two objects; with each object having “payments” and “data” as fields.
The first object “active” indicates whether the bank is enabled from Lean’s end. For instance, a bank’s services might be undergoing some maintenance which could delay the responses coming in from the bank.
The second object “enabled” signifies if the bank is enabled by the TPP. You can do this in your Lean dashboard under “Bank connections”. There is an additional parameter called “active”, which is now deprecated.