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 Mar 31, 2023
1 parent 9944f12 commit e125f62
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 5 deletions.
34 changes: 31 additions & 3 deletions openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -4307,7 +4307,8 @@
"has_collection_class": true,
"in_package": "Capital",
"inner_classes": [
"capital_connect_financing_transaction_details"
"capital_connect_financing_transaction_details",
"capital_connect_financing_transaction_details_transaction"
]
}
},
Expand Down Expand Up @@ -4522,7 +4523,7 @@
"type": "integer"
},
"linked_payment": {
"description": "The linked payment for the transaction. This field only applies to\nfinancing transactions of type `paydown` and reason `automatic_withholding`.",
"description": "The linked payment for the transaction. This field only applies to financing transactions of type `paydown` and reason `automatic_withholding`.",
"maxLength": 5000,
"type": "string"
},
Expand All @@ -4548,6 +4549,9 @@
"total_amount": {
"description": "The advance and fee amount being repaid, paid out, or reversed in minor units.",
"type": "integer"
},
"transaction": {
"$ref": "#/components/schemas/capital_connect_financing_transaction_details_transaction"
}
},
"required": [
Expand All @@ -4558,12 +4562,36 @@
],
"title": "CapitalConnectFinancingTransactionDetails",
"type": "object",
"x-expandableFields": [],
"x-expandableFields": [
"transaction"
],
"x-stripeResource": {
"class_name": "Details",
"in_class": "capital.financing_transaction"
}
},
"capital_connect_financing_transaction_details_transaction": {
"description": "This is an object representing a linked transaction on a Capital Financing Transaction.",
"properties": {
"charge": {
"description": "The linked payment ID.",
"maxLength": 5000,
"type": "string"
},
"treasury_transaction": {
"description": "The linked Treasury Financing Transaction ID.",
"maxLength": 5000,
"type": "string"
}
},
"title": "CapitalConnectFinancingTransactionDetailsTransaction",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "Transaction",
"in_class": "capital.financing_transaction"
}
},
"card": {
"description": "You can store multiple cards on a customer in order to charge the customer\nlater. You can also store multiple debit cards on a recipient in order to\ntransfer to those cards later.\n\nRelated guide: [Card Payments with Sources](https://stripe.com/docs/sources/cards).",
"properties": {
Expand Down
27 changes: 25 additions & 2 deletions openapi/spec3.beta.sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4048,6 +4048,7 @@ components:
in_package: Capital
inner_classes:
- capital_connect_financing_transaction_details
- capital_connect_financing_transaction_details_transaction
capital_connect_connect_financing_accepted_terms:
description: |-
This is an object representing the terms of an offer of financing from
Expand Down Expand Up @@ -4267,7 +4268,6 @@ components:
linked_payment:
description: >-
The linked payment for the transaction. This field only applies to

financing transactions of type `paydown` and reason
`automatic_withholding`.
maxLength: 5000
Expand Down Expand Up @@ -4295,17 +4295,40 @@ components:
The advance and fee amount being repaid, paid out, or reversed in
minor units.
type: integer
transaction:
$ref: >-
#/components/schemas/capital_connect_financing_transaction_details_transaction
required:
- advance_amount
- currency
- fee_amount
- total_amount
title: CapitalConnectFinancingTransactionDetails
type: object
x-expandableFields: []
x-expandableFields:
- transaction
x-stripeResource:
class_name: Details
in_class: capital.financing_transaction
capital_connect_financing_transaction_details_transaction:
description: >-
This is an object representing a linked transaction on a Capital
Financing Transaction.
properties:
charge:
description: The linked payment ID.
maxLength: 5000
type: string
treasury_transaction:
description: The linked Treasury Financing Transaction ID.
maxLength: 5000
type: string
title: CapitalConnectFinancingTransactionDetailsTransaction
type: object
x-expandableFields: []
x-stripeResource:
class_name: Transaction
in_class: capital.financing_transaction
card:
description: >-
You can store multiple cards on a customer in order to charge the
Expand Down

0 comments on commit e125f62

Please sign in to comment.