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.

GET /v1/payments/transactions/:id

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

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

{
    "status": "success",
    "data": {
        "order_info": {
            "amount_details": {
                "currency": "COP",
                "authorized_amount": 1000
            }
        },
        "processor_info": {
            "avs": {
                "code": "Y",
                "codeRaw": "Y"
            },
            "approval_code": "831000",
            "transaction_id": "016153570198200"
        },
        "transaction_info": {
            "type": "payment_response",
            "status": "Authorized",
            "created_at": "2024-02-27T18:37:08Z",
            "request_id": "7090590278666030704951",
            "response_code": "00",
            "reference_code": "123456789",
            "transaction_id": "0001709059026255968663",
            "reconciliation_id": "7090590278666030704951"
        }
    }
}

Last updated

Was this helpful?