grants
aid_auths_client_grants_get
Manage your Client Grants (also called Client Credentials Grants). Using Client Grants, your Client can request an access token using its credentials (a Client ID and a Client Secret). The access token then represents your Client during API calls.
Use the Grant type to limit how the grant can be used when requesting an access token. A Grant with type password can only be used when requesting an access token with grant_type set to password.
scopes:
- admin:accounts
- read:accounts
get/accounts/{oid}/auth/client-grants
Path parameters
oidstring ^[PT]{1}(?=(?:.{3}|.{8})$)[0-9]*$ required
An id that uniquely identifies the account or owner (partner)
Query parameters
audiencestring
filter client grants by audience
client_idstring
filter client grants by client_id
Response
Grant Collection
Example response
[
{
"created_by": "1c92f7e1-2897-4d46-bdcc-c127a914fb4e",
"deleted_by": "1c92f7e1-2897-4d46-bdcc-c127a914fb4e",
"audience": "https://api.dintero.com/v1/accounts/P00000000",
"scope": [
"receipts:write"
],
"oidc": {
"authority": "https://identityserver.example.com/access"
}
}
]