API Reference

The ePaisa API is organized around REST. Our API has predictable, resource-oriented URLs, and uses HTTP response codes to indicate API errors. We use built-in HTTP features, like HTTP authentication and HTTP verbs, which are understood by off-the-shelf HTTP clients. We support cross-origin resource sharing, allowing you to interact securely with our API from a client-side web application (though you should never expose your secret API key in any public website's client-side code). JSON is returned by all API responses, including errors, although our API libraries convert responses to appropriate language-specific objects

To make the API as explorable as possible, accounts have test mode and live mode API keys. There is no "switch" for changing between modes, just use the appropriate key to perform a live or test transaction. Requests made with test mode credentials never hit the banking networks and incur no cost.

API libraries

Official libraries for the ePaisa API are available in several languages.

Community-supported libraries are also available for additional languages.

API Endpoint
    "https://nine.epaisa.com"

Authentication

Authenticate your account when using the API by including your secret API key in the request. You can manage your API keys in the Dashboard. Your API keys carry many privileges, so be sure to keep them secret! Do not share your secret API keys in publicly accessible areas such GitHub, client-side code, and so forth.

Authentication to the API is performed via HTTP Basic Auth. Provide your API key as the basic auth username value. You do not need to provide a password.

If you need to authenticate via bearer auth (e.g., for a cross-origin request), use:

-H "Authorization: Bearer sk_test_BQokikJOvBiI2HlWgH4olfQ2"

instead of:

-u sk_test_BQokikJOvBiI2HlWgH4olfQ2:
Example Request
    $curl https://epaisa.com/v1/charges \
       -u sk_test_BQokikJOvBiI2HlWgH4olfQ2:

curl uses the -u flag to pass basic auth credentials (adding a colon after your API key prevents cURL from asking for a password).



A sample test API key is included in all the examples on this page, so you can test any example right away. To test requests using your account, replace the sample API key with your actual API key.

Errors

ePaisa uses conventional HTTP response codes to indicate the success or failure of an API request. In general, codes in the 2xx range indicate success, codes in the 4xx range indicate an error that failed given the information provided (e.g., a required parameter was omitted, a charge failed, etc.), and codes in the 5xx range indicate an error with ePaisa's servers (these are rare).

Not all errors map cleanly onto HTTP response codes, however. When a request is valid but does not complete successfully (e.g., a card is declined), we return a 402 error code. To understand why a card is declined, refer to the list of codes in the documentation.

ATTRIBUTES
type

The type of error returned. Can be:

api_connection_error, api_error, authentication_error, card_error, invalid_request_error,

or

rate_limit_error.

charge

The ID of the failed charge.

message

optional

A human-readable message providing more details about the error. For card errors, these messages can be shown to your users.

code

optional

For card errors, a short string from amongst those listed on the right describing the kind of card error that occurred.

decline_code

optiona

For card errors resulting from a bank decline, a short string indicating the bank's reason for the decline if they provide one.

message

param

The parameter the error relates to if the error is parameter-specific. You can use this to display a message near the correct form field, for example.

Handling errors

Our API libraries raise exceptions for many reasons, such as a failed charge, invalid parameters, authentication errors, and network unavailability. We recommend writing code that gracefully handles all possible API exceptions.

HTTP status code summary

200 - OK

Everything worked as expected.

400 - Bad Request

The request was unacceptable, often due to missing a required parameter.

401 - Unauthorized

No valid API key provided.

402 - Request Failed

The parameters were valid but the request failed.

404 - Not Found

The requested resource doesn't exist.

409 - Conflict

The request conflicts with another request (perhaps due to using the same idempotent key).

429 - Too Many Requests

Too many requests hit the API too quickly. We recommend an exponential backoff of your requests.

500, 502, 503, 504 - Server Errors

Something went wrong on ePaisa's end. (These are rare.)

Errors
TYPES

api_connection_error

Everything worked as expected.

api_error

API errors cover any other type of problem (e.g., a temporary problem with ePaisa's servers) and are extremely uncommon.

authentication_error

Failure to properly authenticate yourself in the request.

card_error

Card errors are the most common type of error you should expect to handle. They result when the user enters a card that can't be charged for some reason.

invalid_request_error

Invalid request errors arise when your request has invalid parameters.

rate_limit_error

Too many requests hit the API too quickly.

validation_error

Errors triggered by our client-side libraries when failing to validate fields (e.g., when a card number or expiration date is invalid or incomplete).

CODES

invalid_number

The card number is not a valid credit card number.

invalid_expiry_month

The card's expiration month is invalid.

invalid_expiry_year

The card's expiration year is invalid.

invalid_cvc

The card's security code is invalid.

invalid_swipe_data

The card's swipe data is invalid.

incorrect_number

The card number is incorrect.

expired_card

The card has expired..

incorrect_cvc

The card's security code is incorrect.

incorrect_zip

The card's zip code failed validation.

card_declined

The card was declined.

missing

There is no card on a customer that is being charged.

processing_error

An error occurred while processing the card.

CVC validation and zip validation can be enabled/disabled in your settings.

Expanding Objects

Many objects contain the ID of a related object in their response properties. For example, a Charge may have an associated Customer ID. Those objects can be expanded inline with the expand request parameter. Objects that can be expanded are noted in this documentation. This parameter is available on all API requests, and applies to the response of that request only.

You can nest expand requests with the dot property. For example, requesting invoice.customer on a charge will expand the invoice property into a full Invoice object, and will then expand the customer property on that invoice into a full Customer object.

You can expand multiple objects at once by identifying multiple items in the expand array.

Example Request
  • \ePaisa\ePaisa::setApiKey("sk_test_BQokikJOvBiI2HlWgH4olfQ2");
    
    \ePaisa\Charge::retrieve(array(
      "id" => "ch_1AFo3k2eZvKYlo2CHByOKSMv",
      "expand" => array("customer")));
                           
  • var ePaisa = require("ePaisa")(
      "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    );
    
    ePaisa.charges.retrieve("ch_1AFo3k2eZvKYlo2CHByOKSMv", {
      expand: ["customer"]
    });
  • require "ePaisa"
    ePaisa.api_key = "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    
    ePaisa::Charge.retrieve({ :id => "ch_1AFo3k2eZvKYlo2CHByOKSMv", :expand => ['customer'] })
                           

Idempotent Requests

The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. For example, if a request to create a charge fails due to a network connection error, you can retry the request with the same idempotency key to guarantee that only a single charge is created.

To perform an idempotent request, provide an additional idempotency_key element to the request parameters.

How you create unique keys is completely up to you. We suggest using random strings or UUIDs. We'll always send back the same response for requests made with the same key. However, you cannot use the same key with different request parameters. The keys expire after 24 hours.

Example Request
  • \ePaisa\ePaisa::setApiKey("sk_test_BQokikJOvBiI2HlWgH4olfQ2");
    
    \ePaisa\Charge::create(array(
      "amount" => 2000,
      "currency" => "usd",
      "source" => "tok_189gCt2eZvKYlo2CyeJ2nRXL", // obtained with ePaisa.js
      "description" => "Charge for mason.smith@example.com"
    ), array(
      "idempotency_key" => "ZDjdD8DppFDSGuap",
    ));
                           
  • var ePaisa = require("ePaisa")(
      "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    );
    
    ePaisa.charges.create({
      amount: 2000,
      currency: "usd",
      source: "tok_189gCt2eZvKYlo2CyeJ2nRXL", // obtained with ePaisa.js
      description: "Charge for william.taylor@example.com"
    }, {
      idempotency_key: "Jr0AmjZyFkJpIMDG"
    }, function(err, charge) {
      // asynchronously called
    });
  • require "ePaisa"
    ePaisa.api_key = "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    
    ePaisa::Charge.create({
      :amount => 2000,
      :currency => "usd",
      :source => "tok_189gCt2eZvKYlo2CyeJ2nRXL", # obtained with ePaisa.js
      :description => "Charge for william.taylor@example.com"
    }, {
      :idempotency_key => "g4HqM5dMRde2O3Fj"
    })
                           

Pagination

All top-level API resources have support for bulk fetches via "list" API methods. For instance you can list charges, list customers, and list invoices. These list API methods share a common structure, taking at least these three parameters: limit, starting_after, and ending_before.

ePaisa utilizes cursor-based pagination via the starting_after and ending_before parameters. Both take an existing object ID value (see below) and return objects in reverse chronological order. The ending_before parameter returns objects created before the named object. The starting_after parameter returns objects created after the named object. If both parameters are provided, only ending_before is used.

ARGUMENTS

limit

optional, default is 10

A limit on the number of objects to be returned, between 1 and 100.

starting_after

optional

A cursor for use in pagination. starting_after is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with obj_foo, your subsequent call can include starting_after=obj_foo in order to fetch the next page of the list.

ending_before

optional

A cursor for use in pagination. ending_before is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with obj_bar, your subsequent call can include ending_before=obj_bar in order to fetch the previous page of the list.

LIST RESPONSE FORMAT

object

string, value is "list"

A string describing the object type returned.

data

array

An array containing the actual response elements, paginated by any request parameters.

has_more

boolean

Whether or not there are more elements available after this set. If false, this set comprises the end of the list.

url

string

The URL for accessing this list.

Auto-pagination

Most of our libraries support auto-pagination. This feature easily handles fetching large lists of resources without having to manually paginate results and perform subsequent requests.

To use the auto-pagination feature in Ruby, simply issue an initial "list" call with the parameters you need, then call auto_paging_each on the returned list object to iterate over all objects matching your initial parameters.

Example Request
  • \ePaisa\ePaisa::setApiKey("sk_test_BQokikJOvBiI2HlWgH4olfQ2");
    
    \ePaisa\Customer::all(array("limit" => 3));
                           
  • var ePaisa = require("ePaisa")(
      "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    );
    
    ePaisa.customers.list(
      { limit: 3 },
      function(err, customers) {
        // asynchronously called
      }
    );
  • require "ePaisa"
    ePaisa.api_key = "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    
    ePaisa::Customer.list(limit: 3)
                           
Example Request
  • ePaisa\Collection JSON: {
      "object" => "list",
      "url" => "/v1/customers",
      "has_more" => false,
      "data" => [
        [0] => ePaisa\Customer JSON: {
          "id": "cus_Ab1ieuHAOecb5j",
          "object": "customer",
          "account_balance": 0,
          "created": 1493926261,
          "currency": "usd",
          "default_source": null,
          "delinquent": false,
          "description": "Adam Hayes",
          "discount": null,
          "email": null,
          "livemode": false,
          "metadata": {
          },
          "shipping": null,
          "sources": {
            "object": "list",
            "data": [
        
            ],
            "has_more": false,
            "total_count": 0,
            "url": "/v1/customers/cus_Ab1ieuHAOecb5j/sources"
          },
          "subscriptions": {
            "object": "list",
            "data": [
        
            ],
            "has_more": false,
            "total_count": 0,
            "url": "/v1/customers/cus_Ab1ieuHAOecb5j/subscriptions"
          }
        }
        [1] => 
        [2] => 
      ]
    }
                           
  • {
      "object": "list",
      "url": "/v1/customers",
      "has_more": false,
      "data": [
        {
          "id": "cus_Ab1jtTavKM5Qju",
          "object": "customer",
          "account_balance": 0,
          "created": 1493926308,
          "currency": "usd",
          "default_source": null,
          "delinquent": false,
          "description": "Wiley Altenwerth",
          "discount": null,
          "email": null,
          "livemode": false,
          "metadata": {
          },
          "shipping": null,
          "sources": {
            "object": "list",
            "data": [
        
            ],
            "has_more": false,
            "total_count": 0,
            "url": "/v1/customers/cus_Ab1jtTavKM5Qju/sources"
          },
          "subscriptions": {
            "object": "list",
            "data": [
              {
                "id": "sub_Ab1jdt7grEvkD0",
                "object": "subscription",
                "application_fee_percent": null,
                "cancel_at_period_end": false,
                "canceled_at": null,
                "created": 1493926308,
                "current_period_end": 1496604708,
                "current_period_start": 1493926308,
                "customer": "cus_Ab1jtTavKM5Qju",
                "discount": null,
                "ended_at": null,
                "items": {
                  "object": "list",
                  "data": [
                    {
                      "id": "si_1AFpg02eZvKYlo2CUlBAxR0o",
                      "object": "subscription_item",
                      "created": 1493926309,
                      "plan": {
                        "id": "free_premium",
                        "object": "plan",
                        "amount": 0,
                        "created": 1493924883,
                        "currency": "usd",
                        "interval": "month",
                        "interval_count": 1,
                        "livemode": false,
                        "metadata": {
                        },
                        "name": "Premium",
                        "statement_descriptor": null,
                        "trial_period_days": null
                      },
                      "quantity": 1
                    }
                  ],
                  "has_more": false,
                  "total_count": 1,
                  "url": "/v1/subscription_items?subscription=sub_Ab1jdt7grEvkD0"
                },
                "livemode": false,
                "metadata": {
                },
                "plan": {
                  "id": "free_premium",
                  "object": "plan",
                  "amount": 0,
                  "created": 1493924883,
                  "currency": "usd",
                  "interval": "month",
                  "interval_count": 1,
                  "livemode": false,
                  "metadata": {
                  },
                  "name": "Premium",
                  "statement_descriptor": null,
                  "trial_period_days": null
                },
                "quantity": 1,
                "start": 1493926308,
                "status": "active",
                "tax_percent": null,
                "trial_end": null,
                "trial_start": null
              }
            ],
            "has_more": false,
            "total_count": 1,
            "url": "/v1/customers/cus_Ab1jtTavKM5Qju/subscriptions"
          }
        },
        {...},
        {...}
      ]
    }
  • # JSON: {
      "object": "list",
      "url": "/v1/customers",
      "has_more": false,
      "data": [
        # JSON: {
          "id": "cus_Ab1kSfRtEv0efG",
          "object": "customer",
          "account_balance": 0,
          "created": 1493926343,
          "currency": "usd",
          "default_source": null,
          "delinquent": false,
          "description": "Marcel Botsford",
          "discount": null,
          "email": null,
          "livemode": false,
          "metadata": {
          },
          "shipping": null,
          "sources": {
            "object": "list",
            "data": [
        
            ],
            "has_more": false,
            "total_count": 0,
            "url": "/v1/customers/cus_Ab1kSfRtEv0efG/sources"
          },
          "subscriptions": {
            "object": "list",
            "data": [
        
            ],
            "has_more": false,
            "total_count": 0,
            "url": "/v1/customers/cus_Ab1kSfRtEv0efG/subscriptions"
          }
        },
        #,
        #
      ]
    }
  • \ePaisa\ePaisa::setApiKey("sk_test_BQokikJOvBiI2HlWgH4olfQ2");
    
    $customers = \ePaisa\Customer::all(array("limit" => 3));
    foreach ($customers->autoPagingIterator() as $customer) {
      // Do something with $customer
    }
                           
  • var ePaisa = require("ePaisa")(
      "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    );
    
    // Support for this directly in ePaisa's Node library is forthcoming.
  • require "ePaisa"
    ePaisa.api_key = "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    
    customers = ePaisa::Customer.all(:limit => 3)
    customers.auto_paging_each do |customer|
      # Do something with customer
    end
                           

Request IDs

Each API request has an associated request identifier. You can find this value in the response headers, under Request-Id. You can also find request identifiers in the URLs of individual request logs in your Dashboard. If you need to contact us about a specific request, providing the request identifier will ensure the fastest possible resolution.

Versioning

When we make backwards-incompatible changes to the API, we release new, dated versions. The current version is 2017-04-06. Read our API upgrades guide to see our API changelog and to learn more about backwards compatibility.

All requests will use your account API settings, unless you override the API version. The changelog lists every available version. Note that events generated by API requests will always be structured according to your account API version.

To override the API version, assign the version to the ePaisa.api_version property.

You can visit your Dashboard to upgrade your API version. As a precaution, use API versioning to test a new API version before committing to an upgrade.

Example Request
  • \ePaisa\ePaisa::setApiKey("sk_test_BQokikJOvBiI2HlWgH4olfQ2");
    \ePaisa\ePaisa::setApiVersion("2017-04-06");
                           
  • var ePaisa = require("ePaisa")(
      "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    );
    ePaisa.setApiVersion('2017-04-06');
  • require "ePaisa"
    ePaisa.api_key = "sk_test_BQokikJOvBiI2HlWgH4olfQ2"
    ePaisa.api_version = "2017-04-06"
                           
https://nine.epaisa.com/acquirerbank

Available Actions

  • for fetching the acquirerbank list
  • for creating the acquirerbank
  • for creating the acquirerbank
  • for creating the acquirerbank

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/acquirerbank?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/acquirerbank?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/acquirerbank?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/acquirerbank");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/acquirerbank", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/acquirerbank")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/acquirerbank");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/acquirerbank", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/acquirerbank")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/acquirerbank");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/acquirerbank", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/acquirerbank")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "Acquirerbank": [
          {
            "acquirerBankId": "1",
            "acquirerBankName": "Corporation Bank"
          },
          {
            "acquirerBankId": "2",
            "acquirerBankName": "NICB"
          }
        ]
      }
    }
