POST - Proxy

POST /
curl -X POST https://api.firstoken.co/proxy/
-H 'ft-access-key: YOUR_ACCESS_KEY'
-H "Content-Type: application/json"
Example body of a Proxy POST request
{
    "chd": {
        "card": " {{4242428XsEs24242:detokenize | extract:card}}",
        "name": " {{4242428XsEs24242:detokenize | extract:name}}",
        "exp": " {{4242428XsEs24242:detokenize | extract:expiration | date:MM}}/ {{4242428XsEs24242:detokenize | extract:expiration | date:YY}}"
    },
    "order":{
        "order_id": "1243092185268",
        "detokenize_id": "838CF75C85374DDE88FBF95859D5067E",
        "payment_id": "1E48107A6DAF47C393BA4A40F8BB64EC",
        "reference": "503423",
        "shopper_interaction": "ecommerce",
        "payment_method": "Amex",
        "value": 22.330000000000002,
        "currency": "BRL"
    }
}

Proxy response body

The Proxy response body will contain the status codes of the call and inside the data object, the response sent by the destination url designated in the header.

Last updated

Was this helpful?