API:tokenizeClientCard - Tokenize Credit Card

Tokenize client Credit . Client credit card on file will be replaced with token, only 4 digits of credit card number will be available.

Required parameters

client_id
Client ID to tokenize card for, client needs to have card on file
gateway_id
Payment gateway id
token
Token to store

Request

GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=tokenizeClientCard&client_id=CLIENT_ID&gateway_id=GATEWAY_ID&token=TOKEN

Response

   {
      "success": true,
      "call": "tokenizeClientCard",
      "server_time": 1354885778,
      "info": [
         "Tokenization succeeded"
      ]
   }