https://nine.epaisa.com/bank

Available Actions

  • get bank details using IFSC CODE.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • for creating a new bank.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • for updating bank.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • for a particular bank.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/bank?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/bank?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/bank?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/bank");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/bank", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/bank")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/bank");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/bank", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/bank")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/bank");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/bank", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/bank")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":{"Bank":[{"bankId":1,"countryId":103,"stateId":1,"cityId":1,"areaId":1,"bankName":"HDFC","bankLogo":"","bankIFSC":"HDFC00001899","bankMICR":"1345165","bankAddress":"Civil Lines","bankDistrict":"Allahabad","bankState":"UttarPradesh","createdUserId":16,"created_at":1457688193,"updatedUserId":16,"updated_at":1457688193,"status":1}]}}
https://nine.epaisa.com/businesstypes

Available Actions

  • to fetch business types

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/businesstypes");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/businesstypes", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/businesstypes")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":{"Bank":[{"bankId":1,"countryId":103,"stateId":1,"cityId":1,"areaId":1,"bankName":"HDFC","bankLogo":"","bankIFSC":"HDFC00001899","bankMICR":"1345165","bankAddress":"Civil Lines","bankDistrict":"Allahabad","bankState":"UttarPradesh","createdUserId":16,"created_at":1457688193,"updatedUserId":16,"updated_at":1457688193,"status":1}]}}
https://nine.epaisa.com/care/appointment
Appointment endpoit provide you whole the functionality you need to work with appointment apis.

Available Actions

  • To fetch a list of patients. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new appointment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit an appointment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete an appointment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/appointment?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/care/appointment?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/appointment?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/appointment");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/appointment", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/appointment")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/appointment");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/appointment", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/appointment")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/appointment");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/appointment", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/appointment")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/appointment/status
Appointment status endpoit provide you create/edit/delete the functionality you need to work with appointment status apis.

Available Actions

  • To create a new appointment status.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit an appointment status.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a room.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/appointment/status");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/appointment/status", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/appointment/status")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/appointment/status");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/appointment/status", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/appointment/status")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/appointment/status");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/appointment/status", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/appointment/status")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/department
Departments endpoit provide you whole the functionality you need to work with department apis.

Available Actions

  • To fetch a list of departments. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible departments will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new department.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a department.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a department.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/department?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/care/department?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/department?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/department");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/department", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/department")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/department");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/department", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/department")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/department");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/department", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/department")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/doctor
Doctor endpoit provide you whole the functionality you need to work with doctor apis.

Available Actions

  • To fetch a list of doctors. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible rooms will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new doctor.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a doctor.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a doctor.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/care/doctor?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/doctor", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/doctor", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/doctor", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
https://nine.epaisa.com/care/doctor/file
Service endpoit provide you whole the functionality you need to work with service apis.

Available Actions

  • To fetch image content.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor/file?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/care/doctor/file?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor/file?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
       "success": 1,
       "response": {
           "filename": "v2\/salonapp\/services\/459__20170209061447.png",
           "data": "iVBORw0KGgoAAAANSUhEUgAAADQAAABQCAIAAADZf8HwAAAAA3NCSVQICAjb4U\/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO\/PgAAAGtJREFUaIHtzjEBwCAAwDBA2R4M4F\/MHOzow45EQeazz\/irdTvwRa6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+SqF7wIAXd1UjysAAAAAElFTkSuQmCC"
       }
     }
https://nine.epaisa.com/care/doctor/notification
Doctor notification endpoit provide the functionality to send notification for a reception.

Available Actions

  • To send a notification to a reception.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor/notification");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/doctor/notification", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor/notification")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
       "success": 1,
       "response": []
     }
https://nine.epaisa.com/care/doctor/service
Doctor Service endpoit provide you whole the functionality you need to work with doctor service apis.

Available Actions

  • To create a new doctor service row.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a doctor.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a doctor.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/doctor/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/doctor/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/doctor/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/doctor/working-hours
Doctor Working Hour endpoit provide you whole the functionality you need.

Available Actions

  • To create and edit a doctor working hour row.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a doctor working hour.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor/working-hours");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/doctor/working-hours", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor/working-hours")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/doctor/working-hours");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/doctor/working-hours", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/doctor/working-hours")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/patient
Patients endpoit provide you whole the functionality you need to work with patient apis.

Available Actions

  • To fetch a list of patients. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new patient.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a patient.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a patient.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/patient?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/care/patient?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/patient?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/patient");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/patient", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/patient")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/patient");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/patient", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/patient")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/patient");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/patient", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/patient")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/patient/condition
Patients endpoit provide you create/edit/delete the functionality you need to work with patient conditions apis.

Available Actions

  • To create a new patient condition.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a patient condition.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a patient condition.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/patient/condition");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/patient/condition", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/patient/condition")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/patient/condition");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/patient/condition", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/patient/condition")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/patient/condition");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/patient/condition", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/patient/condition")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/patient/message
Patients message endpoit provide you whole the functionality you need to work with patient message apis.

Available Actions

  • To send a message to a patient.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/patient/message");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/patient/message", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/patient/message")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/room
Rooms endpoit provide you whole the functionality you need to work with room apis.

Available Actions

  • To fetch a list of rooms. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible rooms will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new room.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a room.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a room.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/room?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/care/room?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/room?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/room");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/room", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/room")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/room");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/room", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/room")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/room");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/room", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/room")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/service
Service endpoit provide you whole the functionality you need to work with service apis.

Available Actions

  • To fetch a list of services. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new service.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a service.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a service.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/service?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/care/service?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/service?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/care/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/care/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/care/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/care/service/file
Service endpoit provide you whole the functionality you need to work with service apis.

Available Actions

  • To fetch image content.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/care/service/file?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/care/service/file?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/care/service/file?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
       "success": 1,
       "response": {
           "filename": "v2\/salonapp\/services\/459__20170209061447.png",
           "data": "iVBORw0KGgoAAAANSUhEUgAAADQAAABQCAIAAADZf8HwAAAAA3NCSVQICAjb4U\/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO\/PgAAAGtJREFUaIHtzjEBwCAAwDBA2R4M4F\/MHOzow45EQeazz\/irdTvwRa6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+SqF7wIAXd1UjysAAAAAElFTkSuQmCC"
       }
     }
https://nine.epaisa.com/city/index

Available Actions

  • for fetching the State list on the basis of country ID.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/city/index");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/city/index", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/city/index")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":{"Cities":[{"cityId":1,"stateId":1,"cityName":"Allahabad","cityCode":"70","createdUserId":1,"created_at":1,"updatedUserId":1,"updated_at":1,"status":1}]}}
