ProvBratnet.cancelPOSSignature Method

Cancel a POS Provider Signature
Public Function cancelPOSSignature( _ 
ByVal hSignature As String, _ 
ByVal directPayment As Boolean, _ 
Optional ByVal CancellationMessage As String = "" _ 
) As Dictionary(Of String, String)
This language is not supported or no code example is available.
public Dictionary<string, string> cancelPOSSignature( 
string hSignature
bool directPayment
string CancellationMessage = "" 
)
This language is not supported or no code example is available.

Parameters

hSignature
string

The signature you got from getPOSSignature, field hSignature

directPayment
bool

Determines if the payment is done the time you're issued the invoice or later.

CancellationMessage
string

Free Text 
Here you can describe the reason you cancel the signature.

Return Value

Dictionary<string, string>
Example
 
 var bra = new ProvBratnet("BratnetUser", "BratnetPassword", "bratnetAPIKey", "arbUser", "arbKey", false);
 Dictionary<string, string> result = bra.cancelPOSSignature("3046022100DCA112702F38B015BDADB91F9D46454BB468B66EE859173C81B841", false, "Sale Canceled");
 					
This language is not supported or no code example is available.
 Dim bra As ProvBratnet = New ProvBratnet("BratnetUser", "BratnetPassword", "bratnetAPIKey", "arbUser", "arbKey", False)
 Dim posSign As Dictionary(Of String, String) = bra.cancelPOSSignature("3046022100DCA112702F38B015BDADB91F9D46454BB468B66EE859173C81B841", False, "Sale Canceled")
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition