API Keys

    Manage your API keys to authenticate requests with Kashier.

    Kashier authenticates your API requests using your account’s API keys. If you do not include your key when making an API request, or use one that is incorrect or outdated, Kashier returns an error.

    Every account is provided with separate keys for testing and for running live transactions. All API requests exist in either test or live mode so one mode cannot be manipulated by objects in the other.

    There are also two types of API keys: Payment Api Keys and secret.

    • Payment Api Keys are used to generate hash order and to validate signature.

    • Secret API keys should be kept confidential and only stored on your own servers. Your account’s secret API key can perform any API request to Kashier without restriction.

    Each account has a total of four keys: a Payment Api Keys and secret key pair for test mode and live mode.

    Obtaining your Keys & MID

    Your API keys are always available in the Dashboard. the MID will be found under your user name in the dashboard top navigation bar.

    API Keys
    API Keys
    Secret Keys
    Secret Keys

    Use only your test API keys for testing and development. This ensures that you don’t accidentally modify your live customers or charges.

    Test and live modes

    The test and live modes function almost identically for your integration testing and education, with a few necessary differences:

    • In test mode, payments are not processed by card networks or payment providers, and only our test payment information can be used.
    • Payment and Secret Keys differ for each mode.
    • Base URLs a prefixed with 'test-'
    • You may use and test the features before being onboarded and activated onboarded and activated

    The status of the created account will be marked as a "Test" account by default, this will allow you to test all of Kashier's services. When you finish your testing phase, you should consider switching to live mode and obtain your live keys in case you are onboarded and activated.

    Switch between test and live modes by It's live data toggle from sidebar as shown below.

    Live Data
    Live Data

    Always make sure that you are on the right mode by checking the bottom of the side nav mode toggle, to make sure that you are using the right keys in your intended mode.

    Getting Started — Previous
    Next — Dashboard API
    API Basics