Skip to content

Commit cac0a3c

Browse files
committed
Add convenience client credentials and token to test in mock mode
1 parent 207f126 commit cac0a3c

File tree

9 files changed

+63
-2
lines changed

9 files changed

+63
-2
lines changed

callflows/authorization/authorization_openapi.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,9 @@ paths:
2929
3030
Check the [Frontend authorization flow guide](/docs/frontend) for more information.
3131
32-
**NOTE**: In case you are using our Sandbox as a host, please take into account that the `login_hint` parameter, although optional according to the OpenID Connect specification, is mandatory in order to inform about the end-user identifier so the Sandbox checks its whitelist for privacy reasons. Check the [Whitelist](/docs/whitelist) guide for more information.
32+
Create an app on our [Sandbox](/docs/sandbox) to get credentials so you can perform API calls to our operators' production environments, or use the following convenience client ID to test it in mock mode:
33+
34+
`mock_sandbox_app_id`
3335
operationId: authorize
3436
parameters:
3537
- name: response_type
@@ -96,6 +98,10 @@ paths:
9698
Authorizes an application to access a resource from the backend
9799
98100
Check the [Backend authorization flow guide](/docs/backend) for more information.
101+
102+
Create an app on our [Sandbox](/docs/sandbox) to get credentials so you can perform API calls to our operators' production environments, or use the following convenience client credentials to test it in mock mode:
103+
104+
`mock_sandbox_app_id` / `mock_sandbox_app_secret`
99105
operationId: bcAuthorize
100106
requestBody:
101107
content:
@@ -127,6 +133,10 @@ paths:
127133
Retrieves an access token from the authorization code (frontend) or auth_req_id (backend)
128134
129135
Check the [Authorization guide](/docs/authorization) for more information.
136+
137+
Create an app on our [Sandbox](/docs/sandbox) to get credentials so you can perform API calls to our operators' production environments, or use the following convenience token to test our APIs in mock mode:
138+
139+
`mock_sandbox_access_token`
130140
operationId: token
131141
requestBody:
132142
content:

catalog/devicelocation/devicelocation_openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ paths:
3535
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
3636
3737
`dpv:FraudPreventionAndDetection#device-location-read`
38+
39+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
40+
41+
`mock_sandbox_access_token`
3842
3943
You can explore our [Device Location Verification sample code](/docs/samplecode_devicelocation) for additional guidance on using this API.
4044
operationId: verifyLocation

catalog/devicestatus/devicestatus_openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ paths:
3535
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
3636
3737
`dpv:FraudPreventionAndDetection#device-status-roaming-read`
38+
39+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
40+
41+
`mock_sandbox_access_token`
3842
3943
You can explore our [Device Status sample code](/docs/samplecode_devicestatus) for additional guidance on using this API.
4044
operationId: getRoamingStatus

catalog/deviceswap/deviceswap_openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ paths:
3030
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
3131
3232
`dpv:FraudPreventionAndDetection#device-swap`
33+
34+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
35+
36+
`mock_sandbox_access_token`
3337
operationId: retrieveDeviceSwapDate
3438
security:
3539
- three_legged:
@@ -76,6 +80,10 @@ paths:
7680
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
7781
7882
`dpv:FraudPreventionAndDetection#device-swap`
83+
84+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
85+
86+
`mock_sandbox_access_token`
7987
operationId: checkDeviceSwap
8088
security:
8189
- three_legged:

catalog/homedevicesqod/homedevices_qod_openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,10 @@ paths:
7575
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
7676
7777
`dpv:RequestedServiceProvision#home-devices-qod`
78+
79+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
80+
81+
`mock_sandbox_access_token`
7882
operationId: setQos
7983
requestBody:
8084
content:

catalog/knowyourcustomer/kyc_match_openapi.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ paths:
3737
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
3838
3939
`dpv:FraudPreventionAndDetection#know-your-customer:match`
40-
40+
41+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
42+
43+
`mock_sandbox_access_token`
4144
operationId: KYC_Match_v0.1
4245

4346
security:
@@ -143,7 +146,10 @@ paths:
143146
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
144147
145148
`dpv:FraudPreventionAndDetection#kyc-match:match`
149+
150+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
146151
152+
`mock_sandbox_access_token`
147153
operationId: KYC_Match_v0.2
148154

149155
security:

catalog/numberverification/numberverification_openapi.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ paths:
5555
5656
`dpv:FraudPreventionAndDetection#number-verification-verify-read`
5757
58+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
59+
60+
`mock_sandbox_access_token`
61+
5862
You can explore our [Number Verification sample code](/docs/samplecode_numberverification) for additional guidance on using this API.
5963
operationId: phoneNumberVerify
6064
requestBody:

catalog/qod/qod_openapi.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ paths:
3333
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
3434
3535
`dpv:RequestedServiceProvision#qod`
36+
37+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
38+
39+
`mock_sandbox_access_token`
3640
3741
You can explore our [QoD sample code](/docs/samplecode_qod) for additional guidance on using this API.
3842
operationId: createSession
@@ -132,6 +136,9 @@ paths:
132136
133137
`dpv:RequestedServiceProvision#qod`
134138
139+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
140+
141+
`mock_sandbox_access_token`
135142
security:
136143
- three_legged:
137144
- qod
@@ -177,7 +184,10 @@ paths:
177184
Check the [Authorization guide](/docs/authorization) on how to get an OAuth2 token, with the following scope:
178185
179186
`dpv:RequestedServiceProvision#qod`
187+
188+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
180189
190+
`mock_sandbox_access_token`
181191
security:
182192
- three_legged:
183193
- qod
@@ -227,6 +237,9 @@ paths:
227237
228238
`dpv:RequestedServiceProvision#qod`
229239
240+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
241+
242+
`mock_sandbox_access_token`
230243
operationId: postNotification
231244
requestBody:
232245
required: true

catalog/simswap/simswap_openapi.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ paths:
4646
4747
`dpv:FraudPreventionAndDetection#sim-swap`
4848
49+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
50+
51+
`mock_sandbox_access_token`
52+
4953
You can explore our [SIM Swap sample code](/docs/samplecode_simswap) for additional guidance on using this API.
5054
operationId: checkSimSwap
5155
requestBody:
@@ -94,6 +98,10 @@ paths:
9498
9599
`dpv:FraudPreventionAndDetection#sim-swap`
96100
101+
Create an app on our [Sandbox](/docs/sandbox) to get credentials and [retrieve tokens](/reference/authorize) so you can perform API calls to our operators' production environments, or use the following convenience token to test in mock mode:
102+
103+
`mock_sandbox_access_token`
104+
97105
You can explore our [SIM Swap sample code](/docs/samplecode_simswap) for additional guidance on using this API.
98106
operationId: retrieveSimSwapDate
99107
requestBody:

0 commit comments

Comments
 (0)