Skip to main content
Skip table of contents

Getting Started

Registering an account

Please follow the steps outlined in Registration for an account in the merchant portal to create an account with Smobilpay for e-commerce to continue with the steps below.

Accessing Smobilpay for e-commerce payment API.

On the merchant portal, you have a link to access to the API manager in order to subscribe to the API.

  1. Click on the "API manager"

  2. Sign in by providing username and password sent by email after activating the API account.


To access the Smobilpay for e-commerce payment API, there are two steps involved.

  1. Create an application in the API manager (or use the default one).

  2. Subscribe to the Smobilpay for e-commerce (ENKAP) PAYMENT API on the application.

Creating an Application.

  1. On the application page, click 'ADD APPLICATION'.

  2. Enter the application 'name' and 'description' and click 'ADD' to save it.

Subscribing to the API.

You can subscribe to the Smobilpay for e-commerce API on the application you created or on the default application.

  1. On the APIs page, click on the Smobilpay for e-commerce payment API.

  2. Select the 'Application' you want to use from the application drop-down list.

  3. Click subscribe to the API.

.

Generating Access Token

  1. Select the Smobilpay for e-commerce API application in the API Manager, click on generate keys.

2. After clicking on the generate keys button, you will see your Customer Key and Customer Secret.

  • These two keys can be used to generate your basic token used for access token generation.
    Token generation URL: https://api.enkap.cm/token
    This access token of type Bearer is to be included in all the request to the Smobilpay for e-commerce Payment API


Curl request to generate the key

CODE
curl -k -X POST https://api.enkap.maviance.info/token -d "grant_type=client_credentials" -H "Authorization: Basic Base64(customer-key:customer-secret)"


Response

CODE
{"access_token":"fff189b6-6cea-3b45-99ff-284c1d80a7dc","scope":"default","token_type":"Bearer","expires_in":3600}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.