Skip to content

Commit

Permalink
OpenAPI Update (#506)
Browse files Browse the repository at this point in the history
Update OpenAPI for c17ecb42ba91f7a244b3050607abdbf1cd62b727

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Oct 27, 2023
1 parent 43dbe7f commit 1426fde
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 2 deletions.
31 changes: 30 additions & 1 deletion embedded/openapi/spec3.beta.sdk.json
Expand Up @@ -2975,7 +2975,7 @@
"instant_available": {
"description": "Funds that you can pay out using Instant Payouts.",
"items": {
"$ref": "#/components/schemas/balance_amount"
"$ref": "#/components/schemas/balance_amount_net"
},
"type": "array"
},
Expand Down Expand Up @@ -3100,6 +3100,35 @@
"in_package": ""
}
},
"balance_amount_net": {
"description": "",
"properties": {
"amount": {
"description": "Balance amount.",
"type": "integer"
},
"currency": {
"description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
"type": "string"
},
"source_types": {
"$ref": "#/components/schemas/balance_amount_by_source_type"
}
},
"required": [
"amount",
"currency"
],
"title": "BalanceAmountNet",
"type": "object",
"x-expandableFields": [
"source_types"
],
"x-stripeResource": {
"class_name": "Money",
"in_package": ""
}
},
"balance_detail": {
"description": "",
"properties": {
Expand Down
27 changes: 26 additions & 1 deletion embedded/openapi/spec3.json
Expand Up @@ -2032,7 +2032,7 @@
"instant_available": {
"description": "Funds that you can pay out using Instant Payouts.",
"items": {
"$ref": "#/components/schemas/balance_amount"
"$ref": "#/components/schemas/balance_amount_net"
},
"type": "array"
},
Expand Down Expand Up @@ -2120,6 +2120,31 @@
"type": "object",
"x-expandableFields": []
},
"balance_amount_net": {
"description": "",
"properties": {
"amount": {
"description": "Balance amount.",
"type": "integer"
},
"currency": {
"description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).",
"type": "string"
},
"source_types": {
"$ref": "#/components/schemas/balance_amount_by_source_type"
}
},
"required": [
"amount",
"currency"
],
"title": "BalanceAmountNet",
"type": "object",
"x-expandableFields": [
"source_types"
]
},
"balance_detail": {
"description": "",
"properties": {
Expand Down

0 comments on commit 1426fde

Please sign in to comment.