Get Your API Credentials

Get credentials to integrate and test Maast APIs.

This guide shows you how to get API test credentials for either a merchant or a partner sandbox account. Use these credentials to test Maast APIs by sending requests through the 'Try It!' feature on this site or from your own system.

Merchant API Credentials

This section provides instructions on getting API credentials for a Maast merchant sandbox account. These credentials can be used to test Maast APIs in the capacity of a merchant.

Prerequisites

Follow the steps in Create a Sandbox Account to create and log into a Maast merchant portal sandbox account.

Merchant ID and API Key

Follow these steps to get your merchant sandbox ID and sandbox API key:

  1. In your sandbox account, select 'Administration' from the left-hand menu.
  2. Under 'Security,' select 'API Security Keys':

  1. Near the top of the page, select 'Create Security Key':

  1. Enter a unique label for the key and select 'Manage Access':

  1. Ensure the APIs you wish to use are set to 'Yes':

  1. At the bottom of the page, select 'Complete Configuration':

  1. Select 'Get Key':

  1. Your API key will appear in a dialogue box. Select the clipboard icon to copy your merchant API key to your clipboard. Save the key:

🚧

Save Your Key

The site will not show you the entire API security key again. If you lose it, create a new key by rotating it: Under 'Manage Key,' select 'Rotate.' Leave the time period blank.


  1. Close the security key dialogue box.
  2. Under 'Key Detail,' find your merchant ID:

  1. Select the clipboard icon to copy your merchant ID to your clipboard. Save the ID.

You can use this merchant ID and API key to test all Maast API functions that your API key can access:

  • For the 'Try It!' feature, use your merchant ID and API key as-is; no need to encode them.

  • To send a request from your own system, you must format and base 64 encode these credentials for the API token you will use. For more information, see Authentication in API Reference.


Partner API Credentials

This section provides instructions on getting API credentials for a Maast partner sandbox account, also referred to as vendor API credentials or integrator API credentials. These can be used to test Maast APIs in the capacity of a Maast partner.

Prerequisites

Follow the steps in Create a Sandbox Account to create and log into a Maast partner portal sandbox account.

Vendor ID and API Key

Follow these steps to obtain your vendor ID and vendor API key:

  1. In your partner sandbox account, select 'Administration' from the left-hand menu.
  2. Select 'API Security,' then 'New API Profile':

  1. Enter a unique label in the 'Profile Label' field. Select 'Create Profile':

  1. Your vendor API key will appear in a dialogue box. Select the clipboard icon to copy the API key to your clipboard. Save the key:

  1. Your new API profile will now appear on the 'API Security' page. Click the arrow next to the profile name to expand the profile's settings:

  1. Next to 'Integrator ID,' highlight and save your vendor ID.
  2. Next to 'Profile Access,' select 'Change Access':

  1. A dialogue box will appear. Select the APIs you wish to use from each section ('General,' 'Platform,' and 'Reporting'), then 'Close':

You can use this vendor ID and vendor API key to test all Maast API functions that your vendor API key can access:

  • For the 'Try It!' feature, use your vendor ID and API key as-is; no need to encode them. Put your vendor API key in the 'password' field (not a merchant API key).

  • To send a request from your own system, you must format and base 64 encode your vendor ID and vendor API key for the token you will use. For more information, see Authentication in API Reference.



What’s Next

Use your API credentials to integrate and test a Maast API.