^SITEDESC^
^SITEPATH^

^name^

^detail^
^dtm^
^objtype_desc^

Edit API Account

This is your API Code. This is automatically generated by the system for each API accounts and it cannot be changed. Use this on "apicode" field where required. Short name for this account. (128 characters max) Description for this account. (1024 characters max)
Select the API version you want to use. Please read this document for detailed information on each API versions.
Select the authentication mode.
User name for this account. (128 characters max) Password for this account. Please remember your password, it will not appear on this page again because the password is converted to SHA256 before being sent to the server. If you forget your password, it cannot be retrieve, you will need to create new password.
Click the generator button to generate token. Please save the generated token because your token will not appear on this page again. The token is converted to SHA256 before being sent to the server. If you forgot your token, you will need to generate a new one.

Select the Security Mode.
Type your security callback url in this field. This is where the system will send transaction confirmation. (128 characters max)
List of allowed IP to perform API transactions. One IP per line. (256 characters max) Type your transaction callback URL in this field. This is where the system will send status of your previously initiated transaction. (128 characters max)
Enable or disable this account from performing API transactions. Newly created accounts are initially disabled pending set up.

First, take note of your API Code. Depending on the next step, you might need this.

Name and Detail fields does not hold any importance when performing API transactions. The Name field will be used on tables and pulldown list and the Detail field can be used as personal notes for the API account.

For the API version, the first version, Lucidy, is normally selected unless a different API is advised by the admin.

View the complete API Documentation for details.

Authentication Mode - UN/PW Pair

This is the most basic authentication mode, and is also the most unsecure method. API client will send username and passwd as parameters to the API web hook.

Authentication Mode - SHA256 UN/PW Pair

This authentication mode is much secure than the Standard UN/PW Pair, but the procedure is also complex. API client will first perform SHA256 on the password, then concatenate username and the SHA256 password. Finally, perform SHA256 on the concatenated string. The APICODE and final SHA256 data will be sent as parameters to the API web hook.

Authentication Mode - Token

API client will send API Code and Token as parameters to the API web hook. Token-based authentication is as secure as the SHA256 UN/PW Pair and less complicated. Token is also generated by the system and utilizing the full 32-characters making it harder to guess.

Security Mode - Plain Authentication

This mode relies only on your selected authentication mode. As soon as the API client sends the load command, the API system will immediately process the request.

Security Mode - Callback Authentication

This mode requires a Security Callback URL. Upon sending a load command, the API system will send the following information to the Security Callback URL:

Field Name Field Value
ctxid Client Transaction ID

The Security Callback URL should confirm if they sent ctxid and reply with ctxid approved if the request is approved. Any other message will cause the load command to fail with rescode 302 or Security Callback failed.

Based on the selected Authentication Mode and Security Mode, the following is your security assessment:

Higher bar in green means very secure, while low bar in red means the selected combination of authentication and security is not ideal.

The webhook URL is as follows:

^srooturl^shin/lite.p

All API request will use this URL.

To perform an API request, a POST is sent to the URL above, along with additional fields depending on the request, plus the authentication fields based on selected authentication mode.


For BALANCE request, the following fields are needed:

For LOAD request, the following fields are needed:

For STATUS request, the following fields are needed:

You can try out your API Account configuration using this form. In order to test load and status commands, additional information are required such as the Client Transaction ID or ctxid. Please fill-in additional information on the fields below:

This is the product code loaded to the destination number. If the product supports incremental load, use this field to set the amount This is the destination number where the product will be sent or loaded. This is the client's backend Transaction ID. This is the Transaction ID returned by the system during load command. This is required by the status command.

Below is the sample code for performing request:

Make sure you have saved any changes first before testing the codes or it will base the test from the original configuration.


Legend: ^imgname^