mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 17:19:15 +08:00
feat(router): implement API endpoints for managing API keys (#511)
This commit is contained in:
@ -390,3 +390,11 @@ pub enum WebhooksFlowError {
|
||||
#[error("Webhook not received by merchant")]
|
||||
NotReceivedByMerchant,
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum ApiKeyError {
|
||||
#[error("Failed to read API key hash from hexadecimal string")]
|
||||
FailedToReadHashFromHex,
|
||||
#[error("Failed to verify provided API key hash against stored API key hash")]
|
||||
HashVerificationFailed,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user