https://nine.epaisa.com/country

Available Actions

  • for fetching the Country list

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/country?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/country?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/country?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "countryId": 103,
        "countryName": "India",
        "countryDialCode": "91",
        "countryDomainExtension": "",
        "countryAlpha2Code": "IN",
        "countryAlpha3Code": "IND",
        "countryNumericCode": 356,
        "countryISOCode": "",
        "createdUserId": 1,
        "created_at": 0,
        "updatedUserId": 1,
        "updated_at": 0,
        "status": 1,
        "currencies": [
          {
            "countryCurrencyId": 1,
            "countryId": 103,
            "currencyId": 121,
            "countryCurrencyExchangeRate": "0.00",
            "createdUserId": 0,
            "created_at": 0,
            "updatedUserId": 0,
            "updated_at": 0,
            "status": 0,
            "currencyName": "Rupee",
            "currencyCode": "SCR",
            "currencyNumericCode": ""
          },
          {
            "countryCurrencyId": 2,
            "countryId": 103,
            "currencyId": 5,
            "countryCurrencyExchangeRate": "68.73",
            "createdUserId": 0,
            "created_at": 0,
            "updatedUserId": 0,
            "updated_at": 0,
            "status": 0,
            "currencyName": "USD",
            "currencyCode": "USD",
            "currencyNumericCode": ""
          }
        ]
      }
    }
https://nine.epaisa.com/country/index

Available Actions

  • for fetching the Country list

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/country/index");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/country/index", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/country/index")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "Countries": [
          {
            "countryId": 1,
            "countryName": "Unit State",
            "countryDialCode": "",
            "countryDomainExtension": "",
            "countryAlpha2Code": "",
            "countryAlpha3Code": "",
            "countryNumericCode": 0,
            "countryISOCode": "",
            "createdUserId": 0,
            "creationDate": 0,
            "updatedUserId": 0,
            "updationDate": 0,
            "status": 0
          }
        ]
      }
    }
https://nine.epaisa.com/credits
to list all credited amount to merchant.

Available Actions

  • to list all credited amount to merchant.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • to add amount to merchant account

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/credits?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/credits?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/credits?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/credits");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/credits", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/credits")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/currency

Available Actions

  • currency list call.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/currency");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/currency", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/currency")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/customer
This api will add new customer

Available Actions

  • It fetch list of all customers
  • This api will edit a customer details in customerDetail table
  • This api will delete customer from merchant customer list

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/customer?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/customer", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/customer", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": "Customers deleted successfully."
    }
https://nine.epaisa.com/customer/add(deprecated)
This api will add new customer in customer table

Available Actions

  • This api will add new customer in customer table

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer/add(deprecated)");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/customer/add(deprecated)", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer/add(deprecated)")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "Customer": {
          "customerId": 2,
          "firstName": "vinit",
          "lastName": "choudhari",
          "email": "",
          "phoneNumber": "+918793252893",
          "password_hash": null,
          "otp": "",
          "dob": null,
          "address1": "some address line 1",
          "address2": "some address line 2",
          "pincode": 87534756,
          "cityId": 23,
          "stateId": 434,
          "countryCode": "IN",
          "created_at": 1479541253,
          "updated_at": 1479541254,
          "createdUserId": 455,
          "updatedUserId": 455,
          "status": 1
        }
      }
    }
https://nine.epaisa.com/customer/delete(deprecated)
This api will delete customer from merchant customer list

Available Actions

  • This api will delete customer from merchant customer list

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer/delete(deprecated)");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/customer/delete(deprecated)", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer/delete(deprecated)")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": "Customers deleted successfully."
    }
https://nine.epaisa.com/customer/details(deprecated)
This api will add new customer details in customerDetail table

Available Actions

  • This api will add new customer details in customerDetail table

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2Yes{{ needs a fix }}
  • This api will edit a customer details in customerDetail table

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2Yes{{ needs a fix }}
  • This api will delete a customer details in customerDetail table

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer/details(deprecated)");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/customer/details(deprecated)", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer/details(deprecated)")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer/details(deprecated)");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/customer/details(deprecated)", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer/details(deprecated)")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer/details(deprecated)");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/customer/details(deprecated)", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer/details(deprecated)")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/customer/list(deprecated)
It fetch list of all customers

Available Actions

  • It fetch list of all customers

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer/list(deprecated)");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/customer/list(deprecated)", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer/list(deprecated)")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
      "Customer": [
      {
      "customerId": 2,
      "firstName": "vinit",
      "lastName": "choudhari",
      "phoneNumber": "+918793252893",
      "email": "",
      "rewardPoints": null,
      "creditLimit": "5000.00",
      "currentBalance": "3000.00",
      "pincode": null,
      "address1": "",
      "address2": "",
      "cityId": null,
      "stateId": null,
      "countryCode": null
      }
      ]
      }
      }
https://nine.epaisa.com/customer/search
It fetch list of all customers

Available Actions

  • It fetch list of all customers

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer/search?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/customer/search?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer/search?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "Customer": [
          {
            "firstName": "Satish1",
            "lastName": "Charmal1",
            "email": "sat**************@gmail.com",
            "phoneNumber": "98****5971",
            "address1": "",
            "address2": "",
            "cityId": 0,
            "stateId": 0,
            "countryCode": 0,
            "pincode": 0,
            "status": 0
          },
          {
            "firstName": "Satish2",
            "lastName": "Charmal2",
            "email": "satishcharmal1432@gmail.com",
            "phoneNumber": "9867585972",
            "address1": "Padhegaon",
            "address2": "Kopargaon",
            "cityId": null,
            "stateId": null,
            "countryCode": null,
            "pincode": null,
            "status": 1
          },
          {
            "firstName": "Satish3",
            "lastName": "Charmal3",
            "email": "satishcharmal1433@gmail.com",
            "phoneNumber": "9867585973",
            "address1": "Padhegaon",
            "address2": "Kopargaon",
            "cityId": null,
            "stateId": null,
            "countryCode": null,
            "pincode": null,
            "status": 1
          },
          {
            "firstName": "Satish4",
            "lastName": "Charmal4",
            "email": "sat**************@gmail.com",
            "phoneNumber": "98****5974",
            "address1": "",
            "address2": "",
            "cityId": 0,
            "stateId": 0,
            "countryCode": 0,
            "pincode": 0,
            "status": 0
          },
          {
            "firstName": "Satish5",
            "lastName": "Charmal5",
            "email": "satishcharmal1435@gmail.com",
            "phoneNumber": "9867585975",
            "address1": "Padhegaon",
            "address2": "Kopargaon",
            "cityId": null,
            "stateId": null,
            "countryCode": null,
            "pincode": null,
            "status": 1
          }
        ]
      }
    }
https://nine.epaisa.com/customer/validate
This api will validate customer OTP and link that customer to merchant

Available Actions

  • This api will validate customer OTP and link that customer to merchant account

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/customer/validate");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/customer/validate", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/customer/validate")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "Customer": {
          "customerId": 2,
          "firstName": "vinit",
          "lastName": "choudhari",
          "email": "",
          "phoneNumber": "+918793252893",
          "password_hash": null,
          "otp": "",
          "dob": null,
          "address1": "some address line 1",
          "address2": "some address line 2",
          "pincode": 87534756,
          "cityId": 23,
          "stateId": 434,
          "countryCode": "IN",
          "created_at": 1479541253,
          "updated_at": 1479541254,
          "createdUserId": 455,
          "updatedUserId": 455,
          "status": 1
        }
      }
    }
https://nine.epaisa.com/deposithistory

Available Actions

  • to fetch merchant's deposit history.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    body {{ needs a fix }}
    application/json {{ needs a fix }}Example:{ "depositedRefNumber":"1000000", "merchantId":466, "depositedCharge":"12.00", "depositedTID":"tid", "depositedMID":"mid" }
  • to create a new merchant deposit history record

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    body {{ needs a fix }}
    application/json {{ needs a fix }}Example:{ "depositedRefNumber":"1000000", "merchantId":466, "depositedCharge":"12.00", "depositedTID":"tid", "depositedMID":"mid" }
  • to update a merchant deposit history record

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    body {{ needs a fix }}
    application/json {{ needs a fix }}Example:{ "depositedRefNumber":"1000000", "merchantId":466, "depositedCharge":"12.00", "depositedTID":"tid", "depositedMID":"mid" }
  • to delete a merchant deposit history record

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    body {{ needs a fix }}
    application/json {{ needs a fix }}Example:{ "depositedRefNumber":"1000000", "merchantId":466, "depositedCharge":"12.00", "depositedTID":"tid", "depositedMID":"mid" }

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/deposithistory?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/deposithistory?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/deposithistory?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/deposithistory");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/deposithistory", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/deposithistory")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/deposithistory");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/deposithistory", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/deposithistory")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/deposithistory");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/deposithistory", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/deposithistory")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":"Merchant deposit history record deleted successfully."}
https://nine.epaisa.com/masterdata/addon

Available Actions

  • To fetch a specific addon or a list of addons you can use this endpoint. all the parameters are optional by setting addonId the other parameters will be ignored. results are always an array of addon object(s) even if you send your request with addonId. to fetch a list of addons you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible addons will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To creat a new addon

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To update an addon

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To delete an addon

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/addon?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/masterdata/addon?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/addon?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/addon");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/masterdata/addon", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/addon")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/addon");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/masterdata/addon", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/addon")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/addon");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/masterdata/addon", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/addon")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/masterdata/categories

Available Actions

  • for fetching the industry list

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/categories?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/masterdata/categories?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/categories?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
      "Industry": [
        {
          "industryId": "11",
          "industryName": "Beauty salon\r\n",
          "industryLevel": "1"
        },
        {
          "industryId": "12",
          "industryName": "Hair salon, barbershop",
          "industryLevel": "1"
        }
      ]
    }
https://nine.epaisa.com/masterdata/features

Available Actions

  • To fetch a specific feature or a list of features you can use this endpoint. all the parameters are optional by setting featureId the other parameters will be ignored. results are always an array of feature object(s) even if you send your request with featureId. to fetch a list of features you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible features will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To creat a new feature

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To update a product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To delete a product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/features?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/masterdata/features?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/features?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/features");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/masterdata/features", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/features")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/features");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/masterdata/features", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/features")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/features");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/masterdata/features", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/features")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/masterdata/industries

Available Actions

  • for fetching the industry list

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/industries?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/masterdata/industries?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/industries?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":{"Industry":[{"industryId":"1","industryName":"Beauty and personal care","status":"0"},{"industryId":"2","industryName":"Casual use","status":"0"},{"industryId":"3","industryName":"Charities, Education and membership","status":"0"},{"industryId":"4","industryName":"Food and Drinks","status":"0"},{"industryId":"5","industryName":"Health Care and Fitness","status":"0"},{"industryCategoryId":"331","industryId":"0","industryCategoryName":"industryCategoryName","categoryStatus":"0"}]}}
https://nine.epaisa.com/masterdata/plans
Plan endpoit provide you whole the functionality you need to creat differnet plans.

Available Actions

  • To fetch a specific plan or a list of plans you can use this endpoint. all the parameters are optional by setting planId the other parameters will be ignored. results are always an array of plan object(s) even if you send your request with planId. to fetch a list of plans you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible plans will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To creat a new plan

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To update a plan

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To delete a plan

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/plans?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/masterdata/plans?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/plans?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/plans");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/masterdata/plans", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/plans")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/plans");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/masterdata/plans", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/plans")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/plans");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/masterdata/plans", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/plans")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/masterdata/plans/addons

Available Actions

  • To assign a feature to a plan

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To remove a feature from a plan

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/plans/addons");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/masterdata/plans/addons", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/plans/addons")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/plans/addons");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/masterdata/plans/addons", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/plans/addons")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "planId": 5,
        "planName": "Gold Plan",
        "planDescription": "Full access to all features and functionality.",
        "planPrice": "120.55",
        "features": [
          {
            "featureId": 2,
            "featureName": "NumberOfMarketplace",
            "featureValue": "5"
          },
          {
            "featureId": 3,
            "featureName": "DefineOperators",
            "featureValue": "true"
          }
        ]
      }
    }
