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