Skip to content

Commit 7c29ca7

Browse files
authored
Merge pull request #537 from bbiggerr/payment-4-106-0
Add Payment Make restrictions
2 parents 56bea07 + b920327 commit 7c29ca7

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

openapi.yaml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20978,10 +20978,16 @@ components:
2097820978
example: '123'
2097920979
usd:
2098020980
type: string
20981-
description: >
20982-
The amount in US Dollars of the Payment. The maximum credit card
20983-
payment that can be made is $50,000 dollars.
20984-
example: '120.50'
20981+
pattern: ^\$?\d+\.\d{2}$
20982+
description: |
20983+
The amount in US Dollars of the Payment.
20984+
20985+
* Can begin with or without `$`.
20986+
* Commas (`,`) are not accepted.
20987+
* Must end with a decimal expression, such as `.00` or `.99`.
20988+
* Minimum: `$5.00` or the Account balance, whichever is lower.
20989+
* Maximum: `$2000.00` or the Account balance up to `$50000.00`, whichever is greater.
20990+
example: '$120.50'
2098520991
payment_method_id:
2098620992
type: integer
2098720993
description: >

0 commit comments

Comments
 (0)