Use this endpoint to directly request an access_token
Use HTTP Basic authentication scheme for
authenticating grant_type client_credentials, use
client_id/client_secret as user/password.
Use HTTP Bearer authentication scheme for authenticating
grant_type authorization_code or password, where the
Bearer value must be a JWT toke with access to the token
endpoint.
Use HTTP Bearer authentication scheme for authenticating
grant_type account_user_token, where the Bearer value
must be a account user JWT token.
Use ID token as Bearer toke if the user was authenticated externally. The ID must include a
Use HTTP Bearer authentication scheme for authenticating
grant_type refresh_token where the Bearer value must
be an Access Token for the clients that was used to create
the Refresh Token.
When a request is made to the endpoint to get an access token,
normally you either get an error, or you get an access token.
However, when the MFA is enabled, the endpoint may return a new
error with error.code: mfa_required.
When an mfa_required error is returned, the client must perform
a challenge. This is done by sending a request to the
auth/mfa/challenge endpoint
To verify MFA using an OOB challenge, the client must make a request to
this endpoint with grant_type=mfa-oob. Include the oob_code you
received from the challenge response, as well as the mfa_token you
received as part of mfa_required error.
scopes:
Documentation Index
Fetch the complete documentation index at: https://docs.dintero.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorization by using the Basic schema with client_id and client_secret as username/password
An id that uniquely identifies the account or owner (partner)
Client token credential
The unique identifier of the target API you want to access. The audience must be a grant associated with the client
"https://api.dintero.com/v1/accounts/P00000000"
Success
A JWT access token
"eyJhbGci...t7P4"
Bearer The lifetime in seconds of the access token. For example, the value "3600" denotes that the access token will expire in one hour from the time the response was generated.
86400
Token that can be used to request new tokens when the existing Access Token expire.
You can only get a Refresh Token if the Access Token used in the request has scope:
create:accounts:auth:refresh_tokenand the grant-type is one of:
authorization_codepasswordNOTE: