







![]() ![]() |
A .NET Library aimed at helping you get up to speed quickly with Authorize.NET |
CustomerGateway..::..AddCreditCard Method (String, String, Int32, Int32, String) |
CustomerGateway Class See Also Send Feedback |
Adds a credit card profile to the user and returns the profile ID
Namespace: AuthorizeNet
Assembly: AuthorizeNet (in AuthorizeNet.dll) Version: 0.0.0.0
Syntax
C# |
---|
public string AddCreditCard( string profileID, string cardNumber, int expirationMonth, int expirationYear, string cardCode ) |
Visual Basic |
---|
Public Function AddCreditCard ( _ profileID As String, _ cardNumber As String, _ expirationMonth As Integer, _ expirationYear As Integer, _ cardCode As String _ ) As String |
Visual C++ |
---|
public: virtual String^ AddCreditCard( String^ profileID, String^ cardNumber, int expirationMonth, int expirationYear, String^ cardCode ) sealed |
Parameters
- profileID
- Type: System..::..String
The profile ID.
- cardNumber
- Type: System..::..String
The card number.
- expirationMonth
- Type: System..::..Int32
The expiration month.
- expirationYear
- Type: System..::..Int32
The expiration year.
- cardCode
- Type: System..::..String
The card code.