Skip to content

Get Transaction Details (Report)

An endpoint to request and get the full details of a transaction.

To get transaction details, send the request header and URL parameters to get.

GET/report/{transaction_id} 

Request Description

HEADER PARAMETERS

Content-Type optional
string
Default content type of the API.

Authorization required
string
Unique identifier of the integrator.

curl
    -X POST "https://test-api.tlpe.io/report/{transaction_id}" \
    -H "Content-Type: application/json" \
    -H "Authorization: {integratorToken}" \

Response Samples

{
 "customer_ip_address": "0.0.0.0",
 "customer": {
     "first_name": "John",
     "last_name": "Doe",
     "billing_address": {
         "line1": "Vicente Madrigal Building",
         "line2": "Ayala Avenue",
         "city_municipality": "Makati City",
         "zip": "1234",
         "state_province_region": "Metro Manila",
         "country_code": "PH"
     },
     "shipping_address": {
         "line1": "Vicente Madrigal Building",
         "line2": "Ayala Avenue",
         "city_municipality": "Makati City",
         "zip": "1234",
         "state_province_region": "Metro Manila",
         "country_code": "PH"
     },
     "contact": {
         "email": "johndoe@domain.com",
         "mobile": "+639123456789"
     }
 },
 "payment": {
     "description": "Payment for a product",
     "amount": "1.50",
     "currency": "PHP",
     "option": "GCash",
     "merchant_reference_id": "INV-123",
     "other_references": [
        "string", "string"
     ]
 },
 "result": {
     "status_code": "OK.00.00",
     "processor_reference_id": "ABC123456",
     "descriptor": "descriptor",
     "message": "Payment successful",
     "timestamp": "2020-08-13 13:39:39.0"
 },
 "custom_parameters": {
     "parameter_name": "value",
     "parameter_name": "value"
 },
 "transaction_id": "TRX-10001"
}
{
    "timestamp": "2023-08-03T09:02:59.477+0000",
    "status": 404,
    "message": "Not found",
    "path": "/report/123456ABC",
    "data": {
        "status_description": "Invalid client request due to invalid parameters",
        "status_code": "ER.02.30"
    }
}