# Hướng dẫn nạp tiền vào tài khoản OpenAI để sử dụng API

**Giới thiệu:** OpenAI cung cấp những API khá là hay, bạn có thể xây dựng một ứng dụng chat thông minh hay tạo những bức ảnh độc đáo. Để sử dụng được API, trước tiên bạn cần phải nạp tiền vào tài khoản. Bài này mình sẽ hướng dẫn ngắn gọn cách nạp tiền thanh toán để sử dụng API của OpenAI.\
\
**Bước 1:** Đầu tiên, các bạn truy cập vào đường link bên dưới để đăng nhập vào website của OpenAI: [**https://platform.openai.com**](https://platform.openai.com/)**.** Tài khoản ChatGPT cũng chính là tài khoản OpenAI.

Sau khi đăng nhập, ấn vào biểu tượng Settings ở góc trên bên phải màn hình

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

\
**Bước 2:** Ở menu phía bên trái bạn chọn vào **Billing**<br>

<figure><img src="/files/VYFogLTne6CdgrGy6ptQ" alt=""><figcaption><p>Chọn "Billing"</p></figcaption></figure>

Màn hình Billing sẽ hiển thị số tiền còn lại của bạn. Đối với những bạn chưa nạp tiền vào bao giờ thì sẽ hiển thị là 0.00$.

**Bước 3**: Bạn chọn vào Add to credit balance, nếu như chưa có thông tin thẻ thì ở màn hình hiện ra bạn chọn vào Add payment method

<figure><img src="/files/iWjpz1OTfujqr8X7hPQO" alt=""><figcaption><p>Chọn nút "Add to credit balance"</p></figcaption></figure>

**Bước 4:** Tiếp theo bạn nhập thông tin thẻ credit/debit vào.\
Để nạp tiền, bạn nhập số tiền vào ô, sau đó chọn **Confirm payment** để hoàn tất việc thanh toán.

<figure><img src="/files/Mtfg8Av2vwfm450byqKz" alt=""><figcaption><p>Chọn nút "Add payment method"</p></figcaption></figure>

Như vậy là bạn đã hoàn thành nạp tiền vào tài khoản OpenAI thành công. Bạn có thể xem tiếp hướng dẫn [tạo API Key OpenAI để đưa vào sử dụng trong Mindmaid](/mindmaid-documentation/tutorials/huong-dan-lay-key-openai.md)


---

# 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://aiv-group.gitbook.io/mindmaid-documentation/tutorials/huong-dan-nap-tien-vao-tai-khoan-openai-de-su-dung-api.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.
