Documentation for a newer release is available. View Latest
Esta página no está disponible actualmente en Español. Si lo necesita, póngase en contacto con el servicio de asistencia de Icon (correo electrónico)

Handle Validate Scheme Rules - AmtLimit - Success.story

Scenario: Handling validation of scheme rules for success in both directions


Steps
When the Payment Service sends a 'Validate Scheme Rules Request' with values:
| getPayload().getContent().cdtTrfTxInf[0].intrBkSttlmAmt.value                  | <amount>                               |
| getPayload().getContent().cdtTrfTxInf[0].<agent>.finInstnId.clrSysMmbId.mmbId  | <mmbid>                                |
| customBusinessData                                                             | supportingContext('flowType','<type>') |
Then the Payment Service receives a 'Validate Scheme Rules Response' with values:
| status     | SUCCESS                           |
| requestId  | #ValidateSchemeRulesRequest.ipfId |
Tabla 1. Examples:
mmbid agent type amount

318668

instdAgt

CREDITOR

99999.99

002940

instgAgt

DEBTOR

99999.99

Example: {agent=instdAgt, amount=99999.99, type=CREDITOR, mmbid=318668}

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseMeta(java.lang.String)

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseLegacy(java.lang.String)

When the ⦅Payment Service⦆ sends a Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].intrBkSttlmAmt.value | ⦅99999.99⦆ |
| getPayload().getContent().cdtTrfTxInf[0].⦅instdAgt⦆.finInstnId.clrSysMmbId.mmbId | ⦅318668⦆ |
| customBusinessData | supportingContext(flowType,⦅CREDITOR⦆) |

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | SUCCESS |
| requestId | #ValidateSchemeRulesRequest.ipfId |

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

Example: {agent=instgAgt, amount=99999.99, type=DEBTOR, mmbid=002940}

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseMeta(java.lang.String)

com.iconsolutions.ipf.payments.csm.sic5.application.bdd.testfw.Steps.parseLegacy(java.lang.String)

When the ⦅Payment Service⦆ sends a Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].intrBkSttlmAmt.value | ⦅99999.99⦆ |
| getPayload().getContent().cdtTrfTxInf[0].⦅instgAgt⦆.finInstnId.clrSysMmbId.mmbId | ⦅002940⦆ |
| customBusinessData | supportingContext(flowType,⦅DEBTOR⦆) |

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | SUCCESS |
| requestId | #ValidateSchemeRulesRequest.ipfId |

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()

com.iconsolutions.testfw.core.steps.BaseSteps.clearContext()