# General Information

This section explains how to integrate with the goodPayments API and is intended for developers looking to automate the payment acceptance process.

goodPayments provides a REST API and uses JSON as the data format. All requests are made via secure HTTPS. The documentation covers all interaction methods in detail – request/response structures, authentication rules, error codes, and recommended integration practices.

### Core API Capabilities

**Request Authentication:** How to obtain and use your API key, authentication rules, and required headers.

**User Information:** Retrieve account details and current merchant balance.

**Invoice Management:** Create new invoices, fetch details for a specific invoice, retrieve a list of all invoices, and cancel active invoices.

**Conversion Rates:** Get up-to-date TRX/USDT exchange rates for payment calculations.


---

# 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://goodpayments.gitbook.io/docs/api-reference/general-information.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.
