Look at your code: it doesn't compile.
You declared
keyValues
as a
Dictionary<string, string>
but then try to pass it a number of values that aren't strings:
10000
,
abc@mail.com
,
34532756YT
Change those to strings, and it might compile, which will start you towards the next step:
var keyValues = new Dictionary<string, string>
{
{ "amount", "10000"},
{ "email" , "abc@mail.com"},
{ "currency", "NGN"},
{ "initiate_type", "inline"},
{ "transaction_ref" , "34532756YT"},
{ "callback_url", "https://samplesite.com"}
};
Or fix the Dictionary so it accepts the right types of value ...