POST
/
token
cURL
POST https://api-sandbox.dwolla.com/token
Authorization: Basic YkVEMGJMaEFhb0pDamplbmFPVjNwMDZSeE9Eb2pyOUNFUzN1dldXcXUyeE9RYk9GeUE6WEZ0bmJIbXR3dXEwNVI1Yk91WmVOWHlqcW9RelNSc21zUU5qelFOZUFZUlRIbmhHRGw=
Content-Type: application/x-www-form-urlencoded

grant_type=client_credentials
{
  "access_token": "gTm0p62yYXFiB1rOdhV0TsNOinC2V2P1CMaAtojkO9JEGbv3i5",
  "token_type": "bearer",
  "expires_in": 3599
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/x-www-form-urlencoded

OAuth get token request. Client credentials are sent in the Authorization header using Basic authentication.

grant_type
enum<string>
required

Must be set to "client_credentials"

Available options:
client_credentials
Example:

"client_credentials"

Response

successful operation

access_token
string
required

A new access token that is used to authenticate against resources that belong to the app itself.

Example:

"gTm0p62yYXFiB1rOdhV0TsNOinC2V2P1CMaAtojkO9JEGbv3i5"

token_type
enum<string>
required

The type of token, always "bearer"

Available options:
bearer
Example:

"bearer"

expires_in
integer
required

The lifetime of the access token, in seconds. Default is 3600.

Example:

3599