https://nine.epaisa.com/masterdata/plans/features

Available Actions

  • To assign a feature to a plan

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To remove a feature from a plan

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/plans/features");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/masterdata/plans/features", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/plans/features")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/plans/features");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/masterdata/plans/features", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/plans/features")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "planId": 5,
        "planName": "Gold Plan",
        "planDescription": "Full access to all features and functionality.",
        "planPrice": "120.55",
        "features": [
          {
            "featureId": 2,
            "featureName": "NumberOfMarketplace",
            "featureValue": "5"
          },
          {
            "featureId": 3,
            "featureName": "DefineOperators",
            "featureValue": "true"
          }
        ]
      }
    }
https://nine.epaisa.com/masterdata/transactiontypes

Available Actions

  • for fetching the transaction type list

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/masterdata/transactiontypes");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/masterdata/transactiontypes", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/masterdata/transactiontypes")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":{"TransactionTypes":{"1":{"transactionTypeId":"1","name":"Cash","status":"0"},"2":{"transactionTypeId":"2","name":"Wallet","status":"0"}}}}
https://nine.epaisa.com/merchant/catalog/products
Product endpoit provide you whole the functionality you need to fetch catalog information maintained by epaisa.

Available Actions

  • To fetch a list of products belong to a category or industry you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/catalog/products?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/catalog/products?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/catalog/products?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": [
        {
    
        }
      ]
    }
https://nine.epaisa.com/merchant/catalog/service
Service endpoit provide you whole the functionality you need to fetch catalog information maintained by epaisa.

Available Actions

  • To fetch a list of services belong to a category or industry you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/catalog/service?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/catalog/service?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/catalog/service?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": [
        {
    
        }
      ]
    }
https://nine.epaisa.com/merchant/category
in order to fetch and create categories we use this endpoint. keep in mind that categories are public and visible to everyone.

Available Actions

  • To fetch category list or a specific category

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To create a new category you can use POST verb to send your new category name to this api. keep in mind that your json object has productCategoryName key with proper value.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To update a category you can use PUT verb to send your new category name to this api. keep in mind that your json object has productCategoryName key with proper value.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To create a new category you can use POST verb to send your new category name to this api. keep in mind that your json object has productCategoryName key with proper value.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/category?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/category?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/category?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/category");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/category", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/category")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/category");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/merchant/category", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/category")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/category");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/merchant/category", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/category")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/merchant/check-plan
in order to check upgrade/downgrade current plan to the other plans.

Available Actions

  • To fetch category list or a specific category

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/check-plan?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/check-plan?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/check-plan?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "addonsPrice": 7399.92,
        "type": "Upgrade",
        "startDate": "2016-07-22",
        "endDate": "2016-10-22",
        "days": 92,
        "planPrice": 361.65,
        "setupFeePrice": 0,
        "totalPrice": 7761.57
      }
    }
https://nine.epaisa.com/merchant/order
in order to fetch order information you can use this endpoint. result is an array of order objects or empty array. if you set orderId in your request two other parameteres (limit, offset) will ignored and result is the only order that it's id is matched with your requested orderId or an empty array if the system cannot find the order or the order is not belong to the current merchant.

Available Actions

  • To fetch orders list or a specific order

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • in order to fetch order information you can use this endpoint. result is an array of order objects or empty array. if you set orderId in your request two other parameteres (limit, offset) will ignored and result is the only order that it's id is matched with your requested orderId or an empty array if the system cannot find the order or the order is not belong to the current merchant.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/order?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/order?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/order?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/order");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/merchant/order", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/order")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": [
        {
          "_id": "578487b1d97fce04b64cfe09",
          "customerId": 5,
          "merchantId": 480,
          "totalPrice": 24331.56,
          "status": 0,
          "products": [
            {
              "productId": "5774fcdad97fce4da4513f31",
              "variants": [
                {
                  "variantId": "5774fcdad97fce4da4513f32",
                  "unitPrice": 23.76,
                  "discount": 5,
                  "quantity": 10,
                  "sku": "24542"
                },
                {
                  "variantId": "5774fcdad97fce4da4513f33",
                  "unitPrice": 23.76,
                  "discount": 5,
                  "quantity": 10,
                  "sku": "24542"
                }
              ],
              "taxes": [
                1,
                2
              ]
            },
            {
              "productId": "5774fcdad97fce4da4513f31",
              "variants": [
                {
                  "variantId": "5774fcdad97fce4da4513f33",
                  "unitPrice": 34.77,
                  "discount": 7,
                  "quantity": 34,
                  "sku": "24542"
                },
                {
                  "variantId": "5774fcdad97fce4da4513f34",
                  "unitPrice": 345.76,
                  "discount": 5,
                  "quantity": 65,
                  "sku": "24542"
                }
              ],
              "taxes": [
                1,
                2
              ]
            }
          ]
        }
      ]
    }
https://nine.epaisa.com/merchant/package
Package endpoit provide you whole the functionality you need to work with packages, you can find further information for them in the documentation.

Available Actions

  • To fetch a specific package or a list of packages you can use this endpoint. all the parameters are optional by setting packageId the two other parameters will ignored. results are always an array of product object(s) even if you send your request with productId. to fetch a list of products you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To creat a new product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To update a product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To delete a product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/package?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/package?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/package?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/package");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/package", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/package")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/package");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/merchant/package", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/package")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/package");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/merchant/package", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/package")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
https://nine.epaisa.com/merchant/package/docread
in order to fetch package image or thumbnail we use this endpoint.

Available Actions

  • To fetch package image or thumbnail we use this endpoint, you also can send your batch request in an array.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/package/docread");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/package/docread", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/package/docread")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "packageFileId": "57e29f71d97fce0965603198",
        "filename": "v2/packageimages/459__20160921062545.jpg",
        "thumbnail": "v2/packageimages/thumb/459__20160921062545.jpg",
        "data": "/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBkZWZhdWx0IHF1YWxpdHkK/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgAlgCWAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkoP4F/+KoopgS/8Jvpv/PC7/wC+F/8AiqP+E303/nhd/wDfC/8AxVFFIA/4TfTf+eF3/wB8L/8AFVBbeNdNVZMwXfMjH7i+v+9RRQBP/wAJvpv/ADwu/wDvhf8A4qj/AITfTf8Anhd/98L/APFUUUARXPjbTWt3Agu+R/cX/wCKp6eN9NCL+4u+n9xf/iqKKAHf8Jvpv/PC7/74X/4qj/hN9N/54Xf/AHwv/wAVRRQBFc+NtNa2kAgu+VP8C/8AxVOj8baaI1HkXfQfwL/8VRRQBkeJvGGn3GmxokNyCJgeVX0P+1RRRQB//9k="
      }
    }
https://nine.epaisa.com/merchant/product
Product endpoit provide you whole the functionality you need to creat differnet type of products we have exact same endpoint for services too, you can find further information for them in the documentation.

Available Actions

  • To fetch a specific product or a list of products you can use this endpoint. all the parameters are optional by setting productId the two other parameters will ignored. results are always an array of product object(s) even if you send your request with productId. to fetch a list of products you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To creat a new product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To update a product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To delete a product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/product?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/product", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/merchant/product", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/merchant/product", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
https://nine.epaisa.com/merchant/product/docread
in order to fetch product image or thumbnail we use this endpoint.

Available Actions

  • To fetch a product image or thumbnail we use this endpoint, you also can send your batch request in an array.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product/docread");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/product/docread", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product/docread")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "productFileId": "57e29f71d97fce0965603198",
        "filename": "v2/productimages/459__20160921062545.jpg",
        "thumbnail": "v2/productimages/thumb/459__20160921062545.jpg",
        "data": "/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBkZWZhdWx0IHF1YWxpdHkK/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgAlgCWAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkoP4F/+KoopgS/8Jvpv/PC7/wC+F/8AiqP+E303/nhd/wDfC/8AxVFFIA/4TfTf+eF3/wB8L/8AFVBbeNdNVZMwXfMjH7i+v+9RRQBP/wAJvpv/ADwu/wDvhf8A4qj/AITfTf8Anhd/98L/APFUUUARXPjbTWt3Agu+R/cX/wCKp6eN9NCL+4u+n9xf/iqKKAHf8Jvpv/PC7/74X/4qj/hN9N/54Xf/AHwv/wAVRRQBFc+NtNa2kAgu+VP8C/8AxVOj8baaI1HkXfQfwL/8VRRQBkeJvGGn3GmxokNyCJgeVX0P+1RRRQB//9k="
      }
    }
https://nine.epaisa.com/merchant/product/inventory
in order to fetch and update product quantity we use this endpoint. keep in mind that categories are public and visible to everyone.

Available Actions

  • To fetch category list or a specific category
  • To update new inventory value for a product

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product/inventory?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/product/inventory?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product/inventory?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product/inventory");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/merchant/product/inventory", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product/inventory")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success":1,
      "response":
        {
          "sellingPrice": 2453454,
          "discountType": "%",
          "productId": "57ea7ad2d97fce5b0f07efa3",
          "merchantId": 472,
          "createdUserId": 459,
          "updatedUserId": 459,
          "created_at": 1474984658,
          "updated_at": 1475068480,
          "inventory": 1460,
          "variantId": "57ea7ad2d97fce5b0f07efa4"
        }
    } ||
    {
      "success": 1,
      "response": [
        {
          "sellingPrice": 2453454,
          "discountType": "%",
          "productId": "57ea7ad2d97fce5b0f07efa3",
          "merchantId": 472,
          "createdUserId": 459,
          "updatedUserId": 459,
          "created_at": 1474984658,
          "updated_at": 1475068480,
          "inventory": 1460,
          "variantId": "57ea7ad2d97fce5b0f07efa4"
        },
        {
          "sellingPrice": 456546,
          "discountType": "%",
          "inventory": 780,
          "productId": "57ea23c9d97fcee9c2387160",
          "merchantId": 472,
          "createdUserId": 459,
          "updatedUserId": 459,
          "created_at": 1474962377,
          "updated_at": 1474962377,
          "variantId": "57ea23c9d97fcee9c2387161"
        }
      ]
    }
https://nine.epaisa.com/merchant/product/search

Available Actions

  • To fetch product information for autocompleting fields

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product/search?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/product/search?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product/search?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/merchant/product/tax
in order to fetch product taxes we use this endpoint.

Available Actions

  • To fetch tax list or a specific product

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/product/tax?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/product/tax?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/product/tax?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": [
        {
          "taxId": "57",
          "taxDisplayName": "Governments",
          "taxName": "governments",
          "taxMode": "%",
          "taxValue": "10.00",
          "taxType": "Exclusive",
          "taxScope": "Global",
          "status": "1",
          "taxRuleApplyFor": null
        },
        {
          "taxId": "75",
          "taxDisplayName": "custom_1",
          "taxName": "custom_1",
          "taxMode": "%",
          "taxValue": "12.00",
          "taxType": "Inclusive",
          "taxScope": "Custom",
          "status": "1",
          "taxRuleApplyFor": null
        }
      ]
    }
https://nine.epaisa.com/merchant/service
Service endpoit provide you whole the functionality you need to creat differnet type of services we have exact same endpoint for products too, you can find further information for them in the documentation.

Available Actions

  • To fetch a specific service or a list of services you can use this endpoint. all the parameters are optional by setting serviceId the two other parameters will be ignored. results are always an array of service object(s) even if you send your request with serviceId. to fetch a list of products you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible services will be returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To creat a new service

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To update a service

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}
  • To delete a service

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/service?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/service?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/service?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/merchant/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/merchant/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/merchant/service/docread
in order to fetch service image or thumbnail we use this endpoint.

