1. Home
  2. Docs
  3. Enterprise Wallet
  4. Developer Documentation
  5. API Authentication

API Authentication

Before you begin, you need to set up an enterprise account by signing up at https://accounts.coinome.com. After setting 2-factor authentication, Click on the menu and navigate to enterprise wallet.

We need an Access Token to communicate with Enterprise Wallet via API.

Access Token

Click on the Applications under Developers menu, to show a new application form.

Fig 1: New application form.

Fill in the application name and submit to view the application details.

Fig 2: Application details.

Click on authorize button on application details to reveal the Authorization Code.

Fig 3: Authorization code.

Get Application UID, Secret from Fig 2 and Authorization code from Fig 3 to create access token request.

Request Type and Endpoint

POST /developer/oauth/token
Request – Response Example

curl -F grant_type=authorization_code \
-F client_id=$APP_UID \
-F client_secret=$APP_SECRET \
-F code=$CODE \
-F redirect_uri=urn:ietf:wg:oauth:2.0:oob \
-X POST https://coinome.com/wallet/developer/oauth/token
    "access_token": "2c6bbada11f6c21738deea51c215ba664d6f6a4a707e4e5fdc10161ee2bb6abf",
    "token_type": "Bearer",
    "refresh_token": "767377c4e2ba771f431a9bddbb74f8bbf4a47497c7b42ee65137cdcef96430e1",
    "scope": "public",
    "created_at": 1544519236

Note: use access_token from the above JSON response for Enterprise Wallet API calls.