Skip to content

Commit

Permalink
OpenAPI Update (#958)
Browse files Browse the repository at this point in the history
* Update OpenAPI for d5c0875f9c7bda6824c65f4bd658378004c4c5bf

* fix tests

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: David Brownman <xavdid@stripe.com>
  • Loading branch information
stripe-openapi[bot] and xavdid-stripe authored Sep 25, 2024
1 parent 2512e5e commit 9144c82
Show file tree
Hide file tree
Showing 4 changed files with 35,524 additions and 6,284 deletions.
193 changes: 145 additions & 48 deletions embedded/openapi/fixtures3.json
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,8 @@
"status": "unavailable"
},
"three_d_secure": null,
"wallet": null
"wallet": null,
"authorization_code": null
},
"type": "card"
},
Expand Down Expand Up @@ -664,15 +665,15 @@
"setup_intent": null,
"shipping_address_collection": null,
"shipping_cost": null,
"shipping_details": null,
"shipping_options": [],
"status": "open",
"submit_type": null,
"subscription": null,
"success_url": "https://example.com/success",
"total_details": null,
"ui_mode": "hosted",
"url": "https://checkout.stripe.com/pay/c/cs_test_a1YS1URlnyQCN5fUUduORoQ7Pw41PJqDWkIVQCpJPqkfIhd6tVY8XB1OLY"
"url": "https://checkout.stripe.com/pay/c/cs_test_a1YS1URlnyQCN5fUUduORoQ7Pw41PJqDWkIVQCpJPqkfIhd6tVY8XB1OLY",
"shipping_details": null
},
"climate.order": {
"amount_fees": 300,
Expand Down Expand Up @@ -2092,7 +2093,8 @@
"total_excluding_tax": 1000,
"total_tax_amounts": [],
"transfer_data": null,
"webhooks_delivered_at": 1234567890
"webhooks_delivered_at": 1234567890,
"automatically_finalizes_at": null
},
"invoiceitem": {
"amount": 1000,
Expand Down Expand Up @@ -2466,7 +2468,8 @@
"object": "issuing.settlement",
"settlement_service": "international",
"transaction_count": 2,
"transaction_volume": 3656
"transaction_volume": 3656,
"status": "complete"
},
"issuing.token": {
"card": "ic_1Pgag5B7WZ01zgkWephORn8N",
Expand Down Expand Up @@ -2725,7 +2728,8 @@
"submit_type": "auto",
"subscription_data": null,
"tax_id_collection": {
"enabled": false
"enabled": false,
"required": "never"
},
"transfer_data": null,
"url": "https://sangeekp-15t6ai--payment_links_ingress-mydev.dev.stripe.me/test_eVa16Q1Vd7yU1Ne8ww"
Expand Down Expand Up @@ -3496,24 +3500,7 @@
"interval_start": 1522540800
},
"report_type": "balance.summary.1",
"result": {
"created": 1721948551,
"expires_at": 1753484551,
"filename": "file_1Pgag7B7WZ01zgkWZFBKk3TC",
"id": "file_1Pgag7B7WZ01zgkWZFBKk3TC",
"links": {
"data": [],
"has_more": false,
"object": "list",
"url": "/v1/file_links?file=file_1Pgag7B7WZ01zgkWZFBKk3TC"
},
"object": "file",
"purpose": "finance_report_run",
"size": 16890,
"title": null,
"type": "csv",
"url": "https://sangeekp-15t6ai--upload-mydev.dev.stripe.me/v1/files/file_1Pgag7B7WZ01zgkWZFBKk3TC/contents"
},
"result": null,
"status": "succeeded",
"succeeded_at": 1234567890
},
Expand Down Expand Up @@ -3551,24 +3538,7 @@
"scheduled_query_run": {
"created": 1234567890,
"data_load_time": 1234567890,
"file": {
"created": 1721948551,
"expires_at": null,
"filename": "path",
"id": "file_1Pgag7B7WZ01zgkWJbdoNCXR",
"links": {
"data": [],
"has_more": false,
"object": "list",
"url": "/v1/file_links?file=file_1Pgag7B7WZ01zgkWJbdoNCXR"
},
"object": "file",
"purpose": "sigma_scheduled_query",
"size": 500,
"title": null,
"type": "csv",
"url": "https://sangeekp-15t6ai--upload-mydev.dev.stripe.me/v1/files/file_1Pgag7B7WZ01zgkWJbdoNCXR/contents"
},
"file": null,
"id": "sqr_1Pgc7AB7WZ01zgkWvpIic1Di",
"livemode": false,
"object": "scheduled_query_run",
Expand Down Expand Up @@ -4343,7 +4313,8 @@
"livemode": false,
"name": null,
"object": "test_helpers.test_clock",
"status": "ready"
"status": "ready",
"status_details": {}
},
"token": {
"card": {
Expand Down Expand Up @@ -4964,30 +4935,156 @@
},
"billing.alert": {
"alert_type": "usage_threshold",
"filter": null,
"id": "obj_123",
"livemode": true,
"object": "billing.alert",
"status": null,
"title": "title",
"usage_threshold_config": null
"usage_threshold": null
},
"billing.alert_triggered": {
"alert": {
"alert_type": "usage_threshold",
"filter": null,
"id": "obj_123",
"livemode": true,
"object": "billing.alert",
"status": null,
"title": "title",
"usage_threshold_config": null
"usage_threshold": null
},
"created": 1028554472,
"customer": "customer",
"livemode": true,
"object": "billing.alert_triggered",
"value": 111972721
},
"invoice_rendering_template": {
"created": 1028554472,
"id": "obj_123",
"livemode": true,
"metadata": null,
"nickname": null,
"object": "invoice_rendering_template",
"status": "active",
"version": 351608024
},
"billing.credit_balance_summary": {
"balances": [
{
"available_balance": {
"monetary": null,
"type": "monetary"
},
"ledger_balance": {
"monetary": null,
"type": "monetary"
}
}
],
"customer": {
"created": 1028554472,
"default_source": null,
"description": null,
"email": null,
"id": "obj_123",
"livemode": true,
"object": "customer",
"shipping": null
},
"livemode": true,
"object": "billing.credit_balance_summary"
},
"billing.credit_balance_transaction": {
"created": 1028554472,
"credit": null,
"credit_grant": {
"amount": {
"monetary": null,
"type": "monetary"
},
"applicability_config": {
"scope": {
"price_type": "metered"
}
},
"category": "paid",
"created": 1028554472,
"customer": {
"created": 1028554472,
"default_source": null,
"description": null,
"email": null,
"id": "obj_123",
"livemode": true,
"object": "customer",
"shipping": null
},
"effective_at": null,
"expires_at": null,
"id": "obj_123",
"livemode": true,
"metadata": {
"undefined": "metadata"
},
"name": null,
"object": "billing.credit_grant",
"test_clock": null,
"updated": 234430277,
"voided_at": null
},
"debit": null,
"effective_at": 247108043,
"id": "obj_123",
"livemode": true,
"object": "billing.credit_balance_transaction",
"test_clock": null,
"type": null
},
"billing.credit_grant": {
"amount": {
"monetary": null,
"type": "monetary"
},
"applicability_config": {
"scope": {
"price_type": "metered"
}
},
"category": "paid",
"created": 1028554472,
"customer": {
"created": 1028554472,
"default_source": null,
"description": null,
"email": null,
"id": "obj_123",
"livemode": true,
"object": "customer",
"shipping": null
},
"effective_at": null,
"expires_at": null,
"id": "obj_123",
"livemode": true,
"metadata": {
"undefined": "metadata"
},
"name": null,
"object": "billing.credit_grant",
"test_clock": null,
"updated": 234430277,
"voided_at": null
},
"margin": {
"active": true,
"created": 1028554472,
"id": "obj_123",
"livemode": true,
"metadata": null,
"name": null,
"object": "margin",
"percent_off": 1487902325,
"updated": 234430277
}
}
}
}
Loading

0 comments on commit 9144c82

Please sign in to comment.