Using tokens

Once you’ve specified where to deliver tokenized data, you have to specify what to deliver. We establish a forward proxy solution, where you send us an http request with the target url, connection credentials and tokenized data.

There are four basic properties that define the distribution of tokenized data:

  • the URL to submit data to

  • the HTTP request header

  • the HTTP request method

  • the HTTP request body (containing tokens)

A simple deliver request might look like the following:

curl https://console.payengine.co/api/v2/forwardproxy \
  -H 'Authorization: Basic <Private_API_KEY>' \
  -H 'Content-Type: application/json' \
  -d '{
        "data": {
          "url": "https://<targethost>",
          "headers": "Content-Type: application/json",
          "body": "{ \"ssn\": \"{{ssn}}\", \"bankAccount\": \"{{bank_account}}\" }"
        }
      }'

Last updated