Inspect a Transaction

You can use this method to retrieve the unique identifier in Firstoken of a particular transaction. This method returns no sensitive data, and it is useful to know the status of a transaction and then execute a GET Transaction request.

GET /V1/request/:id

curl -X GET https://api.firstoken.co/transactions/requests/:id/inspect 
-H 'x-api-key: YOUR_API_KEY'
-H "Content-Type: application/json"
Example JSON response body
{
    "status_code": 200,
    "status": "success",
    "desc": "Success",
    "data": {
        "id": "890f228b-7cc9-46cd-8ab2-f496a9f963e2",
        "currency":"USD",
        "amount":"100",
        "additional_info": {
            "phone": "(555) 555-1234",
            "pan_index": "c436a9c1af2f69eefcfdd6b7b89b0a25"
        },
        "status" : "success"
    }
}

Last updated

Was this helpful?