ProvBratnet.cancelPOSSignature Method
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:
The field cancelled shows if the signature is cancelled or not.
The Dictionary contains the following values:
| Field | Value / Description |
|---|---|
| userRequestID | 4fd0593b-1e04-499a-8c0d-48bcb4c43af0 |
| version | Test Verion 01 |
| response.responses[0].id | 0 |
| response.responses[0].index | 1 |
| response.responses[0].invoiceUid | D123FCA456D7F8901F2CA34567BC8B901FA7F23B |
| response.responses[0].invoiceMark | 12345678 |
| response.responses[0].classificationMark | 0 |
| response.responses[0].authenticationCode | |
| response.responses[0].invoiceUrl | |
| response.responses[0].bSignature | MEUCIDJvlJUno3ouw7H6pT/HR6dmXDb3DoqyZ0BBvEMU11gjAiEAgux= |
| response.responses[0].hSignature | 30450220326F949527A37A2EC3B1FAA53FC747A7665C36F70E8AB267 |
| response.responses[0].signatureMessage | D123FCA456D7F8901F2CA34567BC8B901FA7F23B;;20260609042236;24800;20000;4800;20000;12345678 |
| response.responses[0].cancellationMark | 0 |
| response.responses[0].cancelled | True |
| response.responses[0].createdAt | 01/01/0001 00:00:00 |
| response.responses[0].updatedAt | 01/01/0001 00:00:00 |
| response.createdAt | 01/01/2026 09:00:00 |
| response.updatedAt | 01/01/2026 09:00:00 |
| JSON_ARBDATA | VjJ4b2FtUXhUW!RpUlZKU1ZqSjRiMVZ0Y3p!a01XUnhVMVJ_YUZJeFNr |
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.