Skip to content

Commit

Permalink
Add encryption flag to card details in API and token schemas
Browse files Browse the repository at this point in the history
- Add `x-encripted: true` flag to `exp_month`, `exp_year`, and `name` properties in both the API and token schemas.
  • Loading branch information
fcarrero committed Nov 7, 2024
1 parent 1891e21 commit ebf2b0c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _build/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16887,12 +16887,14 @@ components:
example: "12"
maxLength: 2
type: string
x-encripted: true
exp_year:
description: It is a value that allows identifying the expiration year of
the card.
example: "26"
maxLength: 2
type: string
x-encripted: true
name:
description: It is a value that allows identifying the name of the cardholder.
example: Miguel
Expand Down
2 changes: 2 additions & 0 deletions schemas/tokens/token.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ properties:
description: "It is a value that allows identifying the expiration month of the card."
example: "12"
maxLength: 2
x-encripted: true
exp_year:
type: string
description: "It is a value that allows identifying the expiration year of the card."
example: "26"
maxLength: 2
x-encripted: true
name:
type: string
description: "It is a value that allows identifying the name of the cardholder."
Expand Down

0 comments on commit ebf2b0c

Please sign in to comment.