# How to Buy GSTN API Hits

**YouTube:** [How to generate GST E-invoice?](https://www.youtube.com/watch?v=3B4Q1zRoYGs\&t=74s)

This guide walks you through the **complete process** of purchasing GSTN API credits and configuring them within **Logic ERP**. These API hits are necessary to validate or generate GST-related data directly through the **GSTN portal** via integrated services.

***

### **Sign In to Logic ERP Portal**

* Navigate to <https://www.logicerp.com>
* Click on **My Account**.

<figure><img src="/files/fFbZC2XbAbReRKZ5OQaQ" alt=""><figcaption></figcaption></figure>

* Log in using your **username and password**.

<figure><img src="/files/UWm2pK1AgeEz0aslxqrq" alt=""><figcaption></figcaption></figure>

***

### **Manage and Activate API**

* Go to the **Manage API** section.

<figure><img src="/files/AgFLh7HdXy1nbE2jXUVc" alt=""><figcaption></figcaption></figure>

* Browse available **plans** based on your requirement.
* Click on **Activate API** for the selected plan.

<figure><img src="/files/cwNqXdPYUTNytLNDVmYT" alt=""><figcaption></figcaption></figure>

Once you Activated API, you'll get a confirmation message. click "YES" to proceed.&#x20;

<figure><img src="/files/vrJ0MZdAv6cfOuWqLutL" alt=""><figcaption></figcaption></figure>

***

### **Purchase API Credits**

* Click on Buy Credits

<figure><img src="/files/Ci9wzjZxmhGD7uZPOimv" alt=""><figcaption></figcaption></figure>

* Select the number of **API hits** or **credits** you wish to purchase.

<figure><img src="/files/r1amz3RGm8qa68WlSIZh" alt=""><figcaption></figcaption></figure>

* Click on **Save Order** to place your order.
* You'll be redirected to the **Payment Portal**.

<figure><img src="/files/a81bhNhcYFTpZ2GldZ9f" alt=""><figcaption></figcaption></figure>

***

### **Complete the Payment**

* Fill in your **billing address** details.
* Proceed to make the **payment**.
* Once the payment is successful:
  * Your **API Key** will be generated and activated.
  * Copy this key for configuration in Logic ERP.

***

### **Need Assistance?**

If you face any issues during the process:

* Ensure your API payment is successful, and the key is correctly copied.
* Contact **Logic ERP support** or raise a [Support Ticket](/logic-erp-installation-configuration-and-troubleshooting-solutions/troubleshooting/support-tickets/how-to-post-a-support-ticket.md) from your account.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.logicerp.com/logic-erp-installation-configuration-and-troubleshooting-solutions/how-to-buy-gstn-api-hits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
