Skip to content

Commit

Permalink
Update OpenAPI specification
Browse files Browse the repository at this point in the history
  • Loading branch information
stripe-openapi[bot] committed Aug 29, 2023
1 parent e138d60 commit 047ed10
Show file tree
Hide file tree
Showing 6 changed files with 99 additions and 0 deletions.
13 changes: 13 additions & 0 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -157957,50 +157957,62 @@
{
"properties": {
"address_city": {
"description": "City / District / Suburb / Town / Village.",
"maxLength": 5000,
"type": "string"
},
"address_country": {
"description": "Billing address country, if provided.",
"maxLength": 5000,
"type": "string"
},
"address_line1": {
"description": "Address line 1 (Street address / PO Box / Company name).",
"maxLength": 5000,
"type": "string"
},
"address_line2": {
"description": "Address line 2 (Apartment / Suite / Unit / Building).",
"maxLength": 5000,
"type": "string"
},
"address_state": {
"description": "State / County / Province / Region.",
"maxLength": 5000,
"type": "string"
},
"address_zip": {
"description": "ZIP or postal code.",
"maxLength": 5000,
"type": "string"
},
"currency": {
"description": "Required in order to add the card to an account; in all other cases, this parameter is not used. When added to an account, the card (which must be a debit card) can be used as a transfer destination for funds in this currency.",
"maxLength": 5000,
"type": "string"
},
"cvc": {
"description": "Card security code. Highly recommended to always include this value.",
"maxLength": 5000,
"type": "string"
},
"exp_month": {
"description": "Two-digit number representing the card's expiration month.",
"maxLength": 5000,
"type": "string"
},
"exp_year": {
"description": "Two- or four-digit number representing the card's expiration year.",
"maxLength": 5000,
"type": "string"
},
"name": {
"description": "Cardholder's full name.",
"maxLength": 5000,
"type": "string"
},
"number": {
"description": "The card number, as a string without any separators.",
"maxLength": 5000,
"type": "string"
}
Expand All @@ -158021,6 +158033,7 @@
"type": "string"
}
],
"description": "The card this token will represent. If you also pass in a customer, the card must be the ID of a card belonging to the customer. Otherwise, if you do not pass in a customer, this is a dictionary containing a user's credit card details, with the options described below.",
"x-stripeBypassValidation": true
},
"customer": {
Expand Down
33 changes: 33 additions & 0 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -147917,39 +147917,66 @@ paths:
anyOf:
- properties:
address_city:
description: City / District / Suburb / Town / Village.
maxLength: 5000
type: string
address_country:
description: 'Billing address country, if provided.'
maxLength: 5000
type: string
address_line1:
description: >-
Address line 1 (Street address / PO Box / Company
name).
maxLength: 5000
type: string
address_line2:
description: >-
Address line 2 (Apartment / Suite / Unit /
Building).
maxLength: 5000
type: string
address_state:
description: State / County / Province / Region.
maxLength: 5000
type: string
address_zip:
description: ZIP or postal code.
maxLength: 5000
type: string
currency:
description: >-
Required in order to add the card to an account; in
all other cases, this parameter is not used. When
added to an account, the card (which must be a debit
card) can be used as a transfer destination for
funds in this currency.
maxLength: 5000
type: string
cvc:
description: >-
Card security code. Highly recommended to always
include this value.
maxLength: 5000
type: string
exp_month:
description: >-
Two-digit number representing the card's expiration
month.
maxLength: 5000
type: string
exp_year:
description: >-
Two- or four-digit number representing the card's
expiration year.
maxLength: 5000
type: string
name:
description: Cardholder's full name.
maxLength: 5000
type: string
number:
description: 'The card number, as a string without any separators.'
maxLength: 5000
type: string
required:
Expand All @@ -147962,6 +147989,12 @@ paths:
class_name: Card
- maxLength: 5000
type: string
description: >-
The card this token will represent. If you also pass in a
customer, the card must be the ID of a card belonging to the
customer. Otherwise, if you do not pass in a customer, this
is a dictionary containing a user's credit card details,
with the options described below.
x-stripeBypassValidation: true
customer:
description: >-
Expand Down
1 change: 1 addition & 0 deletions openapi/spec3.json
Original file line number Diff line number Diff line change
Expand Up @@ -123311,6 +123311,7 @@
"type": "string"
}
],
"description": "The card this token will represent. If you also pass in a customer, the card must be the ID of a card belonging to the customer. Otherwise, if you do not pass in a customer, this is a dictionary containing a user's credit card details, with the options described below.",
"x-stripeBypassValidation": true
},
"customer": {
Expand Down
13 changes: 13 additions & 0 deletions openapi/spec3.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -127627,50 +127627,62 @@
{
"properties": {
"address_city": {
"description": "City / District / Suburb / Town / Village.",
"maxLength": 5000,
"type": "string"
},
"address_country": {
"description": "Billing address country, if provided.",
"maxLength": 5000,
"type": "string"
},
"address_line1": {
"description": "Address line 1 (Street address / PO Box / Company name).",
"maxLength": 5000,
"type": "string"
},
"address_line2": {
"description": "Address line 2 (Apartment / Suite / Unit / Building).",
"maxLength": 5000,
"type": "string"
},
"address_state": {
"description": "State / County / Province / Region.",
"maxLength": 5000,
"type": "string"
},
"address_zip": {
"description": "ZIP or postal code.",
"maxLength": 5000,
"type": "string"
},
"currency": {
"description": "Required in order to add the card to an account; in all other cases, this parameter is not used. When added to an account, the card (which must be a debit card) can be used as a transfer destination for funds in this currency.",
"maxLength": 5000,
"type": "string"
},
"cvc": {
"description": "Card security code. Highly recommended to always include this value.",
"maxLength": 5000,
"type": "string"
},
"exp_month": {
"description": "Two-digit number representing the card's expiration month.",
"maxLength": 5000,
"type": "string"
},
"exp_year": {
"description": "Two- or four-digit number representing the card's expiration year.",
"maxLength": 5000,
"type": "string"
},
"name": {
"description": "Cardholder's full name.",
"maxLength": 5000,
"type": "string"
},
"number": {
"description": "The card number, as a string without any separators.",
"maxLength": 5000,
"type": "string"
}
Expand All @@ -127691,6 +127703,7 @@
"type": "string"
}
],
"description": "The card this token will represent. If you also pass in a customer, the card must be the ID of a card belonging to the customer. Otherwise, if you do not pass in a customer, this is a dictionary containing a user's credit card details, with the options described below.",
"x-stripeBypassValidation": true
},
"customer": {
Expand Down
33 changes: 33 additions & 0 deletions openapi/spec3.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119528,39 +119528,66 @@ paths:
anyOf:
- properties:
address_city:
description: City / District / Suburb / Town / Village.
maxLength: 5000
type: string
address_country:
description: 'Billing address country, if provided.'
maxLength: 5000
type: string
address_line1:
description: >-
Address line 1 (Street address / PO Box / Company
name).
maxLength: 5000
type: string
address_line2:
description: >-
Address line 2 (Apartment / Suite / Unit /
Building).
maxLength: 5000
type: string
address_state:
description: State / County / Province / Region.
maxLength: 5000
type: string
address_zip:
description: ZIP or postal code.
maxLength: 5000
type: string
currency:
description: >-
Required in order to add the card to an account; in
all other cases, this parameter is not used. When
added to an account, the card (which must be a debit
card) can be used as a transfer destination for
funds in this currency.
maxLength: 5000
type: string
cvc:
description: >-
Card security code. Highly recommended to always
include this value.
maxLength: 5000
type: string
exp_month:
description: >-
Two-digit number representing the card's expiration
month.
maxLength: 5000
type: string
exp_year:
description: >-
Two- or four-digit number representing the card's
expiration year.
maxLength: 5000
type: string
name:
description: Cardholder's full name.
maxLength: 5000
type: string
number:
description: 'The card number, as a string without any separators.'
maxLength: 5000
type: string
required:
Expand All @@ -119573,6 +119600,12 @@ paths:
class_name: Card
- maxLength: 5000
type: string
description: >-
The card this token will represent. If you also pass in a
customer, the card must be the ID of a card belonging to the
customer. Otherwise, if you do not pass in a customer, this
is a dictionary containing a user's credit card details,
with the options described below.
x-stripeBypassValidation: true
customer:
description: >-
Expand Down
6 changes: 6 additions & 0 deletions openapi/spec3.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103909,6 +103909,12 @@ paths:
type: object
- maxLength: 5000
type: string
description: >-
The card this token will represent. If you also pass in a
customer, the card must be the ID of a card belonging to the
customer. Otherwise, if you do not pass in a customer, this
is a dictionary containing a user's credit card details,
with the options described below.
x-stripeBypassValidation: true
customer:
description: >-
Expand Down

0 comments on commit 047ed10

Please sign in to comment.