PROX-371: add PreAuthorizationFailure (#520)

* PROX-371: add PreAuthorizationFailure
This commit is contained in:
Anatoly Cherkasov 2019-12-05 22:34:34 +03:00 committed by GitHub
parent 5a78a60263
commit 5227a28c80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,7 +69,7 @@ namespace erlang payprocerr
union PaymentFailure {
1: GeneralFailure rejected_by_inspector
2: GeneralFailure preauthorization_failed
2: PreAuthorizationFailure preauthorization_failed
3: AuthorizationFailure authorization_failed
4: NoRouteFoundFailure no_route_found
}
@ -79,6 +79,12 @@ union RefundFailure {
2: AuthorizationFailure authorization_failed
}
union PreAuthorizationFailure {
1: GeneralFailure unknown
2: GeneralFailure three_ds_not_finished
3: GeneralFailure three_ds_failed
}
union AuthorizationFailure {
1: GeneralFailure unknown
2: GeneralFailure merchant_blocked