File tree Expand file tree Collapse file tree 4 files changed +92
-0
lines changed
config/v3/exchange_verification_code Expand file tree Collapse file tree 4 files changed +92
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "exchange_verification_code" : " 1" ,
3
+ "type" : " account_opening" ,
4
+ "verification_code" : " abCD0123"
5
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
3
+ "title" : " Exchange Verification Code (response)" ,
4
+ "description" : " Exchange Verification Code Response" ,
5
+ "type" : " object" ,
6
+ "required" : [
7
+ " echo_req" ,
8
+ " msg_type"
9
+ ],
10
+ "properties" : {
11
+ "exchange_verification_code" : {
12
+ "title" : " exchange_verification_code" ,
13
+ "description" : " Exchange Verification Code details" ,
14
+ "type" : " object" ,
15
+ "additionalProperties" : false ,
16
+ "required" : [
17
+ " new_verification_code"
18
+ ],
19
+ "properties" : {
20
+ "new_verification_code" : {
21
+ "description" : " The new code generated after successful verification" ,
22
+ "type" : " string"
23
+ }
24
+ }
25
+ },
26
+ "echo_req" : {
27
+ "description" : " Echo of the request made." ,
28
+ "type" : " object"
29
+ },
30
+ "msg_type" : {
31
+ "description" : " Action name of the request made." ,
32
+ "type" : " string" ,
33
+ "enum" : [
34
+ " exchange_verification_code"
35
+ ]
36
+ },
37
+ "req_id" : {
38
+ "description" : " Optional field sent in request to map to response, present only when request contains `req_id`." ,
39
+ "type" : " integer"
40
+ }
41
+ }
42
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "$schema" : " http://json-schema.org/draft-04/schema#" ,
3
+ "title" : " Exchange Verification Code (request)" ,
4
+ "description" : " Verifies the code and returns a new code if verification is successful" ,
5
+ "type" : " object" ,
6
+ "auth_required" : 0 ,
7
+ "additionalProperties" : false ,
8
+ "required" : [
9
+ " exchange_verification_code" ,
10
+ " verification_code"
11
+ ],
12
+ "properties" : {
13
+ "exchange_verification_code" : {
14
+ "description" : " Must be `1`" ,
15
+ "type" : " integer" ,
16
+ "enum" : [
17
+ 1
18
+ ]
19
+ },
20
+ "type" : {
21
+ "description" : " [Optional] Purpose of the token exchange." ,
22
+ "type" : " string" ,
23
+ "default" : " account_opening" ,
24
+ "enum" : [
25
+ " account_opening"
26
+ ]
27
+ },
28
+ "verification_code" : {
29
+ "description" : " Email verification code (received from a `verify_email` call which must be done first)." ,
30
+ "type" : " string" ,
31
+ "pattern" : " ^\\ w{8,128}$" ,
32
+ "sensitive" : 1
33
+ },
34
+ "passthrough" : {
35
+ "description" : " [Optional] Used to pass data through the websocket, which may be retrieved via the `echo_req` output field." ,
36
+ "type" : " object"
37
+ },
38
+ "req_id" : {
39
+ "description" : " [Optional] Used to map request to response." ,
40
+ "type" : " integer"
41
+ }
42
+ }
43
+ }
Original file line number Diff line number Diff line change @@ -63,6 +63,8 @@ groups:
63
63
title : Economic Calendar
64
64
- name : exchange_rates
65
65
title : Exchange Rates
66
+ - name : exchange_verification_code
67
+ title : Exchange Verification Code
66
68
- name : financial_assessment_questions
67
69
title : Financial Assessment Questions
68
70
- name : forget
You can’t perform that action at this time.
0 commit comments