Documentation for a newer release is available. View Latest

Handle Validate Scheme Rules - Bic.story

Scenario: Handling validation of scheme rules invalid bic


Steps
When the Payment Service sends a '<bic>' 'Validate Scheme Rules Request'
Then the Payment Service receives a 'Validate Scheme Rules Response' with values:
| status                                | FAILURE                           |
| getPayload().getContent().reasonCode  | RC01                              |
| getPayload().getContent().description | BIC value not allowed             |
| requestId                             | #ValidateSchemeRulesRequest.ipfId |
Examples:
bic

Invalid Creditor Bic

Invalid Debtor Bic

Example: {bic=Invalid Creditor Bic}

When the ⦅Payment Service⦆ sends a ⦅Invalid Creditor Bic⦆ Validate Scheme Rules Request

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RC01 |
| getPayload().getContent().description | BIC value not allowed |
| requestId | #ValidateSchemeRulesRequest.ipfId |

Example: {bic=Invalid Debtor Bic}

When the ⦅Payment Service⦆ sends a ⦅Invalid Debtor Bic⦆ Validate Scheme Rules Request

Then ⦅the Payment Service⦆ receives a Validate Scheme Rules Response with values:
| status | FAILURE |
| getPayload().getContent().reasonCode | RC01 |
| getPayload().getContent().description | BIC value not allowed |
| requestId | #ValidateSchemeRulesRequest.ipfId |