Available Actions

  • To fetch service image or thumbnail we use this endpoint, you also can send your batch request in an array.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/service/docread");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/service/docread", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/service/docread")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "productFileId": "57e29f71d97fce0965603198",
        "filename": "v2/serviceimages/459__20160921062545.jpg",
        "thumbnail": "v2/serviceimages/thumb/459__20160921062545.jpg",
        "data": "/9j/4AAQSkZJRgABAQAAAQABAAD//gA+Q1JFQVRPUjogZ2QtanBlZyB2MS4wICh1c2luZyBJSkcgSlBFRyB2ODApLCBkZWZhdWx0IHF1YWxpdHkK/9sAQwAIBgYHBgUIBwcHCQkICgwUDQwLCwwZEhMPFB0aHx4dGhwcICQuJyAiLCMcHCg3KSwwMTQ0NB8nOT04MjwuMzQy/9sAQwEJCQkMCwwYDQ0YMiEcITIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIyMjIy/8AAEQgAlgCWAwEiAAIRAQMRAf/EAB8AAAEFAQEBAQEBAAAAAAAAAAABAgMEBQYHCAkoP4F/+KoopgS/8Jvpv/PC7/wC+F/8AiqP+E303/nhd/wDfC/8AxVFFIA/4TfTf+eF3/wB8L/8AFVBbeNdNVZMwXfMjH7i+v+9RRQBP/wAJvpv/ADwu/wDvhf8A4qj/AITfTf8Anhd/98L/APFUUUARXPjbTWt3Agu+R/cX/wCKp6eN9NCL+4u+n9xf/iqKKAHf8Jvpv/PC7/74X/4qj/hN9N/54Xf/AHwv/wAVRRQBFc+NtNa2kAgu+VP8C/8AxVOj8baaI1HkXfQfwL/8VRRQBkeJvGGn3GmxokNyCJgeVX0P+1RRRQB//9k="
      }
    }
https://nine.epaisa.com/merchant/service/search

Available Actions

  • To fetch service information for autocompleting fields

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/service/search?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/service/search?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/service/search?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response":["Baby Sitter", "Barbery"]
    }
https://nine.epaisa.com/merchant/tax/category
To assign and delete tax(es) to/from all of the products in one or more categories you can use this endpoint by sending your request with POST and DELETE verbs.

Available Actions

  • To get a list of categories with their assigned taxes.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To assign tax(es) to all of the products in one or more categories.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To delete some taxes from some products

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/category?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/tax/category?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/category?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/category");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/tax/category", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/category")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/category");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/merchant/tax/category", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/category")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/merchant/tax/manufacturers
To assign and delete tax(es) to/from all of the products belong to one or more distributors you can use this endpoint by sending your request with POST and DELETE verbs.

Available Actions

  • To get a list of manufacturers with their assigned taxes.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To assign some taxed to some products manufactured by some manufacturers

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To delete some taxes from some products manufactured by some manufacturers

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/manufacturers?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/tax/manufacturers?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/manufacturers?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/manufacturers");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/tax/manufacturers", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/manufacturers")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/manufacturers");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/merchant/tax/manufacturers", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/manufacturers")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/merchant/tax/product
To assign and delete taxes to/from one or more specific or event all of the products you can use this endpoint by sending your request with POST and DELETE verbs. or getting a list of product with specific tax

Available Actions

  • To fetch product(s) with a specific taxId.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To assign one or more tax(es) to one or more product(s). the system won't show an error message if requested tax(es) id did already assigned to the requested product(s).

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To remove one or more tax(es) from one or more product(s). the system won't show an error message if requested tax(es) id didn't already assigned to the requested product(s).

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/product?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/tax/product?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/product?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/product");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/tax/product", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/product")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/product");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/merchant/tax/product", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/product")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/merchant/tax/store
To assign and delete tax(es) to/from all of the products belong to one or more stores you can use this endpoint by sending your request with POST and DELETE verbs.

Available Actions

  • To get a list of manufacturers with their assigned taxes.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To assign some taxed to some products belong to some stores

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
  • To delete some taxes from some products belong to some store

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/store?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/merchant/tax/store?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/store?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/store");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/merchant/tax/store", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/store")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/merchant/tax/store");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/merchant/tax/store", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/merchant/tax/store")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/payment/authenticate

Available Actions

  • To process a transaction on generated payment.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/authenticate");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/authenticate", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/authenticate")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
https://nine.epaisa.com/payment/cancel

Available Actions

  • to cancel the payment and void all transactions

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/cancel");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/cancel", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/cancel")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/payment/details

Available Actions

  • Payment details api will fetch complete payment with transaction details and purchase products list

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 {{ needs a fix }}
    param3 {{ needs a fix }}
    param4 {{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/details");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/details", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/details")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
       "success": 1,
       "response": {
         "payments": {
           "paymentId": 3505,
           "paymentCurrencyId": 25,
           "paymentAmount": "11.00",
           "paymentTipAmount": "0.00",
           "paymentSubTotal": "11.00",
           "paymentTotalDiscount": "0.00",
           "status": "Approved",
           "details": {
             "sourceId": "2",
             "orderId": "581c6d32cfcdbc071d6fe44e"
           },
           "order": {
             "customItems": [],
             "products": [
               {
                 "productId": "580a0a76cfcdbc75c971dcb7",
                 "variants": [
                   {
                     "variantId": "580a0a76cfcdbc75c971dcb8",
                     "unitPrice": "10.0",
                     "discount": "0.0",
                     "quantity": "1",
                     "calculatedDiscount": "0.0",
                     "calculatedPrice": "10.0",
                     "tax": []
                   }
                 ],
                 "productDisplayName": "milk"
               }
             ],
             "subTotal": 10,
             "totalPrice": 11,
             "totalDiscount": 0,
             "totalTax": 0,
             "generalDiscount": 0,
             "roundOffAmount": 0,
             "serviceCharges": 10,
             "deliveryCharges": 0,
             "CalculatedTax": [],
             "updated_at": 1478257970,
             "created_at": 1478257970,
             "merchantId": 1518,
             "status": 1,
             "orderId": "581c6d32cfcdbc071d6fe44e"
           }
         },
         "transactions": [
           {
             "transactionId": 3279,
             "transactionTypeId": 2,
             "transactionTypeName": "Cash",
             "transactionStatusId": 2,
             "transactionStatus": "Approved",
             "transactionAmount": "11.00",
             "transactionDetails": []
           }
         ]
       }
     }
https://nine.epaisa.com/payment/finalize

Available Actions

  • for finalizing the payment

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/finalize");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/finalize", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/finalize")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    Array
https://nine.epaisa.com/payment/initiate

Available Actions

  • To initiate the payment flow and generating a payment record on the database

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/initiate");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/initiate", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/initiate")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":0,"errorCode":"2.2.3","message":"Validation Error","messageDetails":{"errorMessage":"Previous payment is waiting","lastPaymentId":26}}
https://nine.epaisa.com/payment/list

Available Actions

  • for listing the payments as history

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 {{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/list");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/list", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/list")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":[{"_id":{"$id":"56e6a1c8af195c7422000032"},"paymentId":43,"paymentStatusId":2,"paymentCurrencyId":1,"paymentAmount":"10.00","paymentTipAmount":"0.00","paymentSubTotal":"10.00","paymentTotalDiscount":"0.00","paymentCustomerId":0,"created_at":1457955272,"updated_at":1457956079,"transactions":[{"_id":{"$id":"56e6a205af195c682200002a"},"transactionId":17,"transactionTypeId":2,"transactionStatusId":2,"transactionCurrencyId":1,"transactionAmount":"10.00","created_at":1457955333,"updated_at":1457955333},{"_id":{"$id":"56e6a306af195c682200002c"},"transactionId":18,"transactionTypeId":2,"transactionStatusId":2,"transactionCurrencyId":1,"transactionAmount":"10.00","created_at":1457955590,"updated_at":1457955590},{"_id":{"$id":"56e6a3fcaf195c682200002e"},"transactionId":19,"transactionTypeId":2,"transactionStatusId":2,"transactionCurrencyId":1,"transactionAmount":"10.00","created_at":1457955836,"updated_at":1457955836},{"_id":{"$id":"56e6a4efaf195c6822000030"},"transactionId":20,"transactionTypeId":2,"transactionStatusId":2,"transactionCurrencyId":1,"transactionAmount":"10.00","created_at":1457956079,"updated_at":1457956079},{"_id":{"$id":"56e6a51baf195c6822000032"},"transactionId":21,"transactionTypeId":2,"transactionStatusId":2,"transactionCurrencyId":1,"transactionAmount":"10.00","created_at":1457956123,"updated_at":1457956123},{"_id":{"$id":"56e6a659af195c6822000034"},"transactionId":22,"transactionTypeId":2,"transactionStatusId":2,"transactionCurrencyId":1,"transactionAmount":"10.00","created_at":1457956441,"updated_at":1457956441},{"_id":{"$id":"56e6a96baf195c6822000036"},"transactionId":23,"transactionTypeId":2,"transactionStatusId":1,"transactionCurrencyId":1,"transactionAmount":"10.00","created_at":1457957227,"updated_at":1457957344}]}]}
https://nine.epaisa.com/payment/process

Available Actions

  • To process a transaction on generated payment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    param3 Yes{{ needs a fix }}
    param4 Yes{{ needs a fix }}
    param5 Yes{{ needs a fix }}
    param6 {{ needs a fix }}
    param7 {{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/process");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/process", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/process")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    Array
https://nine.epaisa.com/payment/update

Available Actions

  • To process a transaction on generated payment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    param3 Yes{{ needs a fix }}
    param4 Yes{{ needs a fix }}
    param5 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/update");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/update", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/update")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
https://nine.epaisa.com/payment/void

Available Actions

  • to void the payment and void all transactions

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/payment/void");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/payment/void", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/payment/void")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/receipt

Available Actions

  • To send receipt of payment via sms or email.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • To view receipt of payment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/receipt");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/receipt", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/receipt")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/receipt?param1=%param1%¶m2=%param2%¶m3=%param3%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/receipt?param1=%param1%¶m2=%param2%¶m3=%param3%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/receipt?param1=%param1%¶m2=%param2%¶m3=%param3%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
    }
https://nine.epaisa.com/reports/categories
Reports endpoit provide you whole the functionality you need to work with reports apis.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/reports/categories?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/reports/categories?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/reports/categories?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "Categories": {
          "Food": {
            "quantity": 1,
            "sales": 580.99
          },
          "Uncategorized": {
            "quantity": 3,
            "sales": 3000
          },
          "Mensware": {
            "quantity": 3,
            "sales": 3000
          }
        }
      }
    }
https://nine.epaisa.com/reports/compare
Reports endpoit provide you whole the functionality you need to work with reports apis.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/reports/compare?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/reports/compare?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/reports/compare?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
        "success": 1,
        "response": {
            "first": {
                "fromDate": "February 1, 2017, 12:00 am",
                "toDate": "February 28, 2017, 11:59 pm",
                "sales": 579980.08,
                "numberOfSales": 38,
                "averageSale": 15287.85,
                "gross": 580938.33,
                "netSales": 579777.18,
                "refund": 0,
                "tax": 203.638,
                "discount": 1161.15,
                "total": 579980.82
            },
            "second": {
                "fromDate": "March 1, 2017, 12:00 am",
                "toDate": "March 31, 2017, 11:59 pm",
                "sales": 23533.7,
                "numberOfSales": 70,
                "averageSale": 409.53,
                "gross": 28667.23,
                "netSales": 23982.57,
                "refund": 0,
                "tax": 1039.0503626104,
                "discount": 4684.66,
                "total": 25021.62
            }
        }
    }
