mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 09:45:21 +00:00
827f692653
* Switch CODEOWNERS * Drop few dead links * Update gitignore rules to ignore generated files
38 lines
969 B
Thrift
38 lines
969 B
Thrift
namespace java dev.vality.damsel.withdrawals.errors
|
|
namespace erlang wtherr
|
|
|
|
union WithdrawalFailure {
|
|
1: AuthorizationFailure authorization_failed
|
|
}
|
|
|
|
union AuthorizationFailure {
|
|
01: GeneralFailure unknown
|
|
03: GeneralFailure operation_blocked
|
|
04: GeneralFailure account_not_found
|
|
05: GeneralFailure account_blocked
|
|
06: GeneralFailure account_stolen
|
|
08: LimitExceeded account_limit_exceeded
|
|
09: LimitExceeded provider_limit_exceeded
|
|
10: DestinationReject destination_rejected
|
|
11: GeneralFailure security_policy_violated
|
|
12: GeneralFailure temporarily_unavailable
|
|
}
|
|
|
|
union LimitExceeded {
|
|
1: GeneralFailure unknown
|
|
2: GeneralFailure amount
|
|
3: GeneralFailure number
|
|
}
|
|
|
|
union DestinationReject {
|
|
2: GeneralFailure unknown
|
|
1: BankCardReject bank_card_rejected
|
|
}
|
|
|
|
union BankCardReject {
|
|
1: GeneralFailure unknown
|
|
2: GeneralFailure card_number_invalid
|
|
}
|
|
|
|
struct GeneralFailure {}
|