







![]() ![]() |
A .NET Library aimed at helping you get up to speed quickly with Authorize.NET |
CustomerGateway..::..Refund Method |
CustomerGateway Class See Also Send Feedback |
Refunds a transaction for the specified amount
Namespace: AuthorizeNet
Assembly: AuthorizeNet (in AuthorizeNet.dll) Version: 0.0.0.0
Syntax
C# |
---|
public IGatewayResponse Refund( string profileID, string paymentProfileId, string transactionId, string approvalCode, decimal amount ) |
Visual Basic |
---|
Public Function Refund ( _ profileID As String, _ paymentProfileId As String, _ transactionId As String, _ approvalCode As String, _ amount As Decimal _ ) As IGatewayResponse |
Visual C++ |
---|
public: virtual IGatewayResponse^ Refund( String^ profileID, String^ paymentProfileId, String^ transactionId, String^ approvalCode, Decimal amount ) sealed |
Parameters
- profileID
- Type: System..::..String
The profile ID.
- paymentProfileId
- Type: System..::..String
The payment profile id.
- transactionId
- Type: System..::..String
The transaction id.
- approvalCode
- Type: System..::..String
The approval code.
- amount
- Type: System..::..Decimal
The amount.