Skip to content

Commit 7f53ca0

Browse files
committed
Update README.md
1 parent 8f286e9 commit 7f53ca0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -174,18 +174,18 @@ The only supported ISO currency code at the moment is: `KES`
174174

175175
NB: The access token is required to send subsequent requests
176176

177-
- `TokenService.revokeToken()` to revoke an access token.
177+
- `TokenService.revokeToken({accessToken: 'my_access_token'})` to revoke an access token.
178178

179179
- The response will be an empty body
180180

181181
NB: A revoked access token cannot be used on subsequent requests
182182

183-
- `TokenService.introspectToken()` to get introspect a token.
183+
- `TokenService.introspectToken({accessToken: 'my_access_token'})` to get introspect a token.
184184

185185
- The response will contain: `token_type`, `client_id`, `scope`, `active`, `exp`(Expiry time) and `iat`(created at time)
186186

187187

188-
- `TokenService.infoToken()` to get information on an access token.
188+
- `TokenService.infoToken({accessToken: 'my_access_token'})` to get information on an access token.
189189

190190
- The response will contain: `scope`, `expires_in`, `application.uid`, `created_at`
191191

0 commit comments

Comments
 (0)