mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-29 09:07:09 +08:00
feat: add payout service (#1665)
Co-authored-by: Kashif <mohammed.kashif@juspay.in> Co-authored-by: Manoj Ghorela <manoj.ghorela@juspay.in> Co-authored-by: Manoj Ghorela <118727120+manoj-juspay@users.noreply.github.com>
This commit is contained in:
@ -309,6 +309,8 @@ pub enum ConnectorError {
|
||||
FileValidationFailed { reason: String },
|
||||
#[error("Missing 3DS redirection payload: {field_name}")]
|
||||
MissingConnectorRedirectionPayload { field_name: &'static str },
|
||||
#[error("Failed at connector's end with code '{code}'")]
|
||||
FailedAtConnector { message: String, code: String },
|
||||
#[error("Payment Method Type not found")]
|
||||
MissingPaymentMethodType,
|
||||
}
|
||||
@ -327,12 +329,18 @@ pub enum VaultError {
|
||||
PaymentMethodCreationFailed,
|
||||
#[error("The given payment method is currently not supported in vault")]
|
||||
PaymentMethodNotSupported,
|
||||
#[error("The given payout method is currently not supported in vault")]
|
||||
PayoutMethodNotSupported,
|
||||
#[error("Missing required field: {field_name}")]
|
||||
MissingRequiredField { field_name: &'static str },
|
||||
#[error("The card vault returned an unexpected response: {0:?}")]
|
||||
UnexpectedResponseError(bytes::Bytes),
|
||||
#[error("Failed to update in PMD table")]
|
||||
UpdateInPaymentMethodDataTableFailed,
|
||||
#[error("Failed to fetch payment method in vault")]
|
||||
FetchPaymentMethodFailed,
|
||||
#[error("Failed to save payment method in vault")]
|
||||
SavePaymentMethodFailed,
|
||||
}
|
||||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
|
||||
Reference in New Issue
Block a user