using Gr4vy;
using Gr4vy.Models.Components;
using System.Collections.Generic;
var sdk = new Gr4vySDK(
id: "example",
server: SDKConfig.Server.Sandbox,
bearerAuthSource: Auth.WithToken(privateKey),
merchantAccountId: "default"
);
var res = await sdk.MerchantAccounts.ThreeDsConfiguration.CreateAsync(
merchantAccountId: "merchant-12345",
merchantAccountThreeDSConfigurationCreate: new MerchantAccountThreeDSConfigurationCreate() {
MerchantAcquirerBin = "516327",
MerchantAcquirerId = "123456789012345",
MerchantName = "Acme Inc.",
MerchantCountryCode = "840",
MerchantCategoryCode = "1234",
MerchantUrl = "https://example.com",
Scheme = CardScheme.Rupay,
Metadata = new Dictionary<string, string>() {
{ "key", "<value>" },
{ "key1", "<value>" },
{ "key2", "<value>" },
},
}
);
// handle response