# Orbipay.PaymentsApi.Client - the C# library for the Electronic Bill Presentment and Payments API

 The Electronic Bill Presentment and Payments (EBPP) API enables businesses to accept bank account, credit and debit card payment 


- API version: 1.15.0
- SDK version: 1.15.4

<a name="frameworks-supported"></a>
## Frameworks supported
- .NET 4.0 or later

<a name="dependencies"></a>
## Dependencies
- [RestSharpSigned](https://www.nuget.org/packages/RestSharpSigned/105.1.0) - 105.1.0
- [Newtonsoft.Json](https://www.nuget.org/packages/Newtonsoft.Json/10.0.3) - 10.0.3
- [CommonLogging] (https://www.nuget.org/packages/common.logging/3.4.1) - 3.4.1
-[Common.Logging.Core] (https://www.nuget.org/packages/Common.Logging.Core/3.4.1) - 3.4.1

<a name="installation"></a>
## Installation
Download the library (latest version is recommended) from ["here"](https://developers.orbipay.com/downloads/paymentsapi/sdks/csharp/v1.15.4/Orbipay.PaymentsApi.Client.V1.15.4.dll)
Then include the DLL (under the `bin` folder) in the C# project, and use the namespaces:
```csharp
using Orbipay.PaymentsApi.Client;
using Orbipay.PaymentsApi.Client.Wrappers;
```

### Logging
Enable the logging to have better insight into what the library is doing. To enable logs [follow]https://cmatskas.com/an-introduction-to-common-logging-api-2/. 

### Environmental Variables

This library provides a way to configure http_timeout through environment variable.
1. Configure http_timeout through the environment variable ORBIPAY_PAYMENTS_API_TIMEOUT_SECONDS

Below is the example to set timeout using environment variable

```csharp
System.Environment.SetEnvironmentVariable("ORBIPAY_PAYMENTS_API_TIMEOUT_SECONDS", "60");
```


