mirror of
https://github.com/valitydev/damsel.git
synced 2024-11-06 17:55:23 +00:00
36907b0e50
* DC-83: add RBKWallet to party management (#311) * DC-83: new exceptions for wallets & contractors (#330) * CDS-57: introduce identity storage service (#338) * HOOK-86: Hooks for wallets (#337) * HG-364 CDS-57 Rename indentity docs erlang namespace. (#339) Renamig is caused by review rbkmoney/cds#55 * HG-364 CDS-57 Simplify cds ident protocol. Move mask functions to API (#340) * HG-371: Introduce simplistic withdrawal processing (#333) * HG-371: add cumulative limits (#341) * add turnover limits to wallet service terms * add some thoughts in form of TODOs * Add rbkmoney to DigitalWalletProvider enum (#343) * DC-92: add ability to compute terms for wallet (#344)
38 lines
971 B
Thrift
38 lines
971 B
Thrift
namespace java com.rbkmoney.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 {}
|