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>
Returns a dictionary containing the initial data of the signature as verification that this signature has been successfully cancelled. 
The field cancelled shows if the signature is cancelled or not. 
The Dictionary contains the following values: 
FieldValue / Description
userRequestID4fd0593b-1e04-499a-8c0d-48bcb4c43af0
versionTest Verion 01
response.responses[0].id0
response.responses[0].index1
response.responses[0].invoiceUidD123FCA456D7F8901F2CA34567BC8B901FA7F23B
response.responses[0].invoiceMark12345678
response.responses[0].classificationMark0
response.responses[0].authenticationCode
response.responses[0].invoiceUrl
response.responses[0].bSignatureMEUCIDJvlJUno3ouw7H6pT/HR6dmXDb3DoqyZ0BBvEMU11gjAiEAgux=
response.responses[0].hSignature30450220326F949527A37A2EC3B1FAA53FC747A7665C36F70E8AB267
response.responses[0].signatureMessageD123FCA456D7F8901F2CA34567BC8B901FA7F23B;;20260609042236;24800;20000;4800;20000;12345678
response.responses[0].cancellationMark0
response.responses[0].cancelledTrue
response.responses[0].createdAt01/01/0001 00:00:00
response.responses[0].updatedAt01/01/0001 00:00:00
response.createdAt01/01/2026 09:00:00
response.updatedAt01/01/2026 09:00:00
JSON_ARBDATAVjJ4b2FtUXhUW!RpUlZKU1ZqSjRiMVZ0Y3p!a01XUnhVMVJ_YUZJeFNr
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