Simple Detokenization

Simple Detokenization

You can detokenize any token generated by Firstoken. The detokenization process receives an array of tokens and returns the information associated with each token.

POST /v1/detokenization/simple

curl -X POST https://api.firstoken.co/v1/detokenization/simple
-H 'x-api-key: YOUR_API_KEY'
-H "Content-Type: application/json"
Example JSON Request Body
{
    "tokens": ["4242428805134242", "5555557860534444"]
}
Example JSON Response
{
    "status_code": 200,
    "status": "success",
    "desc": "Success",
    "data": {
        "cards": [
            {
                "card": "4242424242424242",
                "name": "Steve Jobs",
                "exp": "01/27",
                "token": "4242422935084242",
                "status": 1
            },
            {
                "card": "5555555555554444",
                "name": "Bill Gates",
                "exp": "10/28",
                "token": "5555557860534444",
                "status": 1
            }
        ]
    }
}

Last updated

Was this helpful?