- Tổng quan
- Hướng dẫn xác thực
- API Beta 1.0
- API Zalo Mini App (Beta)
- Khách hàng
- Đơn hàng
- Sản phẩm
- Lịch khởi hành
- Lead (Cơ hội)
- Khách sạn
- Kế toán
- Phiếu thu
- Phiếu chi
- Cấu hình
- Zalo ZNS
- Địa điểm
- Nhân sự nội bộ
- Webhook
- Trạng thái khách hàng
- Loại dịch vụ
- Zalo ZNS
Get all payment
GET
/api/v1/billings/payments
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
code
string
optional
description
string
optional
note
string
optional
method
array[string]
optional
created_at
string
optional
creator_info
object
optional
payment_date
string
optional
transaction_type
string
optional
branch_office
array[string]
optional
references
array [object {2}]
optional
payee
array [object {5}]
optional
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