Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenAPI Update #573

Merged
merged 1 commit into from
Dec 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
211 changes: 211 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -13955,6 +13955,17 @@
"in_package": ""
}
},
"destination_details_unimplemented": {
"description": "",
"properties": {},
"title": "destination_details_unimplemented",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "UnimplementedDetails",
"in_package": ""
}
},
"discount": {
"description": "A discount represents the actual application of a [coupon](https://stripe.com/docs/api#coupons) or [promotion code](https://stripe.com/docs/api#promotion_codes).\nIt contains information about when the discount began, when it will end, and what it is applied to.\n\nRelated guide: [Applying discounts to subscriptions](https://stripe.com/docs/billing/subscriptions/discounts)",
"properties": {
Expand Down Expand Up @@ -52354,6 +52365,9 @@
"maxLength": 5000,
"type": "string"
},
"destination_details": {
"$ref": "#/components/schemas/refund_destination_details"
},
"failure_balance_transaction": {
"anyOf": [
{
Expand Down Expand Up @@ -52513,6 +52527,7 @@
"x-expandableFields": [
"balance_transaction",
"charge",
"destination_details",
"failure_balance_transaction",
"next_action",
"payment_intent",
Expand Down Expand Up @@ -52619,6 +52634,202 @@
"type": "refund.updated"
}
},
"refund_destination_details": {
"description": "",
"properties": {
"affirm": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"afterpay_clearpay": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"alipay": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"au_bank_transfer": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"blik": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"br_bank_transfer": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"card": {
"$ref": "#/components/schemas/refund_destination_details_card"
},
"cashapp": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"customer_cash_balance": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"eps": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"eu_bank_transfer": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"gb_bank_transfer": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"giropay": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"grabpay": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"jp_bank_transfer": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"klarna": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"mx_bank_transfer": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"p24": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"paynow": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"paypal": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"pix": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"revolut": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"sofort": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"th_bank_transfer": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"type": {
"description": "The type of transaction-specific details of the payment method used in the refund (e.g., `card`). An additional hash is included on `destination_details` with a name matching this value. It contains information specific to the refund transaction.",
"maxLength": 5000,
"type": "string"
},
"us_bank_transfer": {
"$ref": "#/components/schemas/refund_destination_details_generic"
},
"wechat_pay": {
"$ref": "#/components/schemas/destination_details_unimplemented"
},
"zip": {
"$ref": "#/components/schemas/destination_details_unimplemented"
}
},
"required": [
"type"
],
"title": "refund_destination_details",
"type": "object",
"x-expandableFields": [
"affirm",
"afterpay_clearpay",
"alipay",
"au_bank_transfer",
"blik",
"br_bank_transfer",
"card",
"cashapp",
"customer_cash_balance",
"eps",
"eu_bank_transfer",
"gb_bank_transfer",
"giropay",
"grabpay",
"jp_bank_transfer",
"klarna",
"mx_bank_transfer",
"p24",
"paynow",
"paypal",
"pix",
"revolut",
"sofort",
"th_bank_transfer",
"us_bank_transfer",
"wechat_pay",
"zip"
],
"x-stripeResource": {
"class_name": "DestinationDetails",
"in_package": ""
}
},
"refund_destination_details_card": {
"description": "",
"properties": {
"reference": {
"description": "Value of the reference number assigned to the refund.",
"maxLength": 5000,
"type": "string"
},
"reference_status": {
"description": "Status of the reference number on the refund. This can be `pending`, `available` or `unavailable`.",
"maxLength": 5000,
"type": "string"
},
"reference_type": {
"description": "Type of the reference number assigned to the refund.",
"maxLength": 5000,
"type": "string"
},
"type": {
"description": "The type of refund. This can be `refund`, `reversal`, or `pending`.",
"enum": [
"pending",
"refund",
"reversal"
],
"type": "string"
}
},
"required": [
"type"
],
"title": "refund_destination_details_card",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "Card",
"in_package": ""
}
},
"refund_destination_details_generic": {
"description": "",
"properties": {
"reference": {
"description": "The reference assigned to the refund.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"reference_status": {
"description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
"maxLength": 5000,
"nullable": true,
"type": "string"
}
},
"required": [
"reference",
"reference_status"
],
"title": "refund_destination_details_generic",
"type": "object",
"x-expandableFields": [],
"x-stripeResource": {
"class_name": "GenericDetails",
"in_package": ""
}
},
"refund_next_action": {
"description": "",
"properties": {
Expand Down
Loading
Loading