List faces
list_facesLists the pain.001 projection targets and their accepted bindings so you can choose a face and supply required bank-specific values before projecting a payment message.
Instructions
List the faces: the standards a pain.001 document can be projected into.
Use this before ``project_face`` to pick a target and to learn which
bindings it accepts. A binding is a value the payment message does
not carry, such as the UK Open Banking ``ConsentId`` agreed with the
bank; any key a face does not list is refused.
Delegates to :func:`pain001.faces.list_supported_faces`.
Returns:
``{"count", "faces": [{"name", "description", "bindings"}, ...]}``,
or ``{"error": ...}`` when the installed pain001 has no faces.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| error | No | ||
| faces | No |