https://nine.epaisa.com/reports/items
Reports endpoit provide you whole the functionality you need to work with reports apis.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/reports/items?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/reports/items?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/reports/items?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
        "Items": {
          "customItems": [
            {
              "id": "",
              "name": "Item 1",
              "quantity": 1,
              "sales": 11.25
            },
            {
              "id": "",
              "name": "Item 1",
              "quantity": 1,
              "sales": 64.405
            },
            {
              "id": "",
              "name": "Item 1",
              "quantity": 1,
              "sales": 220
            },
            {
              "id": "",
              "name": "Item 2",
              "quantity": 1,
              "sales": 5.88
            }
          ],
          "products": [
            {
              "id": "57cead0bcfcdbc4ff8488e3c",
              "name": "bshsj",
              "quantity": 1,
              "sales": 2180
            },
            {
              "id": "57dbdbbacfcdbc78050d974d",
              "name": "burger",
              "quantity": 1,
              "sales": 300
            },
            {
              "id": "57d01b8dcfcdbc3f4d779288",
              "name": "kids wear",
              "quantity": 3,
              "sales": 3000
            }
          ]
        }
      }
    }
https://nine.epaisa.com/reports/summary
Reports endpoit provide you whole the functionality you need to work with reports apis.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/reports/summary?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/reports/summary?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/reports/summary?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
          "Summary": {
              "fromDate": "February 13, 2017, 12:00 am",
              "toDate": "February 13, 2017, 11:59 pm",
              "sales": 0,
              "numberOfSales": 0,
              "averageSale": 0,
              "gross": 0,
              "hours": {
                  "12 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "1 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "2 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "3 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "4 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "5 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "6 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "7 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "8 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "9 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "10 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "11 AM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "12 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "1 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "2 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "3 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "4 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "5 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "6 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "7 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "8 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "9 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "10 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  },
                  "11 PM": {
                      "numberOfSales": 0,
                      "averageSale": 0,
                      "sales": 0,
                      "gross": 0
                  }
              }
          }
      }
    }
https://nine.epaisa.com/salon/appointment
Appointment endpoit provide you whole the functionality you need to work with appointment apis.

Available Actions

  • To fetch a list of clients. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • To create a new appointment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • To edit an appointment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • To delete an appointment.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/appointment?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/salon/appointment?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/appointment?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/appointment");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/appointment", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/appointment")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/appointment");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/salon/appointment", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/appointment")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/appointment");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/appointment", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/appointment")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/appointment/status
Appointment status endpoit provide you create/edit/delete the functionality you need to work with appointment status apis.

Available Actions

  • To create a new appointment status.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit an appointment status.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a room.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/appointment/status");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/appointment/status", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/appointment/status")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/appointment/status");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/salon/appointment/status", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/appointment/status")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/appointment/status");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/appointment/status", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/appointment/status")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/barber
Barber endpoit provide you whole the functionality you need to work with barber apis.

Available Actions

  • To fetch a list of barbers. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible rooms will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new barber.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a barber.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a barber.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/salon/barber?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/barber", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/salon/barber", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/barber", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/barber/file
Service endpoit provide you whole the functionality you need to work with service apis.

Available Actions

  • To fetch image content.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber/file?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/salon/barber/file?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber/file?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
       "success": 1,
       "response": {
           "filename": "v2\/salonapp\/services\/459__20170209061447.png",
           "data": "iVBORw0KGgoAAAANSUhEUgAAADQAAABQCAIAAADZf8HwAAAAA3NCSVQICAjb4U\/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO\/PgAAAGtJREFUaIHtzjEBwCAAwDBA2R4M4F\/MHOzow45EQeazz\/irdTvwRa6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+SqF7wIAXd1UjysAAAAAElFTkSuQmCC"
       }
     }
https://nine.epaisa.com/salon/barber/notification
Barber notification endpoit provide the functionality to send notification for a reception.

Available Actions

  • To send a notification to a reception.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber/notification");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/barber/notification", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber/notification")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
       "success": 1,
       "response": []
     }
https://nine.epaisa.com/salon/barber/service
Barber Service endpoit provide you whole the functionality you need to work with barber service apis.

Available Actions

  • To create a new barber service row.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a barber service.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a doctor.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/barber/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/salon/barber/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/barber/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/barber/working-hours
Barber Working Hour endpoit provide you whole the functionality you need.

Available Actions

  • To create and edit a barber working hour row.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a doctor working hour.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber/working-hours");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/barber/working-hours", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber/working-hours")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/barber/working-hours");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/barber/working-hours", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/barber/working-hours")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/client
Patients endpoit provide you whole the functionality you need to work with client apis.

Available Actions

  • To fetch a list of clients. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new client.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a client.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a client.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/client?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/salon/client?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/client?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/client");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/client", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/client")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/client");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/salon/client", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/client")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/client");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/client", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/client")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/client/message
Patients message endpoit provide you whole the functionality you need to work with client message apis.

Available Actions

  • To send a message to a client.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/client/message");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/client/message", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/client/message")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/department
Departments endpoit provide you whole the functionality you need to work with department apis.

Available Actions

  • To fetch a list of departments. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible departments will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new department.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a department.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a department.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/department?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/salon/department?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/department?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/department");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/department", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/department")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/department");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/salon/department", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/department")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/department");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/department", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/department")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/room
Rooms endpoit provide you whole the functionality you need to work with room apis.

Available Actions

  • To fetch a list of rooms. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible rooms will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new room.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a room.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a room.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/room?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/salon/room?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/room?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/room");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/room", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/room")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/room");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/salon/room", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/room")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/room");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/room", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/room")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/service
Service endpoit provide you whole the functionality you need to work with service apis.

Available Actions

  • To fetch a list of services. you can set limit and offset default values are 100 and 0 accordingly. therefore if you send your request with none of the above parameters a list of first 100 avalible products will returned.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To create a new service.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To edit a service.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a service.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/service?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/salon/service?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/service?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/salon/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/salon/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/service");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/salon/service", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/service")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/salon/service/file
Service endpoit provide you whole the functionality you need to work with service apis.

Available Actions

  • To fetch image content.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/salon/service/file?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/salon/service/file?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/salon/service/file?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
       "success": 1,
       "response": {
           "filename": "v2\/salonapp\/services\/459__20170209061447.png",
           "data": "iVBORw0KGgoAAAANSUhEUgAAADQAAABQCAIAAADZf8HwAAAAA3NCSVQICAjb4U\/gAAAAGXRFWHRTb2Z0d2FyZQBnbm9tZS1zY3JlZW5zaG907wO\/PgAAAGtJREFUaIHtzjEBwCAAwDBA2R4M4F\/MHOzow45EQeazz\/irdTvwRa6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+QquUqukqvkKrlKrpKr5Cq5Sq6Sq+SqF7wIAXd1UjysAAAAAElFTkSuQmCC"
       }
     }
https://nine.epaisa.com/setting

Available Actions

  • for getting merchant & user settings data

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
  • for updating merchant & user settings

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/setting?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/setting?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/setting?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/setting");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/setting", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/setting")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/state/index

Available Actions

  • for fetching the State list on the basis of country ID.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/state/index");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/state/index", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/state/index")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":{"States":[{"stateId":1,"countryId":101,"stateCode":"131","stateName":"Uttar Pradesh","createdUserId":1,"created_at":1,"updatedUserId":1,"updated_at":1,"status":1}]}}
https://nine.epaisa.com/store
/store to list all credited amount to merchant.

Available Actions

  • to list all credited amount to merchant.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • This api will add new store

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • This api will edit a store

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • This api will delete a customer details in customerDetail table

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/store?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/store", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/store", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/store", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      success: 1,
      response: []
    }
https://nine.epaisa.com/store/details

Available Actions

  • This api will add new store details

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2Yes{{ needs a fix }}Example:{ "storeLocationId": 123, "storeLocationDetailId": 54 }
  • This api will edit a store details

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2Yes{{ needs a fix }}Example:{ "storeLocationId": 123, "storeLocationDetailId": 54 }
  • This api will delete a customer details in customerDetail table

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2Yes{{ needs a fix }}Example:{ "storeLocationId": 123, "storeLocationDetailId": 54 }

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store/details");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/store/details", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store/details")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store/details");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/store/details", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store/details")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store/details");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/store/details", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store/details")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      success: 1,
      response: []
    }
https://nine.epaisa.com/store/working-hours
Store Working Hour endpoit provide you whole the functionality you need.

Available Actions

  • To create and edit a store working hour row.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
  • To delete a store working hour.

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store/working-hours");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/store/working-hours", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store/working-hours")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/store/working-hours");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/store/working-hours", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/store/working-hours")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": []
    }
https://nine.epaisa.com/tax

Available Actions

  • to list of taxes created by the merchant

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • to create a new taxes

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • to update a new taxes

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • to delete tax

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/tax?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/tax?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/tax?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/tax");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/tax", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/tax")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/tax");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/tax", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/tax")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/tax");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/tax", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/tax")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/ticket

Available Actions

  • to create a new ticket

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/ticket");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/ticket", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/ticket")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success":1,
      "message":"Ticket added successfully"
    }
https://nine.epaisa.com/user/acceptinvitation
endpoint to call when user accepts an invitation. This endpoint can be called with get parameters from a link.

Available Actions

  • endpoint to call when user accepts an invitation. This endpoint can be called with get parameters from a link.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
  • endpoint to call when user accepts an invitation. Post version can be called by a client app.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/acceptinvitation?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/user/acceptinvitation?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/acceptinvitation?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/acceptinvitation");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/acceptinvitation", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/acceptinvitation")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/changepassword
To change user's password

Available Actions

  • To change user's password

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/changepassword");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/user/changepassword", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/changepassword")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/check
Api call for checking if user exists with given details

Available Actions

  • Api call for checking if user exists with given details

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/check");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/check", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/check")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":{"username":{"exists":true,"message":"There is already a user with given details."},"mobile":{"exists":false,"message":"There is no user found with given details."}}}
https://nine.epaisa.com/user/coldlogin
for generating new token

Available Actions

  • for generating new token

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/coldlogin");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/coldlogin", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/coldlogin")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/devices

Available Actions

  • to list all devices of merchant.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/devices?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/user/devices?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/devices?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/doc
to list all documents of merchant.

Available Actions

  • to list all documents of merchant.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • to upload kyc documents

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/doc?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/user/doc?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/doc?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/doc");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/doc", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/doc")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/docread
to read actual document data in base64 format

Available Actions

  • to read actual document data in base64 format

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/docread?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/user/docread?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/docread?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/forgotpassword
To generate and send a new password to the user.

Available Actions

  • To generate and send a new password to the user.

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/forgotpassword");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/forgotpassword", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/forgotpassword")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/invite
To invite other users to join to a merchant.

Available Actions

  • To invite other users to join to a merchant.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    body {{ needs a fix }}
    application/json {{ needs a fix }}Example:[ { "userFirstName":"vinit.choudhari@epaisa.com", "userLastName":"vinit", "email":"choudhari", "roleId":{ "roleId":1, "merchantId":"0", "roleName":"Super Admin" } }, { "userFirstName":"sagar", "userLastName":"choudhari", "email":"vinit.epaisa@gmail.com", "roleId":{ "roleId":4, "merchantId":"0", "roleName":"Merchant User" } } ],

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/invite");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/invite", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/invite")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    [{"success":1,"response":{"username":"vinit.choudhari@epaisa.com","userFirstName":"vinit","userLastName":"choudhari","roleId":4,"storeLocationId":0,"merchantId":466,"status":0,"password_hash":"$2y$13$hFseT8nuJEHiBiZHgWATt.cLtoEJzmv/dTk08pJ7Q4UbWmbbOe1eK","created_at":1470318976,"updated_at":1470318976,"id":547,"auth_key":"BAB5mi-fklFM7D05VK7Ja6NslPHGqn9-kq6N0yZ1hWXY_HEuf40ZCqD5vOUjf9su","auth_key_creationtime":1470318976}},{"success":1,"response":{"username":"vinit.epaisa@gmail.com","userFirstName":"sagar","userLastName":"choudhari","roleId":4,"storeLocationId":0,"merchantId":466,"status":0,"password_hash":"$2y$13$0PbfkYuUpOdtQWCOORkvZedBxyzB2X7RSN8iXMUPzx4AX33DVXhAy","created_at":1470318978,"updated_at":1470318978,"id":548,"auth_key":"tQV36sdcArps701IYc5ehMg89t5cXoMQ4L-U9xRo3CIQr4XqpOh-tOmTh1Y3Pr7W","auth_key_creationtime":1470318978}}]
https://nine.epaisa.com/user/login
logging in user

