# Thanh toán

Để sử dụng tính năng này, nhà bán hàng thao tác theo các bước sau:

**Bước 1:** Tại menu **Quản lý thanh toán → Cấu hình thanh toán → Thông tin thụ hưởng**, chọn **Thêm thông tin thụ hưởng**.

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

**Bước 2: Lựa chọn ngân hàng liên kết và thêm thông tin tài khoản thụ hưởng tương ứng**

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

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

**Bước 3: Cấu hình các phương thức thanh toán**

* Trường hợp tài khoản thụ hưởng có kết nối các cổng thanh toán Napas/Sepay -> ấn "Thêm thông tin thụ hưởng" hoặc "Kết nối Sepay" để lựa chọn tài khoản thụ hưởng tương ứng theo từng cổng
* Trường hợp không có kết nối các cổng thanh toán, nhà bán hàng ấn "Thêm tài khoản thụ hưởng" vào phương thức thanh toán Chuyển khoản thủ công.

<figure><img src="/files/9b7ynQoIdOvIsbU3Vfi4" alt=""><figcaption></figcaption></figure>

**Bước 4: Kết nối Sepay:** Lấy token từ phần mềm Sepay để kết nối với phần mềm UpS

1. **Lấy token Sepay:**

* Truy cập **Sepay → Cấu hình công ty → API Access → Thêm API**

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

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

* Nhập tên API → chọn **Thêm**

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

* Sao chép **API Key** và dán vào phần mềm UpS → chọn **Kết nối**

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

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

2. **Cấu hình webhook:**&#x20;

* Truy cập **Sepay → Tích hợp WebHooks → Thêm WebHooks**

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

* Nhập thông tin và cấu hình theo nhu cầu

<figure><img src="/files/7UanLQlQ5QVH8FfHEI8C" alt=""><figcaption></figcaption></figure>

* Tại mục **Thuộc tính Webhook**: sao chép Webhook từ UpS và dán vào

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

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

Tại mục **Cấu hình chứng thực WebHooks**: chọn **API Key**, dán **Webhook Secret** từ UpS → chọn **Thêm**

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

**Bước 5: Quản lý giao dịch qua cổng**

Nhà bán hàng có thể tra cứu hoặc xuất file dữ liệu các giao dịch thanh toán qua cổng Napas/Sepay

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


---

# 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://upbase.gitbook.io/ups/tong-quan/cai-dat-co-ban/thanh-toan.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.
