Handle Recall Status Request Rejection From CSM GrpSts.story
Scenario: Recall Status Request rejected by CSM GrpSts
When the ⦅Recall Service⦆ sends a Send Recall To Csm Request
Then the ⦅CSM⦆ receives a Payment Cancellation Request
And ⦅Recall Service⦆ receives a Technical Response with values:
| status | SUCCESS |
And ⦅Recall Service⦆ receives a Send Recall To Csm Response
When the ⦅Recall Service⦆ sends a Recall Enquiry Request
Then ⦅the CSM⦆ receives a Payment Status Request with values:
| FIToFIPmtStsReq.OrgnlGrpInf.OrgnlMsgNmId | camt.056.001.01 |
And ⦅Recall Service⦆ receives a Technical Response with values:
| status | SUCCESS |
When the ⦅CSM⦆ sends a for-pacs028 Payment Status Report with values:
| FIToFIPmtStsRpt.orgnlGrpInf*And*Sts.grpSts | RJCT |
| FIToFIPmtStsRpt.orgnlGrpInf*And*Sts.stsRsnInf.rsn.cd | FF01 |
Then ⦅Recall Service⦆ receives a Recall Enquiry Response
And ⦅Recall Service⦆ receives a System Event using predicate:
| level | WARN |
| name | RecallStatusEnquiryError |
| type | FUNCTIONAL |
| payload.csm | RT1 |
| payload.rawMessage.externalResponseBody | prettyPrint(#PaymentStatusReport) |
| payload.description | RecallStatusEnquiryRejected |
| payload.transactionId | #PaymentStatusReport.fIToFIPmtStsRpt.txInf*And*Sts.orgnlTxId |