diff options
Diffstat (limited to 'talerbank/app/schemas.py')
-rw-r--r-- | talerbank/app/schemas.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/talerbank/app/schemas.py b/talerbank/app/schemas.py index b6aaeb2..b4c64ce 100644 --- a/talerbank/app/schemas.py +++ b/talerbank/app/schemas.py @@ -236,6 +236,15 @@ class WithdrawHeadless(forms.Form): reserve_pub = forms.CharField() exchange_wire_details = PaytoField(required=False) +class WithdrawHeadlessUri(forms.Form): + amount = forms.CharField( + validators=[ + RegexValidator( + AMOUNT_REGEX, message="Format CURRENCY:X[.Y] not respected" + ) + ] + ) + class PinTanParams(forms.Form): amount_currency = forms.CharField( |