mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 04:04:43 +08:00
feat(router): Add new api for delete tokenization record (#8361)
Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -693,6 +693,10 @@ impl From<errors::ApiErrorResponse> for StripeErrorCode {
|
||||
errors::ApiErrorResponse::ProfileAcquirerNotFound { .. } => {
|
||||
Self::ProfileAcquirerNotFound
|
||||
}
|
||||
errors::ApiErrorResponse::TokenizationRecordNotFound { id } => Self::ResourceMissing {
|
||||
object: "tokenization record".to_owned(),
|
||||
id,
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user