Skip to content

Commit fa68d58

Browse files
Update OpenAPI for 04e35a61323136bb49e29de2ecbd0e3d0fc9fe39
1 parent ce3f104 commit fa68d58

File tree

1 file changed

+55
-1
lines changed

1 file changed

+55
-1
lines changed

embedded/openapi/spec3.beta.sdk.json

Lines changed: 55 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6382,9 +6382,19 @@
63826382
"amount": {
63836383
"$ref": "#/components/schemas/billing_credit_grants_resource_amount"
63846384
},
6385+
"credits_application_invoice_voided": {
6386+
"anyOf": [
6387+
{
6388+
"$ref": "#/components/schemas/billing_credit_grants_resource_balance_credits_application_invoice_voided"
6389+
}
6390+
],
6391+
"description": "Details of the invoice to which the reinstated credits were originally applied. Only present if `type` is `credits_application_invoice_voided`.",
6392+
"nullable": true
6393+
},
63856394
"type": {
63866395
"description": "The type of credit transaction.",
63876396
"enum": [
6397+
"credits_application_invoice_voided",
63886398
"credits_granted"
63896399
],
63906400
"type": "string"
@@ -6397,13 +6407,57 @@
63976407
"title": "BillingCreditGrantsResourceBalanceCredit",
63986408
"type": "object",
63996409
"x-expandableFields": [
6400-
"amount"
6410+
"amount",
6411+
"credits_application_invoice_voided"
64016412
],
64026413
"x-stripeMostCommon": [
64036414
"amount",
6415+
"credits_application_invoice_voided",
64046416
"type"
64056417
]
64066418
},
6419+
"billing_credit_grants_resource_balance_credits_application_invoice_voided": {
6420+
"description": "",
6421+
"properties": {
6422+
"invoice": {
6423+
"anyOf": [
6424+
{
6425+
"maxLength": 5000,
6426+
"type": "string"
6427+
},
6428+
{
6429+
"$ref": "#/components/schemas/invoice"
6430+
}
6431+
],
6432+
"description": "The invoice to which the reinstated billing credits were originally applied.",
6433+
"x-expansionResources": {
6434+
"oneOf": [
6435+
{
6436+
"$ref": "#/components/schemas/invoice"
6437+
}
6438+
]
6439+
}
6440+
},
6441+
"invoice_line_item": {
6442+
"description": "The invoice line item to which the reinstated billing credits were originally applied.",
6443+
"maxLength": 5000,
6444+
"type": "string"
6445+
}
6446+
},
6447+
"required": [
6448+
"invoice",
6449+
"invoice_line_item"
6450+
],
6451+
"title": "BillingCreditGrantsResourceBalanceCreditsApplicationInvoiceVoided",
6452+
"type": "object",
6453+
"x-expandableFields": [
6454+
"invoice"
6455+
],
6456+
"x-stripeMostCommon": [
6457+
"invoice",
6458+
"invoice_line_item"
6459+
]
6460+
},
64076461
"billing_credit_grants_resource_balance_credits_applied": {
64086462
"description": "",
64096463
"properties": {

0 commit comments

Comments
 (0)