Documentation for a newer release is available. View Latest

Handle Validate Scheme Rules - AcceptanceDtTm.story

Scenario: Handling validation of scheme rules invalid acceptanceDtTm checked for Creditor direction

When the ⦅Payment Service⦆ sends a Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].accptncDtTm | 2021-09-12T12:43:27.475725+02:00 |
| customBusinessData | supportingContext(flowType,CREDITOR) |

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response using predicate:
| status | FAILURE |
| getPayload().getContent().reasonCode | AB06 |
| getPayload().getContent().description | Timeout |
| requestId | #ValidateSchemeRulesRequest.ipfId |

Scenario: Handling validation of scheme rules invalid acceptanceDtTm not checked for Debtor direction

When the ⦅Payment Service⦆ sends a Validate Scheme Rules Request with values:
| getPayload().getContent().cdtTrfTxInf[0].accptncDtTm | 2021-09-12T12:43:27.475725+02:00 |
| customBusinessData | supportingContext(flowType,DEBTOR) |

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