# API: Store Card Token
# storeCardToken
Store token of new credit card
# Required parameters
Parameter | Description |
---|---|
client_id | Client ID to store token for |
gateway_id | Payment gateway id |
token | Token to store |
# Optional parameters
Parameter | Description |
---|---|
lastfour | Last four digits of credit card |
expdate | Expiration date of card in MMYY format |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=storeCardToken&client_id=CLIENT_ID&gateway_id=GATEWAY_ID&token=TOKEN
# PHP Samples
# Response
{
"success": true,
"call": "storeCardToken",
"server_time": 1354885778,
"info": [
"Tokenization succeeded"
]
}