Skip to content

Commit

Permalink
OpenAPI Update (#630)
Browse files Browse the repository at this point in the history
Update OpenAPI for 12788b1abd690d87ddd720c03168e56343e828e4

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Jan 25, 2024
1 parent ccabe90 commit a0027d9
Show file tree
Hide file tree
Showing 4 changed files with 847 additions and 115 deletions.
102 changes: 51 additions & 51 deletions embedded/openapi/fixtures3.beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"resources": {
"account": {
"business_profile": {
"annual_revenue": null,
"estimated_worker_count": null,
"mcc": null,
"name": null,
"product_description": null,
Expand Down Expand Up @@ -376,6 +378,7 @@
},
"capital.financing_offer": {
"account": "acct_1OMeebH46bnxIHYh",
"charged_off_at": 1234567890,
"created": 1702420938,
"expires_after": 1704931200,
"financing_type": "flex_loan",
Expand Down Expand Up @@ -451,7 +454,7 @@
"id": "card_1OMe4BCLDLpHmE6uOaydeTvZ",
"last4": "4242",
"metadata": {},
"name": null,
"name": "Jenny Rosen",
"object": "card",
"tokenization_method": null
},
Expand Down Expand Up @@ -485,7 +488,7 @@
"state": null
},
"email": null,
"name": null,
"name": "Jenny Rosen",
"phone": null
},
"calculated_statement_descriptor": null,
Expand Down Expand Up @@ -575,6 +578,7 @@
"amount_total": null,
"automatic_tax": {
"enabled": false,
"liability": null,
"status": null
},
"billing_address_collection": null,
Expand Down Expand Up @@ -797,7 +801,7 @@
"account_type": "checking",
"bank_name": "STRIPE TEST BANK",
"financial_connections_account": null,
"fingerprint": "DqWZz1tv4VpwS8on",
"fingerprint": "ykKdWTbdcobSIANT",
"last4": "6789",
"networks": {
"preferred": "ach",
Expand All @@ -813,18 +817,7 @@
"return_url": "https://example.com/return",
"setup_future_usage": "off_session",
"setup_intent": null,
"shipping": {
"address": {
"city": "San Francisco",
"country": "US",
"line1": "1234 Fake Street",
"line2": null,
"postal_code": "94102",
"state": "CA"
},
"name": "Jenny Rosen",
"phone": null
}
"shipping": null
},
"country_spec": {
"default_currency": "usd",
Expand Down Expand Up @@ -1115,6 +1108,7 @@
"id": "txr_1OMeecCLDLpHmE6u4OI2hNDW",
"inclusive": false,
"jurisdiction": "DE",
"jurisdiction_level": null,
"livemode": false,
"metadata": {},
"object": "tax_rate",
Expand Down Expand Up @@ -1549,59 +1543,48 @@
"links": {
"data": [
{
"created": 1702420937,
"expired": false,
"expires_at": null,
"file": "file_1OMe4bCLDLpHmE6ueaXq2SbR",
"id": "link_1OMeebCLDLpHmE6uLnphcM5z",
"livemode": false,
"metadata": {},
"object": "file_link",
"url": "https://rwashburne-g8ezbf--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT01lM3JDTERMcEhtRTZ1fGZsX3Rlc3RfVUt1eWZHM1ZyYW93TkpGZjJOWnh4ZUN00051VsNoBe"
},
{
"created": 1702418705,
"created": 1706200034,
"expired": false,
"expires_at": null,
"file": "file_1OMe4bCLDLpHmE6ueaXq2SbR",
"id": "link_1OMe4bCLDLpHmE6ukprsWAB2",
"file": "file_1OcVhzDy8zbvZdAPbMdtICx2",
"id": "link_1OcVlmDy8zbvZdAPLYHrev4d",
"livemode": false,
"metadata": {},
"object": "file_link",
"url": "https://rwashburne-g8ezbf--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT01lM3JDTERMcEhtRTZ1fGZsX3Rlc3RfU1BWbWdMcFVLVTFIUHZpM0lpTFFDRmtm00yC4jtB6H"
"url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfOVlHeXdVdWMyR0lrNVM1ejdGNFBqZmZ2003Ot96ygb"
},
{
"created": 1705517612,
"created": 1706200033,
"expired": false,
"expires_at": null,
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
"id": "link_1OZeEyBdtFoQDc8hkuUWhWwb",
"file": "file_1OcVhzDy8zbvZdAPbMdtICx2",
"id": "link_1OcVllDy8zbvZdAPFm2Rw3az",
"livemode": false,
"metadata": {},
"object": "file_link",
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw"
"url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfMkpENmxlajRVSkN6UWcyN2tDbXJzb1hz00ZUdPIHXo"
},
{
"created": 1705518728,
"created": 1706199800,
"expired": false,
"expires_at": null,
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
"id": "link_1OZeWyBdtFoQDc8hnxJ5gmNE",
"file": "file_1OcVhzDy8zbvZdAPbMdtICx2",
"id": "link_1OcVi0Dy8zbvZdAPelDMzIr9",
"livemode": false,
"metadata": {},
"object": "file_link",
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfaTd5TldodW94MWM0M3pJSld1eDNRbkpL00x9dR5ays"
"url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfSzFXUUhwdTVnTzJNcWFBMTVOYWl4ZE8500ozp8ilyy"
},
{
"created": 1705517612,
"created": 1706199799,
"expired": false,
"expires_at": null,
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
"id": "link_1OZeEyBdtFoQDc8hkuUWhWwb",
"file": "file_1OcVhzDy8zbvZdAPbMdtICx2",
"id": "link_1OcVhzDy8zbvZdAPamJnikfg",
"livemode": false,
"metadata": {},
"object": "file_link",
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw"
"url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfRjJLSVNGMTBoR1FmVldGN2JhV0FaeXVz009hUvBCR4"
}
],
"has_more": false,
Expand Down Expand Up @@ -2637,7 +2620,8 @@
"application_fee_amount": null,
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
"enabled": false,
"liability": null
},
"billing_address_collection": "auto",
"consent_collection": null,
Expand Down Expand Up @@ -2931,6 +2915,8 @@
},
"payment_source": {
"business_profile": {
"annual_revenue": null,
"estimated_worker_count": null,
"mcc": null,
"name": null,
"product_description": null,
Expand Down Expand Up @@ -3190,7 +3176,7 @@
"product": {
"active": true,
"created": 1234567890,
"default_price": "price_1OMe4GCLDLpHmE6uj9Z5NUFO",
"default_price": "price_1OcVhoDy8zbvZdAPqFLkL5vf",
"description": "Comfortable gray cotton t-shirt",
"features": [],
"id": "prod_PB04hpc8sz6smG",
Expand Down Expand Up @@ -3251,6 +3237,7 @@
"application_fee_percent": null,
"automatic_tax": {
"enabled": false,
"liability": null,
"status": null
},
"collection_method": "charge_automatically",
Expand Down Expand Up @@ -3279,7 +3266,10 @@
"id": "qt_1OMeeOCLDLpHmE6uueNJOCPf",
"invoice": null,
"invoice_settings": {
"days_until_due": null
"days_until_due": null,
"issuer": {
"type": "self"
}
},
"livemode": false,
"metadata": {},
Expand Down Expand Up @@ -3966,15 +3956,19 @@
"default_settings": {
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
"enabled": false,
"liability": null
},
"billing_cycle_anchor": "automatic",
"billing_thresholds": null,
"collection_method": "charge_automatically",
"default_payment_method": null,
"description": null,
"invoice_settings": {
"days_until_due": null
"days_until_due": null,
"issuer": {
"type": "self"
}
},
"on_behalf_of": null,
"transfer_data": null
Expand Down Expand Up @@ -4613,13 +4607,19 @@
"created": 1234567890,
"currency": "usd",
"customer": null,
"description": null,
"description": "OutboundPayment to a 3rd party",
"destination_payment_method": null,
"destination_payment_method_details": null,
"end_user_details": null,
"destination_payment_method_details": {
"destination": "ba_1OcVhmGkxD9yTwSQ7jMFO6gg",
"type": "us_bank_account"
},
"end_user_details": {
"ip_address": null,
"present": false
},
"expected_arrival_date": 1234567890,
"financial_account": "fa_1OMeeYCLDLpHmE6unDhjFTR3",
"hosted_regulatory_receipt_url": null,
"hosted_regulatory_receipt_url": "https://pakrym-agrippa-mydev.dev.stripe.me/regulatory-receipt/CBQaFwoVYWNjdF8xT2NWaGVHa3hEOXlUd1NRKJ2Wyq0GMgZ2QpQnXjU6Nf2L1hWUOFKU4MM7DBmGbyCirzoWBUjqQ3QS5OIpYDy8LxXlsMCw4pDnVOEQhVCNUAd1tagZ",
"id": "obp_1OMeeeCLDLpHmE6uj7LV979T",
"livemode": false,
"metadata": {},
Expand Down
54 changes: 29 additions & 25 deletions embedded/openapi/fixtures3.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"resources": {
"account": {
"business_profile": {
"annual_revenue": null,
"estimated_worker_count": null,
"mcc": null,
"name": null,
"product_description": null,
Expand Down Expand Up @@ -379,7 +381,7 @@
"id": "card_1OPoudJN5vQBdWExoijT3YAB",
"last4": "4242",
"metadata": {},
"name": null,
"name": "Jenny Rosen",
"object": "card",
"tokenization_method": null
},
Expand Down Expand Up @@ -413,7 +415,7 @@
"state": null
},
"email": null,
"name": null,
"name": "Jenny Rosen",
"phone": null
},
"calculated_statement_descriptor": null,
Expand Down Expand Up @@ -502,6 +504,7 @@
"amount_total": null,
"automatic_tax": {
"enabled": false,
"liability": null,
"status": null
},
"billing_address_collection": null,
Expand Down Expand Up @@ -984,6 +987,7 @@
"id": "txr_1OPouvJN5vQBdWExvkEZYzsQ",
"inclusive": false,
"jurisdiction": "DE",
"jurisdiction_level": null,
"livemode": false,
"metadata": {},
"object": "tax_rate",
Expand Down Expand Up @@ -1452,37 +1456,26 @@
"url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1hYY1VEMnFQN1F0SmVHfGZsX3Rlc3RfUzNDbHVhMWc0dEJuaWZVTFlQbXVSelhu00rmgafjqm"
},
{
"created": 1705517612,
"expired": false,
"expires_at": null,
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
"id": "link_1OZeEyBdtFoQDc8hkuUWhWwb",
"livemode": false,
"metadata": {},
"object": "file_link",
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw"
},
{
"created": 1705518728,
"created": 1706199800,
"expired": false,
"expires_at": null,
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
"id": "link_1OZeWyBdtFoQDc8hnxJ5gmNE",
"file": "file_1OcVhzDy8zbvZdAPbMdtICx2",
"id": "link_1OcVi0Dy8zbvZdAPelDMzIr9",
"livemode": false,
"metadata": {},
"object": "file_link",
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfaTd5TldodW94MWM0M3pJSld1eDNRbkpL00x9dR5ays"
"url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfSzFXUUhwdTVnTzJNcWFBMTVOYWl4ZE8500ozp8ilyy"
},
{
"created": 1705517612,
"created": 1706199799,
"expired": false,
"expires_at": null,
"file": "file_1OZeEyBdtFoQDc8hiLctksU9",
"id": "link_1OZeEyBdtFoQDc8hkuUWhWwb",
"file": "file_1OcVhzDy8zbvZdAPbMdtICx2",
"id": "link_1OcVhzDy8zbvZdAPamJnikfg",
"livemode": false,
"metadata": {},
"object": "file_link",
"url": "https://anniel-ob52sw--upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT1plRVhCZHRGb1FEYzhofGZsX3Rlc3RfNUZpaDd5YU4yS01sVVVFalBLNDRmb01I00dvOQbCJw"
"url": "https://pakrym-upload-mydev.dev.stripe.me/links/MDB8YWNjdF8xT2NWaGNEeTh6YnZaZEFQfGZsX3Rlc3RfRjJLSVNGMTBoR1FmVldGN2JhV0FaeXVz009hUvBCR4"
}
],
"has_more": false,
Expand Down Expand Up @@ -2365,7 +2358,8 @@
"application_fee_amount": null,
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
"enabled": false,
"liability": null
},
"billing_address_collection": "auto",
"consent_collection": null,
Expand Down Expand Up @@ -2659,6 +2653,8 @@
},
"payment_source": {
"business_profile": {
"annual_revenue": null,
"estimated_worker_count": null,
"mcc": null,
"name": null,
"product_description": null,
Expand Down Expand Up @@ -2978,6 +2974,7 @@
"application_fee_percent": null,
"automatic_tax": {
"enabled": false,
"liability": null,
"status": null
},
"collection_method": "charge_automatically",
Expand Down Expand Up @@ -3006,7 +3003,10 @@
"id": "qt_1OPoumJN5vQBdWExJFNWX8UZ",
"invoice": null,
"invoice_settings": {
"days_until_due": null
"days_until_due": null,
"issuer": {
"type": "self"
}
},
"livemode": false,
"metadata": {},
Expand Down Expand Up @@ -3516,15 +3516,19 @@
"default_settings": {
"application_fee_percent": null,
"automatic_tax": {
"enabled": false
"enabled": false,
"liability": null
},
"billing_cycle_anchor": "automatic",
"billing_thresholds": null,
"collection_method": "charge_automatically",
"default_payment_method": null,
"description": null,
"invoice_settings": {
"days_until_due": null
"days_until_due": null,
"issuer": {
"type": "self"
}
},
"on_behalf_of": null,
"transfer_data": null
Expand Down
Loading

0 comments on commit a0027d9

Please sign in to comment.