API:editClientCreditCard - Store Credit Card

Add credit card to client profile

Required parameters

id
Client ID
cardnum
Credit Card number
cardtype
Credit card type
expiryyear
CC Expiration year
expirymonth
CC expiration month

Request

GET http://url_to_your_hostbill.com/admin/api.php?api_id=API_ID&api_key=API_KEY&call=editClientCreditCard&id=ID&cardnum=CARDNUM&cardtype=CARDTYPE&expiryyear=EXPIRYYEAR&expirymonth=EXPIRYMONTH

Response

   {
      "success": true,
      "call": "editClientCreditCard",
      "server_time": 1317726229,
      "info": [
         "Credit Card details updated"
      ]
   }