add /order-id
Some checks failed
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled

This commit is contained in:
2026-09-21 19:52:10 +05:00
parent 235ef5ec9e
commit ac94e0dd8a
7 changed files with 274 additions and 0 deletions

View File

@@ -4974,6 +4974,64 @@
}
}
},
"/payment-history/{id}": {
"get": {
"security": [
{
"BearerAuth": []
}
],
"description": "Returns the full step-by-step audit trail (visa_master_payment_logs) recorded while processing an order's payout - evidence of what actually happened, independent of the summary rows returned by the list endpoint",
"produces": [
"application/json"
],
"tags": [
"payment-history"
],
"summary": "Get payment logs for an order",
"parameters": [
{
"type": "integer",
"description": "Order ID",
"name": "id",
"in": "path",
"required": true
}
],
"responses": {
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/appresult.AppSuccess"
}
},
"400": {
"description": "Bad Request",
"schema": {
"$ref": "#/definitions/appresult.AppError"
}
},
"403": {
"description": "Forbidden",
"schema": {
"$ref": "#/definitions/appresult.AppError"
}
},
"404": {
"description": "Not Found",
"schema": {
"$ref": "#/definitions/appresult.AppError"
}
},
"500": {
"description": "Internal Server Error",
"schema": {
"$ref": "#/definitions/appresult.AppError"
}
}
}
}
},
"/payment-settings": {
"get": {
"security": [