Skip to content

Commit

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

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Dec 15, 2023
1 parent 3b86087 commit 63d66b1
Show file tree
Hide file tree
Showing 2 changed files with 402 additions and 0 deletions.
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

0 comments on commit 63d66b1

Please sign in to comment.