# API: Tokenize Credit Card

# tokenizeClientCard

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

# Required parameters

Parameter Description
client_id Client ID to tokenize card for, client needs to have card on file
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=tokenizeClientCard&client_id=CLIENT_ID&gateway_id=GATEWAY_ID&token=TOKEN

# PHP Samples

# Response

{
    "success": true,
    "call": "tokenizeClientCard",
    "server_time": 1354885778,
    "info": [
        "Tokenization succeeded"
    ]
}
Last Updated: 5/12/2023, 3:22:14 PM