Homepage | Client Area | Contact | Order Now »
WHMCS - The Complete Client Management, Billing & Support System
Article | Discussion | Edit | History Log in / create account

API:Capture Payment

From WHMCS Documentation

Jump to: navigation, search

This command is used to attempt to capture payment when an invoice is set to a merchant gateway module

Attributes

invoiceid - the ID of the invoice the capture is to be attempted for

Example Command

$postfields["action"] = "capturepayment";
$postfields["invoiceid"] = "1";

Returned Variables

None

Main Page
Getting Started
Using WHMCS & Howto's
Customising WHMCS
Modules
API
Contributions

Search
 

What links here
Recent Changes
Privacy Policy
General Disclaimer
Copyright © WHMCS Ltd. 2005-2008. All Rights Reserved. UK Registered Company #6265962. Vat No. GB 927 7746 76