---
# System prepended metadata

title: PAYM-813 - GET User Store Detail
tags: [Sprint 15, Dinar]

---

# PAYM-813 - GET User Store Detail

## Test Scenarios
#### Test Scenario 1
```gherkin
Scenario Outline: As an Admin, I should get error response for wrong orgCode param
    Given the user has logged in
    When the user input <wrongType> for orgCode params
        And the user hit endpoint get user store detail
    Then show response error message
    Examples:
    | wrongType    |
    | ------------ |
    | string       |
    | blank        |
    | non-existent |
```

#### Test Scenario 2
```gherkin
Scenario Outline: As an Admin, I should get error response for wrong sinbadId param
    Given the user has logged in
    When the user input <wrongType> for sinbadId params
        And the user hit endpoint get user store detail
    Then show response error message
    Examples:
    | wrongType    |
    | ------------ |
    | string       |
    | blank        |
    | non-existent |
```

#### Test Scenario 3
```gherkin
Scenario: As an Admin, I want to get a store detail
    Given the user has logged in
    When the user correctly input all params
        And the user hit endpoint get user store detail
    Then show RC 200 OK
```

#### Test Scenario 4
```gherkin
Scenario: As an Admin, I should be able to see response data as encrypted data
    Given the user has logged in
    When the user has successfully hit endpoint get user store detail
    Then show response as encrypted data
```

#### Test Scenario 5
```gherkin
Scenario: As an Admin, I want to decrypt the encrypted response data
    Given the user has logged in
        And the user has successfully hit endpoint get user store detail
    When the user decrypt the encrypted data
    Then show decrypted response data
```

###### tags: `Sprint 15` `Dinar`