Beispiel #1
0
 public TransactionExportResponse Export(int perPage, int Page, DateTime?from = null, DateTime?to = null, bool settled = false, string paymentPage = null)
 =>
 _api.GetWithParameters <TransactionExportResponse>(
     "transaction/export",
     new Dictionary <string, object>()
 {
     { "perPage", perPage },
     { "page", Page },
     { "from", from },
     { "to", to },
     { "settled", settled },
     { "paymentPage", paymentPage }
 }
     //new TransactionExportRequest { From = from, To = to, Settled = settled, Payment_Page = paymentPage }
     );
Beispiel #2
0
        public CustomerListResponse List(int perPage = 50, int page = 1) => _api.GetWithParameters <CustomerListResponse>("customer",

                                                                                                                          new Dictionary <string, object>()
        {
            { "perPage", perPage },
            { "page", page }
        });
Beispiel #3
0
 public PayStackBankResponse GetBanks(int perPage = 50, int page = 1) => _api.GetWithParameters <PayStackBankResponse>("bank", new Dictionary <string, object>()
 {
     { "per_page", perPage },
     { "page", page }
 });
Beispiel #4
0
 public ListTransfersResponse ListTransfers(int itemsPerPage = 50, int page = 1) => _api.GetWithParameters <ListTransfersResponse>("transfer", new Dictionary <string, object>()
 {
     { "perPage", itemsPerPage },
     { "page", page }
 });