Available Actions

  • logging in user

    Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3stringYes{{ needs a fix }}
    param4stringYes{{ needs a fix }}
    param5stringYes{{ needs a fix }}
    param6integer{{ needs a fix }}
    param7string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/login");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/login", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/login")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,
    "response":{"id":16,"userRoleId":0,"username":"ty@ty.com","merchantId":14,"auth_key":"jB2VMdsfsdfslWOA1GBelLDFsxi4jfmPHGxyrb","auth_key_creationtime":1455890591,"password_hash":"$2y$13$JxMasFFwcN0WLz12VO./SeFADvasXxxVIEQuocWlM7BzX3QvQabuW","userMobileNumber":"1234567890","userFirstName":"ttt","userMiddleName":"hhh","userLastName":"high","userLogo":"","CityId":0,"StateId":0,"PINCode":"23652","CountryCode":"IN","userAddress1":"thhh","userAddress2":"yyklk##","userIMEI":"DpndIb","userPANNumber":"566416666","userAppVersion":"0.00","dateOfBirth":"17.03.2016","created_at":1455712023,"updated_at":1455890591}}
https://nine.epaisa.com/user/passwordupdate

Available Actions

  • Update password when its expire

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/passwordupdate");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/passwordupdate", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/passwordupdate")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/permission

Available Actions

  • to list all permissions available to merchant.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    param3 Yes{{ needs a fix }}
    param4 Yes{{ needs a fix }}
  • to assign a permission to given custom role

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    param3 Yes{{ needs a fix }}
    param4 Yes{{ needs a fix }}
  • to update permission value of a custom role

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    param3 Yes{{ needs a fix }}
    param4 Yes{{ needs a fix }}
  • to soft delete a permission of custom role

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
    param3 Yes{{ needs a fix }}
    param4 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/permission?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/user/permission?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/permission?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/permission");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/permission", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/permission")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/permission");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/user/permission", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/permission")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/permission");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/user/permission", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/permission")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/profile
To update user and merchant data

Available Actions

  • To update user and merchant data

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/profile");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/user/profile", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/profile")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/regeneratetoken

Available Actions

  • Api call for generating a new token

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/regeneratetoken?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/user/regeneratetoken?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/regeneratetoken?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {"success":1,"response":{"id":463,"roleId":3,"userRole":"Merchant Admin (Approved)","username":"hk@eigital.com","merchantId":480,"storeLocationId":0,"auth_key":"Hbvh59Dco6C3VF_mxzHhdq7doEiDD5lV9tIbTsVSXJFehy6GEWjgcE6vLW2toojj","auth_key_creationtime":1471959822,"userMobileNumber":"+485104397460","userFirstName":"Galileo","userMiddleName":"","userLastName":"Kabaca ","userImage":"","cityId":0,"stateId":0,"pincode":"122333333333","countryCode":"IN","userAddress1":"Test","userAddress2":"Test2","userIMEI":"le8fKp","userPanNumber":"","userAppVersion":"0.00","dateOfBirth":"26.04.1984","status":1,"created_at":1467616820,"updated_at":1471602941}}
https://nine.epaisa.com/user/register
Api call for registering a new user

Available Actions

  • Api call for registering a new user

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/register");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/register", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/register")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/user/role
to list custom roles created by the merchant

Available Actions

  • to list custom roles created by the merchant

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • to create a new custom role to be used by the merchant. This custom role will only be visible to merchant will not be public.

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • to update a custom role

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}
  • to soft delete a given custom role

    Query Parameters

    ParameterTypeRequiredDescription
    param1 Yes{{ needs a fix }}
    param2 Yes{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/role?param1=%param1%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/user/role?param1=%param1%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/role?param1=%param1%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/role");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/user/role", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/role")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/role");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/user/role", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/role")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/user/role");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/user/role", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/user/role")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/vas
Reports endpoit provide you whole the functionality you need to work with vas apis.

Available Actions

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": [
          {
              "vasId": 18,
              "parentId": 5,
              "name": "Money Transfer",
              "className": "app\\components\\vas\\MoneyTransfer",
              "status": 1,
              "created_at": 0,
              "updated_at": 0,
              "createdUserId": 0,
              "updatedUserId": 0,
              "operators": [
                  {
                      "vasOperatorId": 1,
                      "vasId": 18,
                      "name": "Eko",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0
                  }
              ],
              "providers": [
                  {
                      "vasProviderId": 1,
                      "vasId": 18,
                      "providerId": 8,
                      "className": "app\\components\\vas\\providers\\moneyTransfer\\Eko",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0
                  }
              ]
          }
      ]
    } |
    {
      "success": 1,
      "response": [
          {
              "vasId": 1,
              "parentId": null,
              "name": "Ticket Booking",
              "className": null,
              "status": 1,
              "created_at": 0,
              "updated_at": 0,
              "createdUserId": 0,
              "updatedUserId": 0,
              "operators": [],
              "providers": [],
              "subCategory": [
                  {
                      "vasId": 7,
                      "parentId": 1,
                      "name": "Air Ticket Booking",
                      "className": "app\\components\\vas\\AirTicketBooking",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  },
                  {
                      "vasId": 8,
                      "parentId": 1,
                      "name": "Rail Ticket Booking",
                      "className": "app\\components\\vas\\RailTicketBooking",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  },
                  {
                      "vasId": 20,
                      "parentId": 1,
                      "name": "Bus Ticket Booking",
                      "className": "app\\components\\vas\\BusTicketBooking",
                      "status": 1,
                      "created_at": 1486473909,
                      "updated_at": 1486473909,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [
                          {
                              "vasOperatorId": 2,
                              "vasId": 20,
                              "name": "SeatSeller",
                              "status": 1,
                              "created_at": 1486474312,
                              "updated_at": 1486474312,
                              "createdUserId": 0,
                              "updatedUserId": 0
                          }
                      ],
                      "providers": [
                          {
                              "vasProviderId": 2,
                              "vasId": 20,
                              "providerId": 9,
                              "className": "app\\components\\vas\\providers\\ticketBooking\\SeatSeller",
                              "status": 1,
                              "created_at": 1486473912,
                              "updated_at": 1486473912,
                              "createdUserId": 0,
                              "updatedUserId": 0
                          }
                      ]
                  }
              ]
          },
          {
              "vasId": 2,
              "parentId": null,
              "name": "Bill Payment",
              "className": null,
              "status": 1,
              "created_at": 0,
              "updated_at": 0,
              "createdUserId": 0,
              "updatedUserId": 0,
              "operators": [],
              "providers": [],
              "subCategory": [
                  {
                      "vasId": 9,
                      "parentId": 2,
                      "name": "Mobile Bill Payment",
                      "className": "app\\components\\vas\\MobileBillPayment",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  },
                  {
                      "vasId": 10,
                      "parentId": 2,
                      "name": "Electricity Bill Payment",
                      "className": "app\\components\\vas\\ElectricityBillPayment",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  },
                  {
                      "vasId": 11,
                      "parentId": 2,
                      "name": "Gas Bill Payment",
                      "className": "app\\components\\vas\\GasBillPayment",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  }
              ]
          },
          {
              "vasId": 3,
              "parentId": null,
              "name": "Recharge",
              "className": null,
              "status": 1,
              "created_at": 0,
              "updated_at": 0,
              "createdUserId": 0,
              "updatedUserId": 0,
              "operators": [],
              "providers": [],
              "subCategory": [
                  {
                      "vasId": 12,
                      "parentId": 3,
                      "name": "Mobile Recharge",
                      "className": "app\\components\\vas\\MobileRecharge",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  },
                  {
                      "vasId": 13,
                      "parentId": 3,
                      "name": "Datacard Recharge",
                      "className": "app\\components\\vas\\DataCardRecharge",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  },
                  {
                      "vasId": 14,
                      "parentId": 3,
                      "name": "DTH Recharge",
                      "className": "app\\components\\vas\\DthRecharge",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  },
                  {
                      "vasId": 15,
                      "parentId": 3,
                      "name": "Broadband Recharge",
                      "className": "app\\components\\vas\\BroadbandRecharge",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  },
                  {
                      "vasId": 16,
                      "parentId": 3,
                      "name": "International Recharge",
                      "className": "app\\components\\vas\\InternationalRecharge",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  }
              ]
          },
          {
              "vasId": 4,
              "parentId": null,
              "name": "Gift Card",
              "className": null,
              "status": 1,
              "created_at": 0,
              "updated_at": 0,
              "createdUserId": 0,
              "updatedUserId": 0,
              "operators": [],
              "providers": [],
              "subCategory": [
                  {
                      "vasId": 17,
                      "parentId": 4,
                      "name": "Gift Card",
                      "className": "app\\components\\vas\\GiftCard",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [],
                      "providers": []
                  }
              ]
          },
          {
              "vasId": 5,
              "parentId": null,
              "name": "Money Transfer",
              "className": null,
              "status": 1,
              "created_at": 0,
              "updated_at": 0,
              "createdUserId": 0,
              "updatedUserId": 0,
              "operators": [],
              "providers": [],
              "subCategory": [
                  {
                      "vasId": 18,
                      "parentId": 5,
                      "name": "Money Transfer",
                      "className": "app\\components\\vas\\MoneyTransfer",
                      "status": 1,
                      "created_at": 0,
                      "updated_at": 0,
                      "createdUserId": 0,
                      "updatedUserId": 0,
                      "operators": [
                          {
                              "vasOperatorId": 1,
                              "vasId": 18,
                              "name": "Eko",
                              "status": 1,
                              "created_at": 0,
                              "updated_at": 0,
                              "createdUserId": 0,
                              "updatedUserId": 0
                          }
                      ],
                      "providers": [
                          {
                              "vasProviderId": 1,
                              "vasId": 18,
                              "providerId": 8,
                              "className": "app\\components\\vas\\providers\\moneyTransfer\\Eko",
                              "status": 1,
                              "created_at": 0,
                              "updated_at": 0,
                              "createdUserId": 0,
                              "updatedUserId": 0
                          }
                      ]
                  }
              ]
          }
      ]
    }
https://nine.epaisa.com/vas/giftcards/buy
buy gift cards

Available Actions

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/giftcards/buy");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/vas/giftcards/buy", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/giftcards/buy")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

https://nine.epaisa.com/vas/giftcards/list
to get a list available gift cards

Available Actions

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/giftcards/list?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/giftcards/list?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/giftcards/list?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

https://nine.epaisa.com/vas/money-transfer/bank
list of available banks.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/bank?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/money-transfer/bank?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/bank?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": [
        {
            "name": "Axis Bank",
            "code": "UTIB",
            "imps": 1,
            "neft": 1,
            "accValidationFeature": 1
        },
        {
            "name": "State Bank of Mauritius Ltd",
            "code": "STCB",
            "imps": 0,
            "neft": 1,
            "accValidationFeature": 0
        },
        {
            "name": "State Bank of Mysore",
            "code": "SBMY",
            "imps": 1,
            "neft": 1,
            "accValidationFeature": 1
        },
        {
            "name": "State Bank of Travancore",
            "code": "SBTR",
            "imps": 1,
            "neft": 1,
            "accValidationFeature": 1
        },
        {
            "name": "State Bank of Patiala",
            "code": "STBP",
            "imps": 1,
            "neft": 1,
            "accValidationFeature": 1
        },
        {
            "name": "Syndicate Bank",
            "code": "SYNB",
            "imps": 1,
            "neft": 1,
            "accValidationFeature": 0
        },
        {
            "name": "Tamilnad Mercantile Bank Ltd",
            "code": "TMBL",
            "imps": 1,
            "neft": 1,
            "accValidationFeature": 1
        },
        {
            "name": "The Bank of Nova Scotia",
            "code": "NOSC",
            "imps": 0,
            "neft": 1,
            "accValidationFeature": 0
        },
        {
            "name": "The Ahmedabad Mercantile Co-Operative Bank Ltd",
            "code": "AMCB",
            "imps": 0,
            "neft": 1,
            "accValidationFeature": 0
        },
        {
            "name": "Raipur Urban Mercantile Co-operative Bank Ltd",
            "code": "HDRU",
            "imps": 1,
            "neft": 1,
            "accValidationFeature": 1
        }
      ]
    }
