ProvBratnet.UpdatePayments Method

Updates payment information for an invoice by sending the payment method to AADE. Requires Basic Auth client credentials.
Public Function UpdatePayments( _ 
ByVal pay As payment
) As Dictionary(Of String, String)
This language is not supported or no code example is available.
public Dictionary<string, string> UpdatePayments( 
payment pay 
)
This language is not supported or no code example is available.

Parameters

pay
payment

Return Value

Dictionary<string, string>
Returns a dictionary containing the verification marks. 
The field cancelled shows if the signature is cancelled or not. 
The Dictionary contains the following values: 
FieldValue / Description
userRequestIDa9eab2cf-40bd-43d3-bc63-d654762b4c11
versionTest Verion 01
response.invoiceMark400000000000001
response.paymentMethodMark400000000000002
JSON_ARBDATAVjJ4b2FtUXhUW!RpUlZKU1ZqSjRiMVZ0Y3p!a01XUnhVMVJ_YUZJeFNr
Example
 
 var bra = new ProvBratnet("BratnetUser", "BratnetPassword", "bratnetAPIKey", "arbUser", "arbKey", false);
 
 ProvBratnet.payment pay = bra.newPayment;
 pay.transactionId = transactionID;
 pay.paymentType = 7;
 pay.hsignature = "3046022100DCA112702F38B015BDADB91F9D46454BB468B66EE859173C81B841"; // signs("response.hSignature")
 pay.uid = "D123FCA456D7F8901F2CA34567BC8B901FA7F23B";
 
 Dictionary<string, string> result = bra.UpdatePayments(pay);
 					
This language is not supported or no code example is available.
 Dim bra As ProvBratnet = New ProvBratnet("BratnetUser", "BratnetPassword", "bratnetAPIKey", "arbUser", "arbKey", False)
 
 Dim pay As ProvBratnet.payment = bra.newPayment
 pay.transactionId = transactionID
 pay.paymentType = 7
 pay.hsignature = "3046022100DCA112702F38B015BDADB91F9D46454BB468B66EE859173C81B841" 'signs("response.hSignature")
 pay.uid = "D123FCA456D7F8901F2CA34567BC8B901FA7F23B"
 
 Dim result As Dictionary(Of String, String) = bra.UpdatePayments(pay)
 					
This language is not supported or no code example is available.

.NET Framework

Supported in: 3.5 or newer

In this article

Definition