using Gr4vy;
using Gr4vy.Models.Components;
var sdk = new Gr4vySDK(
id: "example",
server: SDKConfig.Server.Sandbox,
bearerAuthSource: Auth.WithToken(privateKey),
merchantAccountId: "default"
);
await sdk.MerchantAccounts.ThreeDsConfiguration.DeleteAsync(
merchantAccountId: "merchant-12345",
threeDsConfigurationId: "1808f5e6-b49c-4db9-94fa-22371ea352f5"
);
// handle response{
"type": "error",
"code": "bad_request",
"status": 400,
"message": "Generic error",
"details": []
}Delete a 3DS configuration for a merchant account.
using Gr4vy;
using Gr4vy.Models.Components;
var sdk = new Gr4vySDK(
id: "example",
server: SDKConfig.Server.Sandbox,
bearerAuthSource: Auth.WithToken(privateKey),
merchantAccountId: "default"
);
await sdk.MerchantAccounts.ThreeDsConfiguration.DeleteAsync(
merchantAccountId: "merchant-12345",
threeDsConfigurationId: "1808f5e6-b49c-4db9-94fa-22371ea352f5"
);
// handle response{
"type": "error",
"code": "bad_request",
"status": 400,
"message": "Generic error",
"details": []
}merchant-accounts.write scope.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the merchant account.
"merchant-12345"
The ID of the 3DS configuration for a merchant account.
"1808f5e6-b49c-4db9-94fa-22371ea352f5"
Successful Response
Was this page helpful?