Merchants can use two approaches to generate tokens, and request the deletion of tokens that should no longer remain available for use.
- To generate a token using a standalone API request, merchants may send the card details in a createCardToken request. APEXX will return a token for the merchant to store.
- Alternatively, merchants can send the "create_token": "true" flag in a createCardTarnsaction or hostedPaymentPage request. APEXX will return a token for the merchant to store.
- Repeated requests for a token for the same card details will prompt APEXX to return the same token in the API response
- Merchants can use the deleteToken request to delete a previously generated token. After the previous token has been deleted for a given card number, APEXX will return a new token for the card.