Capture Method

AuthorizeNet .NET

Collapse imageExpand ImageCopy imageCopyHover image
Captures the specified transaction.

Namespace: AuthorizeNet
Assembly: AuthorizeNet (in AuthorizeNet.dll) Version: 0.0.0.0

Syntax

C#
public IGatewayResponse Capture(
	string profileID,
	string paymentProfileId,
	string cardCode,
	decimal amount,
	string approvalCode
)
Visual Basic
Public Function Capture ( _
	profileID As String, _
	paymentProfileId As String, _
	cardCode As String, _
	amount As Decimal, _
	approvalCode As String _
) As IGatewayResponse
Visual C++
public:
virtual IGatewayResponse^ Capture(
	String^ profileID, 
	String^ paymentProfileId, 
	String^ cardCode, 
	Decimal amount, 
	String^ approvalCode
) sealed

Parameters

profileID
Type: System..::..String
The profile ID.
paymentProfileId
Type: System..::..String
The payment profile id.
cardCode
Type: System..::..String
The 3 digit card code.
amount
Type: System..::..Decimal
The amount.
approvalCode
Type: System..::..String
The approval code.

Return Value

Implements

ICustomerGateway..::..Capture(String, String, String, Decimal, String)

See Also