- 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
Confirm payment order
POST
/api/v1/orders/confirm-payment
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Body Params application/json
order_code
string
required
amount
integer
required
description
string
required
payment_method_id
integer
optional
Example
{
"order_code": "UP1985",
"amount": 1000000,
"description": "+1,005,000 NGUYEN ANH TU chuyen tien OK",
"payment_method_id": 1
}
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 POST 'https://demo.tourwell.net/api/v1/orders/confirm-payment' \
--header 'Content-Type: application/json' \
--data-raw '{
"order_code": "UP1985",
"amount": 1000000,
"description": "+1,005,000 NGUYEN ANH TU chuyen tien OK",
"payment_method_id": 1
}'
Responses
🟢201Created
application/json
Body
success
boolean
required
message
string
required
Example
{
"success": true,
"message": "Payment confirmed successful"
}
Modified at 2025-04-09 11:04:17