Пример #1
0
        private async static void CreateRecepient()
        {
            //TransfersApi api = new TransfersApi(_api);
            TransferRecipientsApi tra = new TransferRecipientsApi(_api);
            var result = await Task.Run(() => tra.Create("Jethro Daniel Ekozin", "0692105364", "032"));

            if (!result.Status)
            {
                //return RedirectToAction("wallet", Utils.GetDynamicMessage("BANK Issues, please try again later or contact us to resolve it.", MessageType.Info));
            }

            //bank.CustomerCode = result.Data.RecipientCode;
        }
Пример #2
0
 public TransfersApi(PaystackApi api)
 {
     _api       = api;
     Recipients = new TransferRecipientsApi(api);
 }