parse_pacs002
Parse a pacs.002 payment status report to see whether each transaction was accepted, rejected, or pending, including reason codes.
Instructions
Parse a pacs.002.001.10 (FI-to-FI Payment Status Report) message.
pacs.002 is the response to a pacs.008 credit transfer. It reports whether each transaction was accepted, rejected, or is in an intermediate state. Each transaction carries a status code and optionally one or more structured reason codes explaining the outcome.
Returns a structured ParsedPacs002 on success, or {"error": "..."} on failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The pacs.002 XML message as a string. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |