Skip to content

Latest commit

 

History

History
50 lines (38 loc) · 1.63 KB

README.md

File metadata and controls

50 lines (38 loc) · 1.63 KB

IPSP C# SDK (beta)

Payment service provider

A payment service provider (PSP) offers shops online services for accepting electronic payments by a variety of payment methods including credit card, bank-based payments such as direct debit, bank transfer, and real-time bank transfer based on online banking. Typically, they use a software as a service model and form a single payment gateway for their clients (merchants) to multiple payment methods. read more

Installation

SDK availble on NuGet.

Requirements

Fondy account - Register here

Newtonsoft.json (JSON.NET)

Simple Start

using CloudIpspSDK;
using CloudIpspSDK.Checkout;

Config.MerchantId = 1396424;
Config.SecretKey = "test";

var req = new CheckoutRequest {
  order_id = Guid.NewGuid().ToString("N"),
  amount = 100000,
  order_desc = "checkout json demo",
  currency = "EUR"
};
var resp = new Url().Post(req);
if (resp.Error == null) {
 string url = resp.checkout_url;
}

Api

See docs

Examples

To check it you can use build-in ISS server http://localhost:7777/