OVPAY-2485 - Updated OTP response body for TP.
This commit is contained in:
parent
30e8860a39
commit
87d8f7df58
@ -3894,27 +3894,20 @@ paths:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/AuthCodeResponse'
|
||||
- $ref: '#/components/schemas/ValidateTatOutputDescription'
|
||||
- $ref: '#/components/schemas/TatUnsecured'
|
||||
$ref: '#/components/schemas/VerifyOtpResponse'
|
||||
examples:
|
||||
AuthCodeResponse:
|
||||
Tat Secured:
|
||||
value:
|
||||
authCode: 4f3a9c8b-xxxx
|
||||
ValidateTatOutputDescription:
|
||||
value:
|
||||
0: s
|
||||
1: t
|
||||
2: r
|
||||
3: i
|
||||
4: n
|
||||
5: g
|
||||
status: Success
|
||||
description: TAT Secured
|
||||
Tat Unsecured:
|
||||
value:
|
||||
status: Success
|
||||
description: TAT Unsecured
|
||||
Tat Authorized:
|
||||
value:
|
||||
status: Success
|
||||
description: TAT Authorized
|
||||
"400":
|
||||
description: Bad request
|
||||
content:
|
||||
@ -4902,43 +4895,6 @@ components:
|
||||
A description IS A string THAT describes the reason why the email is
|
||||
not pre-approved.
|
||||
example: OTP Sent
|
||||
AuthCodeResponse:
|
||||
type: object
|
||||
properties:
|
||||
authCode:
|
||||
type: string
|
||||
description: >-
|
||||
An AuthCodeResponse IS A string that represents the authorization
|
||||
code that can be exchanged for a user access token.
|
||||
example: 4f3a9c8b-xxxx
|
||||
ValidateTatOutputDescription:
|
||||
type: string
|
||||
properties:
|
||||
authCode:
|
||||
type: string
|
||||
description: >-
|
||||
An AuthCodeResponse IS A string that represents the authorization
|
||||
code that can be exchanged for a user access token.
|
||||
example: 4f3a9c8b-xxxx
|
||||
status:
|
||||
type: string
|
||||
example: Success
|
||||
description:
|
||||
type: string
|
||||
description: >-
|
||||
A ValidateTatOutputDescription IS A string that provides more
|
||||
details about the OTP validation result.
|
||||
example: TAT Secured
|
||||
TatUnsecured:
|
||||
type: object
|
||||
description: A TatUnsecured IS AN object THAT represents the response of TAT security
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
example: Success
|
||||
description:
|
||||
type: string
|
||||
example: TAT Unsecured
|
||||
ActivateAgoRequest:
|
||||
type: object
|
||||
properties:
|
||||
@ -4952,6 +4908,15 @@ components:
|
||||
emailAddress:
|
||||
type: string
|
||||
example: 123456
|
||||
VerifyOtpResponse:
|
||||
type: object
|
||||
properties:
|
||||
status:
|
||||
type: string
|
||||
example: Success
|
||||
description:
|
||||
type: string
|
||||
example: TAT Secured
|
||||
ErrorResponse:
|
||||
description: Default response when an invalid request has been sent
|
||||
type: object
|
||||
|
||||
Loading…
Reference in New Issue
Block a user