Login a customer user, the caller must have scope
write:accounts:/auth/users.
If MFA is enabled on account, use
write:accounts:/auth/users/no-mfa to skip MFA.
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.
Bearer authentication (token authentication) should be used for accessing the API.
Use Get Token to get an access token for client credentials. Pass the token in the request header:
Authorization: Bearer {access_token}where the access_token is JSON Web Tokens (JWT).
An id that uniquely identifies the account.
9credentials
The unique identifier of the target API you want to access. The audience must be a grant associated with the client used when calling this resource.
user type to login, required as users with different type can share email
customer, company The customer pin or password. The caller must have scope
write:accounts:/auth/users or write:accounts:/auth/users/no-mfa
when password is included in the body
4 - 255Required if ident_type and ident is not set
Required if email is not set
phone_number, email Email or phone_number, depending on the ident_type.
Required if email is not set.
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: