-
Notifications
You must be signed in to change notification settings - Fork 0
Input
david-slatinek edited this page Nov 7, 2023
·
2 revisions
Inputs:
- Authorization:
- jwt token
Invalid inputs:
- Missing jwt token:
- unauthorized
- Invalid jwt token:
- invalid token
- Sub property missing:
- invalid id
- Iat or exp property missing:
- iat or exp not set
- Iat is set to a future date:
- iat can't be in the future
- Exp is set to a past date:
- expired token
Feature: 1
Inputs:
- Account type:
- checking
- saving
Categories:
- checking
- saving
- all
- 87
Invalid inputs:
- invalid account type. Supported options are: 'checking', 'saving'
Feature: 2
Inputs:
- Account type:
- open
- closed
- all
Categories:
- open
- closed
- all
- asd
- 54
Invalid inputs:
- invalid type, supported: 'open', 'closed', all
Feature: 3
Inputs:
- Account ID
- Amount:
- greater or equal to 1
- less than float64 max value, ~ 1.79e+308
Categories:
- Account ID
- 12345678
- 793fddb8-c77e-43a4-a5e4-8ce32ff57bb8
- Amount:
- 1
- 0.5
- 50.12
- -23
- -45.78
- 1.79e+308
- 1.8e+308
Invalid inputs:
- Account ID:
- invalid account ID
- account is closed
- Amount:
- invalid amount, minimum is 1
- amount is too big