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:
Prasunna Soppa
2025-08-11 15:58:36 +05:30
committed by GitHub
parent 4434bf19af
commit 0e95785437
17 changed files with 436 additions and 29 deletions

View File

@ -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,
},
}
}
}