Create an Inbound - POST
To use this request, you have to create an Inbound Route first, to obtain the Inbound Route id. (To know how to create an Inbound in Firstoken Customer Portal go to our Descoping Components Guide
Note: In case, you have to make some sandbox tests you must be called from the base URL https://api.firstoken-staging.co/routes
If you need to specify that you're using a card with an 8-digit BIN, you can add the optional isEightDigitsBin
property to the request body:
The isEightDigitsBin
property is optional. When included and set to true, it informs the API that the card being tokenized has an 8-digit BIN instead of the standard 6-digit BIN. This property should only be added to the request body when dealing with cards that have 8-digit BINs.
Configuration Options
Metadata Return: In the Inbound Route configuration on the portal, you can activate an option to return metadata in the API response. You can assign a name to this field where the API will return the card's metadata. The metadata can include the truncated PAN, BIN, last four digits, and token.
Permanent Token: In the portal configuration, you can set up the tokenization to use a permanent token. By selecting the "permanent token" option and activating the "persistent" setting, you ensure that the same card number always generates the same token.
Token Verification:
Permanent tokens: Check via Customer Portal (Tokens section) or TaaS API.
Temporal tokens: Use Transactions API with the transaction ID from the inbound request.
Last updated
Was this helpful?