Skip to content

Commit 2bb2cc1

Browse files
committed
bug: Fixed min/max length of credit card number accepted
These match the API values. CC M3-610 Also added a format of "PAN" so the CLI can treat this like a password input
1 parent f049753 commit 2bb2cc1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

openapi.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10073,9 +10073,10 @@ components:
1007310073
properties:
1007410074
card_number:
1007510075
type: string
10076+
format: PAN
1007610077
description: Your credit card number. No spaces or dashes allowed.
10077-
minLength: 16
10078-
maxLength: 16
10078+
minLength: 13
10079+
maxLength: 23
1007910080
example: 4111111111111111
1008010081
expiry_month:
1008110082
type: integer

0 commit comments

Comments
 (0)