public async Task <string> CancelDelivery(string packageId) { var postContent = new Dictionary <string, string> { { "action_type", "cancel_supply" }, { "transaction_id", packageId } }; var responseString = await client.Send(postContent); return(responseString); }
public async Task <string> CancelPayment(string paymentId) { var postContent = new Dictionary <string, string> { { "action_type", "cancel_pay" }, { "transaction_id", paymentId } }; var responseString = await client.Send(postContent); return(responseString); }
public async Task <bool> CheckAvailablity() { var postContent = new Dictionary <string, string> { { "action_type", "handshake" }, }; var responseString = await client.Send(postContent); return(responseString.ToLower().Equals("ok")); }