damsel/proto/withdrawals_errors.thrift
Andrew Mayorov 827f692653
Update declarations to refer to vality.dev namespace (#4)
* Switch CODEOWNERS
* Drop few dead links
* Update gitignore rules to ignore generated files
2022-01-06 13:30:52 +03:00

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 {}