Tourwell Open APIs
  1. v1
Tourwell Open APIs
  • Tổng quan
  • Hướng dẫn xác thực
  • API Beta 1.0
  • API Zalo Mini App (Beta)
  • Khách hàng
    • v1
      • Get by id
      • Get all customer
      • Create customer
      • Update customer
      • Get order history
  • Đơn hàng
    • v1
      • Get by id
      • Get all order
      • Create order tour
      • Create order product
      • Create order hotel
      • Confirm payment order
  • Sản phẩm
    • v1
      • Create product
      • Get by id
      • Calendar pricing
  • Lịch khởi hành
  • Lead (Cơ hội)
    • v1
      • Get all lead
      • Get by id
      • Create lead
      • Update lead
  • Khách sạn
    • v1
      • Get all hotel
      • Get by id
  • Kế toán
    • Phiếu thu
      • v1
        • Get all receipt
    • Phiếu chi
      • v1
        • Get all payment
          GET
        • Confirm Payment
          POST
    • Hóa đơn
      • Update invoice
      • Issue Invoice
      • Get by id
      • Cancel invoice
  • Cấu hình
    • Zalo ZNS
      • Danh sách Tag
      • Get token
    • Địa điểm
      • Search
    • Nhân sự nội bộ
      • Search
    • Webhook
      • Hướng dẫn cài đặt
    • Trạng thái khách hàng
      • Get All
    • Loại dịch vụ
  1. v1

Get all payment

GET
/api/v1/billings/payments
Danh sách phiếu chi

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://demo.tourwell.net/api/v1/billings/payments'

Responses

🟢200OK
application/json
Body
data
array [object {12}] 
required
id
integer 
optional
ID
code
string 
optional
Mã phiếu chi
description
string 
optional
Lý do chi
note
string 
optional
Ghi chú
method
array[string]
optional
Nguồn thanh toán
created_at
string 
optional
creator_info
object 
optional
Người tạo
payment_date
string 
optional
Hạn thanh toán
transaction_type
string 
optional
Loại phiếu
branch_office
array[string]
optional
Chi nhánh
references
array [object {2}] 
optional
Thông tin tham chiếu
payee
array [object {5}] 
optional
Người nhận
links
object 
required
first
string 
required
last
string 
required
prev
null 
required
next
null 
required
meta
object 
required
current_page
integer 
required
from
integer 
required
last_page
integer 
required
links
array [object {3}] 
required
path
string 
required
per_page
integer 
required
to
integer 
required
total
integer 
required
Example
{"data":[{"id":2946,"code":"PC2946","description":"Thanh toán CTP","note":"","method":[],"created_at":"23/04/2025 14:48","creator_info":{"id":479,"name":"Phạm Thanh TW","email":"phamthanh17998@gmail.com"},"payment_date":"23/04/2025","transaction_type":"DNTT dịch vụ","branch_office":[],"references":[{"type":"tour","order_code":"B04253406"}],"payee":[{"type":"supplier","id":6,"code":"SUP006","phone":"0356120340","name":"Trần Văn Nam"}]}],"links":{"first":"https://demo.tourwell.net/api/v1/billings/payments?page=1","last":"https://demo.tourwell.net/api/v1/billings/payments?page=1","prev":null,"next":null},"meta":{"current_page":1,"from":1,"last_page":1,"links":[{"url":null,"label":"« Trước","active":false},{"url":"https://demo.tourwell.net/api/v1/billings/payments?page=1","label":"1","active":true},{"url":null,"label":"Sau »","active":false}],"path":"https://demo.tourwell.net/api/v1/billings/payments","per_page":25,"to":1,"total":1}}
Modified at 2025-04-24 09:23:18
Previous
Get all receipt
Next
Confirm Payment
Built with