# Get Transaction Details

This request uses the transaction ID, passed as a parameter in the URL to specify the specific transaction for which you want to retrieve the latest information. This allows you to follow up on the process by referencing the specific transaction ID.

{% tabs %}
{% tab title="cUrl" %}

```json
GET /v1/payments/transactions/:id

curl –X GET 'https://api.firstoken.co/v1/payments/transactions/:id' \
--header 'x-api-key: YOUR API KEY'
```

{% endtab %}

{% tab title="Params of the request" %}
**id**: *string*

> A valid transaction\_id received in previous requests.
> {% endtab %}
> {% endtabs %}

<details>

<summary>Example of the JSON response</summary>

The response depends of the status of the id that is passed through params in the request

```json
{
    "status": "success",
    "message": "transaction loaded",
    "data": {
        "risk_info": {
            "date": "2025-08-14T13:03:14.000Z",
            "status": "Approved",
            "strategies": []
        },
        "error_info": {
            "reason": "InsufficientFunds",
            "message": "Transaction failed"
        },
        "order_info": {
            "amount_details": {
                "currency": "BRL",
                "authorized_amount": 10001
            }
        },
        "transaction_info": {
            "type": "payment_response",
            "status": "Declined",
            "created_at": "2025-08-14T13:03:15.419Z",
            "request_id": "6de98d6d-1a49-438e-a648-23644c5856f1",
            "reference_code": "1753550023570",
            "transaction_id": "0001755176590033234494"
        }
    }
}
```

</details>