https://nine.epaisa.com/vas/money-transfer/bank/info
to bank details information.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/bank/info?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/money-transfer/bank/info?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/bank/info?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
        "success": 1,
        "response": {
            "branch": "KOLKATA MAIN",
            "bank": "STATE BANK OF INDIA",
            "ifsc": "SBIN0000001"
        }
    }
https://nine.epaisa.com/vas/money-transfer/customer
Reports endpoit provide you whole the functionality you need to work with vas money transfer apis for customers operation.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/customer?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/money-transfer/customer?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/customer?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/customer");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/vas/money-transfer/customer", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/customer")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response":
      {
        "customerId":"9393023386"
      }
    }
https://nine.epaisa.com/vas/money-transfer/customer/otp
Resend otp to the customer.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/customer/otp");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/vas/money-transfer/customer/otp", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/customer/otp")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response":
      {}
    }
https://nine.epaisa.com/vas/money-transfer/customer/recipient
add new recipient.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/customer/recipient?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/money-transfer/customer/recipient?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/customer/recipient?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/customer/recipient");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/vas/money-transfer/customer/recipient", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/customer/recipient")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/customer/recipient");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "delete")
      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("DELETE", "https://nine.epaisa.com/vas/money-transfer/customer/recipient", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/customer/recipient")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Delete.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": "Recipient has been deleted successfully.
    }
https://nine.epaisa.com/vas/money-transfer/customer/recipient/account-info
to verify and see if the recipient bank account is correct or not.

Available Actions

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/customer/recipient/account-info?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/money-transfer/customer/recipient/account-info?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/customer/recipient/account-info?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
        "success": 1,
        "response": {
            "fee": "0.00",
            "amount": "0.00",
            "is_Ifsc_required": "0",
            "is_name_editable": "0",
            "verification_failure_refund": "",
            "account": "61046336411",
            "bank": "STATE BANK OF INDIA",
            "tid": "12570560",
            "aadhar": "",
            "recipient_name": "NirmalMaheshwari",
            "ifsc": "sbin0000001"
        }
    }
https://nine.epaisa.com/vas/money-transfer/customer/verify
verify the customer.

Available Actions

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/customer/verify");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/vas/money-transfer/customer/verify", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/customer/verify")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response":
      {}
    }
https://nine.epaisa.com/vas/money-transfer/send-money
send money to a recipient.

Available Actions

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/money-transfer/send-money");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/vas/money-transfer/send-money", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/money-transfer/send-money")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
        "success": 1,
        "response": {
            "recipientId": 10012088,
            "isSelfAccount": 0,
            "recipientMobile": "9393023386"
        }
    }
https://nine.epaisa.com/vas/recharge/cellphone
Returns relevant information on a MSISDN (operator, country...) as well as the list of products configured for your account and the destination operator linked to that MSISDN. Allows to check if a MSISDN is subjected to a promotion.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/recharge/cellphone?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/recharge/cellphone?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/recharge/cellphone?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/recharge/cellphone");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/vas/recharge/cellphone", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/recharge/cellphone")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response":
      {
        "customerId":"9393023386"
      }
    }
https://nine.epaisa.com/vas/recharge/send-money
send money to a recipient.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/recharge/send-money");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/vas/recharge/send-money", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/recharge/send-money")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
        "success": 1,
        "response": {
            "recipientId": 10012088,
            "isSelfAccount": 0,
            "recipientMobile": "9393023386"
        }
    }
https://nine.epaisa.com/vas/ticket-booking/bus/locations
to get a list of source and destination cities you can use this api.

Available Actions

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/ticket-booking/bus/locations?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/ticket-booking/bus/locations?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/ticket-booking/bus/locations?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
          "cities": [
              {
                  "id": "1367",
                  "name": "Ludhiana"
              },
              {
                  "id": "5209",
                  "name": "Katra "
              },
              {
                  "id": "2543",
                  "name": "Gurgaon"
              },
              {
                  "id": "1492",
                  "name": "Delhi"
              },
              {
                  "id": "1984",
                  "name": "International Airport Taxi on Hire Delhi"
              }
          ]
      }
    }
https://nine.epaisa.com/vas/ticket-booking/bus/ticket
Reports endpoit provide you whole the functionality you need to work with vas bus ticket booking apis.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}
  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/ticket-booking/bus/ticket?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/ticket-booking/bus/ticket?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/ticket-booking/bus/ticket?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/ticket-booking/bus/ticket");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "post")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("POST", "https://nine.epaisa.com/vas/ticket-booking/bus/ticket", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/ticket-booking/bus/ticket")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Post.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/ticket-booking/bus/ticket");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "put")
      $body = '';
      curl_setopt($ch, CURLOPT_POSTFIELDS, $body);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("PUT", "https://nine.epaisa.com/vas/ticket-booking/bus/ticket", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      var data = "# body is your JSON/ XML/ Text/ Form Query/ etc"
      xmlHttp.send(data);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/ticket-booking/bus/ticket")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Put.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      # body is your JSON/ XML/ Text/ Form Query/ etc
      request.set_form_data(body)

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": [
    
      ]
    }
https://nine.epaisa.com/vas/ticket-booking/bus/ticket/cancel-information
Reports endpoit provide you whole the functionality you need to work with vas bus ticket booking apis.

Available Actions

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/ticket-booking/bus/ticket/cancel-information?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/ticket-booking/bus/ticket/cancel-information?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/ticket-booking/bus/ticket/cancel-information?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": [
          {
    
          }
      ]
    } |
    {
      "success": 1,
      "response": [
    
      ]
    }
https://nine.epaisa.com/vas/ticket-booking/bus/trip
Reports endpoit provide you whole the functionality you need to work with vas bus ticket booking apis.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/ticket-booking/bus/trip?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/ticket-booking/bus/trip?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/ticket-booking/bus/trip?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
          "seats": [
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "0",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "1",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "0",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "2",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "0",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "3",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "0",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "4",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "1",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "5",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "1",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "6",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "1",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "7",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "1",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "8",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "2",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "9",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "2",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "10",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "2",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "11",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "2",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "12",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "3",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "13",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "3",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "14",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "3",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "15",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "3",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "16",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "4",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "17",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "4",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "18",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "4",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "19",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "4",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "20",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "5",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "21",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "5",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "22",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "5",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "23",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "false",
                  "baseFare": "775.00",
                  "column": "5",
                  "fare": "775.00",
                  "ladiesSeat": "true",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "24",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "6",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "25",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "6",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "26",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "6",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "27",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "6",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "28",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "7",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "29",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "7",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "30",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "7",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "31",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "7",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "32",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "8",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "33",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "8",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "34",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "8",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "35",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "8",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "36",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "9",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "37",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "9",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "38",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "9",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "39",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "9",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "40",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "10",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "41",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "10",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "42",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "10",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "43",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "10",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "44",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "11",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "45",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "11",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "46",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "1",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "11",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "47",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "2",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "11",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "48",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "3",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              },
              {
                  "available": "true",
                  "baseFare": "775.00",
                  "column": "11",
                  "fare": "775.00",
                  "ladiesSeat": "false",
                  "length": "1",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "name": "49",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercent": "0",
                  "row": "4",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "width": "1",
                  "zIndex": "0"
              }
          ]
      }
    }
https://nine.epaisa.com/vas/ticket-booking/bus/trips
Reports endpoit provide you whole the functionality you need to work with vas bus ticket booking apis.

Available Actions

  • Query Parameters

    ParameterTypeRequiredDescription
    param1stringYes{{ needs a fix }}
    param2stringYes{{ needs a fix }}
    param3string{{ needs a fix }}

Code Samples

    • $ch = curl_init();
      curl_setopt($ch, CURLOPT_URL, "https://nine.epaisa.com/vas/ticket-booking/bus/trips?param1=%param1%¶m2=%param2%");
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
      curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);

      // Make sure you set the nessary headers as a $headers array
      curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

      $response = curl_exec($ch);
      $status = curl_getinfo($ch, CURLINFO_HTTP_CODE);
      curl_close($ch);
    • var xmlHttp = new XMLHttpRequest();
      xmlHttp.open("GET", "https://nine.epaisa.com/vas/ticket-booking/bus/trips?param1=%param1%¶m2=%param2%", false);

      // Make sure you set the appropriate headers
      xmlHttp.setRequestHeader("Header Key", "Header Value");

      xmlHttp.send(null);

      var response = xmlHttp.responseText;
    • uri = URI.parse("https://nine.epaisa.com/vas/ticket-booking/bus/trips?param1=%param1%¶m2=%param2%")
      http = Net::HTTP.new(uri.host, uri.port)
      request = Net::HTTP::Get.new(uri.request_uri)

      # Make sure you set the appropriate headers
      request["header"] = "header value"

      response = http.request(request)
  • Response

    200: application/json
    {
      "success": 1,
      "response": {
          "availableTrips": {
              "AC": "true",
              "arrivalTime": "1800",
              "availableSeats": "39",
              "boardingTimes": {
                  "address": "G T ROAD 9872364786",
                  "bpId": "60572",
                  "bpName": "Phillaur",
                  "contactNumber": "9872364786,9417103274",
                  "landmark": "G T ROAD PHILLAUR 9872364786",
                  "location": "Phillaur",
                  "prime": "true",
                  "time": "1438"
              },
              "busType": "Volvo Multiaxle A\/C Seater Semi Sleeper (2+2)",
              "busTypeId": "101",
              "cancellationPolicy": "0:-1:100:0;",
              "cpId": "1142",
              "departureTime": "1438",
              "destination": "1492",
              "doj": "2017-02-09T00:00:00+05:30",
              "droppingTimes": [
                  {
                      "bpId": "26100",
                      "bpName": "Karnal Bypass,Delhi",
                      "location": "Karnal Bypass,Delhi",
                      "prime": "false",
                      "time": "1780"
                  },
                  {
                      "bpId": "60597",
                      "bpName": "Red Fort",
                      "location": "Red Fort",
                      "prime": "true",
                      "time": "1800"
                  }
              ],
              "fareDetails": {
                  "baseFare": "775.00",
                  "markupFareAbsolute": "0",
                  "markupFarePercentage": "0",
                  "operatorServiceChargeAbsolute": "0.00",
                  "operatorServiceChargePercentage": "0",
                  "serviceTaxAbsolute": "0.00",
                  "serviceTaxPercentage": "0",
                  "totalFare": "775.00"
              },
              "fares": "775.00",
              "id": "2000798622310001643",
              "idProofRequired": "false",
              "liveTrackingAvailable": "false",
              "nonAC": "false",
              "operator": "6353",
              "partialCancellationAllowed": "true",
              "reschedulingPolicy": {
                  "reschedulingCharge": "0",
                  "windowTime": "720"
              },
              "routeId": "2000798600000001643",
              "seater": "true",
              "sleeper": "false",
              "source": "2429",
              "tatkalTime": "0.00",
              "travels": "Golden Temple Volvo Bus Service",
              "vehicleType": "BUS",
              "zeroCancellationTime": "0.00",
              "mTicketEnabled": "true"
          }
      }
    }