reseller

is added when reseller has a customer specific business

Get Plan Details

Description

Use this method to get details of your plans.

Response

Returns the details of the plans of Cloud Hosting along with the plan details of other Products of the reseller. The response structure will be:


"cloudsites"
{
"plan-id(value)"
{
"plan details keys" => "plan details values"
}
}

Get Details

Description

Gets the details of an existing Cloud Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId for which the details are to be fetched.

HTTP Method

GET

Example Test URL Request

US Server

https://test.httpapi.com/api/cloudsites/linux/us/details.json?auth-userid=0&api-key=key&order-id=0

India Server

https://test.httpapi.com/api/cloudsites/linux/in/details.json?auth-userid=0&api-key=key&order-id=0

Response

Returns the details of an existing Cloud Hosting order.

Delete

Description

Deletes an existing Cloud Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId which is to be deleted.

HTTP Method

POST

Example Test URL Request

US Server

https://test.httpapi.com/api/cloudsites/linux/us/delete.json?auth-userid=0&api-key=key&order-id=0

India Server

https://test.httpapi.com/api/cloudsites/linux/in/delete.json?auth-userid=0&api-key=key&order-id=0

Response

Returns a map of the execution details of the delete operation.

Renew

Description

Renews an existing Cloud Hosting Order.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The OrderId which is to be renewed.
months Integer Required The number of months for which the Order is placed.
invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US Server

https://test.httpapi.com/api/cloudsites/linux/us/renew.json?auth-userid=0&api-key=key&order-id=0&months=12&invoice-option=KeepInvoice

India Server

https://test.httpapi.com/api/cloudsites/linux/in/renew.json?auth-userid=0&api-key=key&order-id=0&months=12&invoice-option=KeepInvoice

Response

Returns a map of the execution details of the Renew operation.

Add

Description

Places a Cloud Hosting Order for the specified domain name.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
domain-name String Required The domain name for which the Order is placed.
customer-id Integer Required The Customer under whom the Order should be added.
plan-id Integer Required The plan under which the Order should be added. To fetch the plan details i.e. plan-id etc., use this method.
months Integer Required The number of months for which the Order is placed.
invoice-option String Required This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd

HTTP Method

POST

Example Test URL Request

US Server

https://test.httpapi.com/api/cloudsites/linux/us/add.json?auth-userid=0&api-key=key&domain-name=domain.com&customer-id=0&plan-id=0&months=12&invoice-option=KeepInvoice

India Server

https://test.httpapi.com/api/cloudsites/linux/in/add.json?auth-userid=0&api-key=key&domain-name=domain.com&customer-id=0&plan-id=0&months=12&invoice-option=KeepInvoice

Response

Returns a map with the execution details of the Order addition.

Adding /Modifying a PayU Latin America Payment Gateway

Before you Start

You will need to sign up for a Merchant account at PayU Latin America and obtain the PayU AccountID, Merchant Identifier, API Key and API Login.

Adding a PayU Latin America Gateway in your Reseller Account

Step 1: Log in to your control panel. Learn how

Step 2: Navigate to the Add Payment Gateway page.

  • Click on Setting > Finance & Billing > Payment Gateway > List/Add

  • Click on Add a Gateway

Step 3: Select the PayU Latin America payment gateway.

Click on PayU Latin America

Step 4: Fill in the required details on the following page.

Your Merchant Details :

  • AccountID
  • Merchant Identifier
  • API Key
  • API Login

Your Gateway Settings :

  • Gateway Name: This name will be shown to your customers / sub-resellers, when they are about to make a payment. If you would like to be more specific, you can use something like Credit Card Payment or Visa/Mastercard, etc.
  • Collect Payments in: The currency you want to accept payments in.
    You can check the box for I would like to maintain the currency exchange rate myself if you wish to manually maintain the exchange rate.
  • Enable Gateway For: You can choose to enable the gateway for certain types of transactions only (like Adding Funds or Payments for Invoices/Debit Notes). Moreover, you can restrict the gateway for either Customers or Sub-Resellers, depending on your business model. You can choose from the following options:
    • Type of Transactions:
      • All Transactions: accept all types of transactions from your customers and sub-resellers.
      • Invoices/Debit Notes Only: allow only Invoice and Debit note payments.
      • Adding Funds only: allow your customers and sub-resellers to use this gateway to add funds only.
      • No Transactions: will disable the gateway for your customers and sub-resellers.
    • Enabled For:
      • All Customers/ All Resellers
      • Specific Customers/ Specific Resellers
      • Customers from certain countries/ Resellers from certain countries
    Note

    Transactions through the PayU Latin America payment gateway are subject to restriction based on the transaction amount. Listed below are the minimum and maximum permissible transaction amounts:

    Country Minimum Transaction Amount Maximum Transaction Amount
    Argentina ARS 42.00 ARS 21,441.00
    Brazil BRL 11.00 BRL 5,962.00
    Chile CLP 2,129.00 CLP 1,064,992.00
    Colombia COP 10,107.00 COP 5,053,500.00
    Mexico MXN 56.00 MXN 28,042.00
    Peru PEN 10.00 PEN 5,240.00

FAQs

Overview

VAT (Value Added Tax) is a tax on consumer spending within the territory of a European Union (EU) Member State. The European Union makes it mandatory for all its member countries to implement VAT as per the EU VAT code.


Listed below are some Frequently Asked Questions for EU VAT.

What are the rules for charging VAT?

When the seller is within the EU & the buyer (receiving business/end-consumer) is in:

  • Same country: VAT is to be charged at the local country's VAT rates.

  • Another EU country and has a valid VAT ID: No VAT is to be charged.

  • Another EU country but does not have a valid VAT ID: VAT is to be charged at VAT rates of the buyer's country.

  • Outside EU: No VAT is to be charged.

  • When the seller is outside the EU & the buyer is:

    • Based in the EU and has a valid VAT ID: No VAT is to be charged.

    • Based in the EU but does not have a valid VAT ID: Must charge VAT in the EU country where the buyer belongs.

    How do I add my VAT ID?

    You can add your VAT ID after you start charging EU VAT. Learn how.

    In case you do not wish to charge your Customers and Sub-Resellers EU VAT, you can add your VAT ID from your Control Panel by clicking the icon at the top right corner of the page and then clicking on Manage Profile. You can then enter your VAT ID in the provided field.

    I have now provided my VAT ID, will I get a refund for the VAT already charged?

    No, VAT once charged would not be refunded. However, you will not be charged the VAT once you have provided a valid VAT ID.

Get EU VAT percentage

Description

Gets the applicable VAT percentages for a particular Customer for all product categories.

Parameters

Name Data Type Required / Optional Description
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
customer-id Integer Required Customer ID of the Customer whose VAT percentage has to be retrieved.

HTTP Method

GET

Example Test URL Request

https://test.httpapi.com/api/billing/vat-percentages.json?auth-userid=0&api-key=key&customer-id=0

Response

Returns a hash map with the specified Customer's Cost applicable VAT percentages. The response structure will be:


{
"productkey":"vat percentage"
}

Example:


{
"hosting":10.0
}