Toucan by Pagos allows you to either replace or augment your current vaulting strategy to begin using network tokens in the place of primary account numbers (PAN). With Toucan, we make it easy for you to access network services directly with your own dedicated account, and control how and where you deploy network tokenization.
This guide outlines the Toucan process to make network tokenization more accessible:
- Authentication with Toucan
- Provisioning a token from a primary account number (PAN)
- Obtaining a cryptogram for transacting with the network token
- Getting the status of a token
Note
Check out our Toucan Testing guide to get access to the Toucan Sandbox.
Authenticating
To ensure only authorized entities access our services, we authenticate the identity of each client that submits requests to Toucan services. Learn more in our Toucan Authentication guide.
Provisioning a Network Token
“Provisioning a network token” refers to the step you take to convert a PAN into a network token. This is the critical step that signals to an issuer that your company is establishing a relationship with a cardholder that will persist over time. Every time you use the network token for a transaction, that context is accessible to the issuer.
You can provision a network token on POST: /tokenize
Transacting With a Network Token
Before you can process a transaction with a network token, you must first fetch a cryptogram for that token. A cryptogram is an issuer-generated value for the transaction you’re processing, and is a key mechanism to the additional trust issuing banks give network tokens.
You can test this using the API on POST: /transact
Keep in Mind
When you sell recurring subscriptions, you aren’t required to fetch a cryptogram at this time—you can use the details of the token and the expiration date.
Getting the Status of a Network Token
Once you have provisioned a network token there will be instances when you will want to check the token status and basic token information, such as network, last 4 digits of the PAN, or expiration date for the underlying PAN.
There are three possible statuses that a network token can be in:
- Active - the token is active and can be used to transact with
- Suspended - the token is temporarily suspended by the merchant
- Deleted - the token has been deleted by the merchant
You can test this using the API on GET: /status