Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
Body Params application/jsonRequired
{
"payment_method_id": 9,
"total_amount": 1000000,
"description": "Thu đơn hàng",
"note": "KH chuyển khoản"
}
Request Code Samples
curl --location --request PUT 'https://demo.tourwell.net/api/v1/billings/receipts/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"payment_method_id": 9,
"total_amount": 1000000,
"description": "Thu đơn hàng",
"note": "KH chuyển khoản"
}'
Responses
application/json {
"success": true,
"message": "Receipt updated successfully",
"data": {
"code": "PT1019"
}
}
Modified at 2026-03-21 15:20:47