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 - 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 |
Tabla 1. 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 |