# API: Charge Credit Card
# chargeCreditCard
Charge customers credit card on file for full invoice due balance
# Required parameters
Parameter | Description |
---|---|
id | Invoice ID |
# Optional parameters
Parameter | Description |
---|---|
card_id | Customer card id to capture. Use primary for primary card, or actual card id |
custom[amount] | Custom amount to attempt to capture, if not present full due invoice amount will be used |
# Request
GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=chargeCreditCard&id=ID
# PHP Samples
# Response
{
"success": true,
"call": "chargeCreditCard",
"server_time": 1317726103,
"info": [
"Credit card has been charged."
]
}