var transaction = await client.Transactions.CreateAsync(
transactionCreate: new TransactionCreate()
{
Amount = 4000,
Currency = "COP",
Country = "CO",
PaymentMethod =
TransactionCreatePaymentMethod.CreateRedirectPaymentMethodCreate(
new RedirectPaymentMethodCreate()
{
Method = "pse",
Country = "CO",
Currency = "COP",
RedirectUrl = "https://example.com/callback",
}
),
Buyer = new TransactionCreateBuyer()
{
BillingDetails = new BillingDetails()
{
FirstName = "John",
LastName = "Doe",
EmailAddress = "john.doe@example.com"
}
},
ConnectionOptions = new Dictionary<string, object>()
{
["nuvei-pse"] = new Dictionary<string, string>()
{
["userType"] = "N",
["userFisNumber"] = "CC",
["fiscalNumber"] = "1148217216",
["bankCode"] = "1022"
}
}
}
);