Get One Transaction

The Get One Transaction API retrieves the details of a specific transaction based on the provided transaction ID.

API Method

GET

Endpoint

https://cebuana-apiuat.veryfyglobal.com/transactions/{id}

Headers

Key
Value

Accept

application/json

Authorization

Bearer <YOUR_TOKEN>

Path Parameters

Parameter
Type
Required
Description

id

int

Yes

The unique identifier of the transaction to retrieve. Transaction ID

Example Request

GET https://cebuana-apiuat.veryfyglobal.com/transactions/1

Response Sample

{
    "message": "Ok",
    "data": {
        "id": 4,
        "receipt_no": 09192024XXXXX,
        "branch": {
            "id": 3,
            "name": "CLH Makati Ave",
            "address": "Makati Ave"
        },
        "customer": {
            "id": 1,
            "first_name": "JUNE",
            "email": "[email protected]"
        },
        "purpose": {
            "value": 6,
            "description": "Shopping"
        },
        "type": {
            "value": 0,
            "description": "Buy"
        },
        "total_amount": "5767.00",
        "total_profit_amount": "0.00",
        "signature": "https://cebuana-1320170901.cos.ap-hongkong.myqcloud.com/local/transaction/4/eaf3ffb5-00f3-4ccb-941b-045dbaf842a8?sign=q-sign-algorithm%3Dsha1%26q-ak%3DIKID5lNrCYlpiUAjGrMiv0ypYGtUuBF9ydqF%26q-sign-time%3D1727337756%3B1727338416%26q-key-time%3D1727337756%3B1727338416%26q-header-list%3Dhost%26q-url-param-list%3D%26q-signature%3D1b814b4278f64a6047cf7a3633589654373b3bff&",
        "attachment": null,
        "transaction_currencies": [
            {
                "id": 308,
                "currency": "United States Dollar (USD)",
                "edit_enabled": 0,
                "delete_enabled": 0,
                "rate": "60.00000",
                "exchange_amount": "12.00",
                "receive_amount": "720.00",
                "receive_profit_amount": "0.6
            }
        ],
        "created_by": {
            "name": "JOHN DOE"
        },
        "created_at": "2024-05-06 12:24:57"
    }
}

Last updated