Authentication

Every API call requires authentication: Include your secret key found in the dashboard in the "Authorization" header.

Overview

To ensure the highest degree of authentication and fraud protection, Tulu Switch APIs employ cryptographic primitives. When you create a Tulu Switch account, API keys will be issued for you automatically and used to encrypt the APIs. You must use one of the two following authentication methods depending on the kind of API call;

  • Public Key Authentication: Used for payment creation API
  • Secret Key Authentication: Used for other payment related APIs.

API KEYS

  • Tulu Switch APIs use API keys to authenticate all API requests. Upon creating your Tulu Switch account, your API keys shall be auto-generated for you. You can find API keys under the owner settings of your Tulu Switch dashboard.

Generating API Key:

  • To generate an API key:
  • Sample code

    # Step 1: Log in to your Tulu Switch dashboard

    # Step 2: Navigate to the "API Settings" section

    # Step 3: Generate a new API key

    Authentication requirement for API requests

    • API requests made without authentication will fail with the status code 401: Unauthorized. All API requests must be made over HTTPS.

    Contact Us for Developer Support

    Contact our dedicated developer support team for assistance, guidance, or any questions you have regarding Tuluswitch API integration. We're here to ensure your development experience is smooth and successful.

    Read Our Developer Blog for Insights

    Master the Tuluswitch API with our Developer Blog! Get expert insights, advanced tips, and industry trends beyond the documentation. Stay connected with the developer community to build exceptional payment platforms. Visit the blog now and unlock your full potential!