Documentation for a newer release is available. View Latest

Handle Recall Request Rejection From CSM GrpSts.story

Scenario: Recall rejected by CSM GrpSts


Steps
When the Recall Service sends a 'Send Recall To Csm Request'
Then the CSM receives a 'Payment Cancellation Request'
Then Recall Service receives a 'Technical Response' with values:
| status | SUCCESS |
When the CSM sends a 'for-camt056' 'Payment Status Report' with values:
| FIToFIPmtStsRpt.orgnlGrpInfAndSts.orgnlMsgNmId     | camt.056.001.01                                                 |
| FIToFIPmtStsRpt.orgnlGrpInfAndSts.grpSts           | <GrpSts>                                                        |
| FIToFIPmtStsRpt.orgnlGrpInfAndSts.stsRsnInf.rsn.cd | <GrpStsRsnCd>                                                   |
| FIToFIPmtStsRpt.txInfAndSts.orgnlTxId              | #PaymentCancellationRequest.FIToFIPmtCxlReq.undrlyg.txInf.cxlId |
Then Recall Service receives a 'Send Recall To Csm Response' with values:
| payload.content.orgnlGrpInfAndSts[0].orgnlMsgNmId        | camt.056.001.01                                                 |
| payload.content.orgnlGrpInfAndSts[0].grpSts              | <GrpSts>                                                        |
| payload.content.orgnlGrpInfAndSts[0].stsRsnInf[0].rsn.cd | <GrpStsRsnCd>                                                   |
| payload.content.txInfAndSts[0].orgnlTxId                 | #PaymentCancellationRequest.FIToFIPmtCxlReq.undrlyg.txInf.cxlId |
Examples:
GrpSts GrpStsRsnCd TxSts SctRespCd SctRespPrtry

RJCT

FF01

NOT_SET

NOT_SET

NOT_SET

Example: {GrpSts=RJCT, GrpStsRsnCd=FF01, TxSts=NOT_SET, SctRespCd=NOT_SET, SctRespPrtry=NOT_SET}

When the ⦅Recall Service⦆ sends a Send Recall To Csm Request

Then the ⦅CSM⦆ receives a Payment Cancellation Request

Then ⦅Recall Service⦆ receives a Technical Response with values:
| status | SUCCESS |

When the ⦅CSM⦆ sends a for-camt056 Payment Status Report with values:
| FIToFIPmtStsRpt.orgnlGrpInf*And*Sts.orgnlMsgNmId | camt.056.001.01 |
| FIToFIPmtStsRpt.orgnlGrpInf*And*Sts.grpSts | ⦅RJCT⦆ |
| FIToFIPmtStsRpt.orgnlGrpInf*And*Sts.stsRsnInf.rsn.cd | ⦅FF01⦆ |
| FIToFIPmtStsRpt.txInf*And*Sts.orgnlTxId | #PaymentCancellationRequest.FIToFIPmtCxlReq.undrlyg.txInf.cxlId |

Then ⦅Recall Service⦆ receives a Send Recall To Csm Response with values:
| payload.content.orgnlGrpInf*And*Sts[0].orgnlMsgNmId | camt.056.001.01 |
| payload.content.orgnlGrpInf*And*Sts[0].grpSts | ⦅RJCT⦆ |
| payload.content.orgnlGrpInf*And*Sts[0].stsRsnInf[0].rsn.cd | ⦅FF01⦆ |
| payload.content.txInf*And*Sts[0].orgnlTxId | #PaymentCancellationRequest.FIToFIPmtCxlReq.undrlyg.txInf.cxlId |