Yes, you can use the following ResouceByVector API to get the payment resources linked to an account holder:
/api/v1/ifi/{ifiID}/resourceByVector?vectorType=ACCOUNTHOLDER&vectorValue=AH_ID&view=BASIC. Allowed vectorType is ACCOUNTHOLDER and vectorValue is AH_ID. You can also pass view as an optional field which can be of 2 types: - BASIC: this returns active and inactive Form Factors.
- EXPANDED: this returns active, inactive and deleted Form Factors.
By default, view will be set to BASIC. |