@test-org122/hypernet-core
Version:
Hypernet Core. Represents the SDK for running the Hypernet Protocol.
8 lines • 563 B
TypeScript
import { ResultAsync } from "@interfaces/objects";
import { CoreUninitializedError, MerchantConnectorError, MerchantValidationError, PersistenceError } from "@interfaces/objects/errors";
export interface IMerchantService {
authorizeMerchant(merchantUrl: string): ResultAsync<void, CoreUninitializedError | MerchantValidationError>;
getAuthorizedMerchants(): ResultAsync<Map<string, string>, PersistenceError>;
activateAuthorizedMerchants(): ResultAsync<void, MerchantConnectorError | PersistenceError>;
}
//# sourceMappingURL=IMerchantService.d.ts.map