Get the pacs.002 payment status for a UETR
GET/v1/iso20022/messages/:uetr
Return the current status of a payment submitted through
POST /v1/iso20022/messages, as an ISO 20022
pacs.002.001.12 (FI to FI Payment Status Report) document in
application/iso20022+xml. Both the sending bank and the receiving bank can read it.
Required scope: connector:transfers:read.
Send Accept: application/iso20022+xml (or application/*, */*, or no Accept header);
anything else is rejected with 406.
Status codes and group status
The HTTP status tells you whether the payment has finished:
| Operation state | HTTP status | GrpSts |
|---|---|---|
ACCEPTED, PROCESSING, AWAITING_SCREENING, PENDING_REVIEW, PENDING_COMMITS, MANUAL_REVIEW, CANCELLING | 202 Accepted | PDNG (pending) |
SUCCEEDED | 200 OK | ACCP (accepted) |
REJECTED, FAILED, CANCELLED, EXPIRED, UNKNOWN | 200 OK | RJCT (rejected) |
Keep polling while you receive 202; a 200 is final. For a rejected payment with a
recorded failure reason, TxInfAndSts/StsRsnInf carries an ISO 20022
ExternalStatusReason1Code and, in AddtlInf, the platform's failure message:
Rsn/Cd | Meaning |
|---|---|
MS02 | Rejected by the receiving bank during beneficiary screening. |
MS03 | Rejected by a checker in an approval review. |
AB05 | Beneficiary screening was not completed in time. |
AG07 | Settlement failed after the transfer had been accepted. |
NARR | Any other failure; see AddtlInf. |
Report contents
| Element | Content |
|---|---|
GrpHdr/MsgId | The platform operation id without hyphens (32 hex characters). |
GrpHdr/CreDtTm | UTC time the report was generated, without a zone designator. |
OrgnlGrpInfAndSts/OrgnlMsgId | The UETR without hyphens. This is not the GrpHdr/MsgId of your original message. |
OrgnlGrpInfAndSts/OrgnlMsgNmId | Always pacs.009.001.08. |
OrgnlGrpInfAndSts/GrpSts | PDNG, ACCP or RJCT, as above. |
TxInfAndSts/OrgnlUETR | The UETR. |
TxInfAndSts/StsRsnInf | Only for RJCT with a recorded failure reason. |
Every report is validated against the pacs.002.001.12 XSD before it is returned. The
X-DAN-Operation-Id header gives the operation id in UUID form, for use with
GET /v1/operations/{operation_id}.
Responses are sent without indentation; the examples are indented for readability.
Request
Responses
- 200
- 202
- 400
- 401
- 403
- 404
- 406
- 429
- 503
Final pacs.002.001.12 status report (GrpSts is ACCP or RJCT).
Response Headers
Sent by the ISO 20022 endpoints only. Identifier (a UUID) of the operation that tracks this request.
UETR (Unique End-to-end Transaction Reference) of the payment this response refers to: a
lowercase, hyphenated UUID version 4, taken from PmtId/UETR of the submitted pacs.009
message. The platform never assigns a UETR; it always echoes the one the sending bank chose.
The payment is still in progress; pacs.002.001.12 report with GrpSts PDNG.
Response Headers
Sent by the ISO 20022 endpoints only. Identifier (a UUID) of the operation that tracks this request.
UETR (Unique End-to-end Transaction Reference) of the payment this response refers to: a
lowercase, hyphenated UUID version 4, taken from PmtId/UETR of the submitted pacs.009
message. The platform never assigns a UETR; it always echoes the one the sending bank chose.
The uetr path parameter is not a UUID version 4.
Error, returned as an XML problem document (application/problem+xml). The HTTP status
code is repeated in <status>; each <error> carries a <title> and, where one applies,
a <code> and a <detail>.
The token lacks connector:transfers:read or is not scoped to the bank, or the bank is
suspended or terminated.
No ISO 20022 payment with this UETR exists for which the calling bank is the sender or the receiver. The response is identical whether the UETR does not exist or belongs to other banks.
The Accept header does not allow application/iso20022+xml (accepted values are
application/iso20022+xml, application/* and */*, with a quality above 0). Note that
application/xml alone is not accepted.
Error, returned as an XML problem document (application/problem+xml). The HTTP status
code is repeated in <status>; each <error> carries a <title> and, where one applies,
a <code> and a <detail>.
The workflow service is temporarily unavailable (Workflow unavailable); retry later.