Request
[GET] /api/v1/transaction/detail/{transaction_number}
Content-Type: application/json
x-client-id: <client_id>
x-signature: <signature>
x-timestamp: <timestamp>
Body
Response
Content-Type: application/json
Body
| Name | Type | Description |
|---|---|---|
| transaction_id | uuid.UUID | ID |
| transaction_number | string | Transaction number -> This using for get detail |
| created_at | time.Time | Create at |
| type | string | CR/DR |
| bank_remark | string | Note |
| amount | float64 |
Errors
| Status | Messsage |
|---|---|
| 200 | Success |
| 401 | Unauthorized |
Example
Request
[GET] /api/v1/transaction/detail/{id} ex: 1828366972325203968
Response
{
"message": {
"content": "Thực thi API thành công"
},
"code": 102000,
"request_id": "d5f72213-a078-4ab9-bebc-4ffa467c7860",
"data": {
"transaction_id": "35ff1ca5-0b6f-4a17-8205-07643a3ca79e",
"transaction_number": "1828366972325203968",
"created_at": "2024-08-27T16:40:28.775285+07:00",
"type": "DR",
"bank_remark": "50",
"amount": 200000
}
}