Skip to content

Commit 5188c76

Browse files
jamesottingerGitHub Enterprise
authored andcommitted
Merge pull request #20 from jsager/lastfour-expiry
new: adds last_four and expiry to credit card envelope in GET /account
2 parents 7088769 + 8cd2c3c commit 5188c76

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

openapi.yaml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8252,6 +8252,21 @@ components:
82528252
description: The city for this Account's billing address.
82538253
maxLength: 24
82548254
example: Philadelphia
8255+
credit_card:
8256+
type: object
8257+
readOnly: true
8258+
description: Credit Card information associated with this Account.
8259+
properties:
8260+
last_four:
8261+
type: string
8262+
description: >
8263+
The last four digits of the credit card associated with this
8264+
Account.
8265+
example: 1111
8266+
expiry:
8267+
type: string
8268+
description: The expiration month and year of the credit card.
8269+
example: 11/2022
82558270
company:
82568271
type: string
82578272
description: The company name associated with this Account.

0 commit comments

Comments
 (0)