Skip to content

Commit 63d66b1

Browse files
OpenAPI Update (#573)
Update OpenAPI for ccd544a25be20f2739d2a237f298eb041b27e8bb Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
1 parent 3b86087 commit 63d66b1

File tree

2 files changed

+402
-0
lines changed

2 files changed

+402
-0
lines changed

embedded/openapi/spec3.beta.sdk.json

+211
Original file line numberDiff line numberDiff line change
@@ -13955,6 +13955,17 @@
1395513955
"in_package": ""
1395613956
}
1395713957
},
13958+
"destination_details_unimplemented": {
13959+
"description": "",
13960+
"properties": {},
13961+
"title": "destination_details_unimplemented",
13962+
"type": "object",
13963+
"x-expandableFields": [],
13964+
"x-stripeResource": {
13965+
"class_name": "UnimplementedDetails",
13966+
"in_package": ""
13967+
}
13968+
},
1395813969
"discount": {
1395913970
"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)",
1396013971
"properties": {
@@ -52354,6 +52365,9 @@
5235452365
"maxLength": 5000,
5235552366
"type": "string"
5235652367
},
52368+
"destination_details": {
52369+
"$ref": "#/components/schemas/refund_destination_details"
52370+
},
5235752371
"failure_balance_transaction": {
5235852372
"anyOf": [
5235952373
{
@@ -52513,6 +52527,7 @@
5251352527
"x-expandableFields": [
5251452528
"balance_transaction",
5251552529
"charge",
52530+
"destination_details",
5251652531
"failure_balance_transaction",
5251752532
"next_action",
5251852533
"payment_intent",
@@ -52619,6 +52634,202 @@
5261952634
"type": "refund.updated"
5262052635
}
5262152636
},
52637+
"refund_destination_details": {
52638+
"description": "",
52639+
"properties": {
52640+
"affirm": {
52641+
"$ref": "#/components/schemas/destination_details_unimplemented"
52642+
},
52643+
"afterpay_clearpay": {
52644+
"$ref": "#/components/schemas/destination_details_unimplemented"
52645+
},
52646+
"alipay": {
52647+
"$ref": "#/components/schemas/destination_details_unimplemented"
52648+
},
52649+
"au_bank_transfer": {
52650+
"$ref": "#/components/schemas/destination_details_unimplemented"
52651+
},
52652+
"blik": {
52653+
"$ref": "#/components/schemas/refund_destination_details_generic"
52654+
},
52655+
"br_bank_transfer": {
52656+
"$ref": "#/components/schemas/refund_destination_details_generic"
52657+
},
52658+
"card": {
52659+
"$ref": "#/components/schemas/refund_destination_details_card"
52660+
},
52661+
"cashapp": {
52662+
"$ref": "#/components/schemas/destination_details_unimplemented"
52663+
},
52664+
"customer_cash_balance": {
52665+
"$ref": "#/components/schemas/destination_details_unimplemented"
52666+
},
52667+
"eps": {
52668+
"$ref": "#/components/schemas/destination_details_unimplemented"
52669+
},
52670+
"eu_bank_transfer": {
52671+
"$ref": "#/components/schemas/refund_destination_details_generic"
52672+
},
52673+
"gb_bank_transfer": {
52674+
"$ref": "#/components/schemas/refund_destination_details_generic"
52675+
},
52676+
"giropay": {
52677+
"$ref": "#/components/schemas/destination_details_unimplemented"
52678+
},
52679+
"grabpay": {
52680+
"$ref": "#/components/schemas/destination_details_unimplemented"
52681+
},
52682+
"jp_bank_transfer": {
52683+
"$ref": "#/components/schemas/refund_destination_details_generic"
52684+
},
52685+
"klarna": {
52686+
"$ref": "#/components/schemas/destination_details_unimplemented"
52687+
},
52688+
"mx_bank_transfer": {
52689+
"$ref": "#/components/schemas/refund_destination_details_generic"
52690+
},
52691+
"p24": {
52692+
"$ref": "#/components/schemas/refund_destination_details_generic"
52693+
},
52694+
"paynow": {
52695+
"$ref": "#/components/schemas/destination_details_unimplemented"
52696+
},
52697+
"paypal": {
52698+
"$ref": "#/components/schemas/destination_details_unimplemented"
52699+
},
52700+
"pix": {
52701+
"$ref": "#/components/schemas/destination_details_unimplemented"
52702+
},
52703+
"revolut": {
52704+
"$ref": "#/components/schemas/destination_details_unimplemented"
52705+
},
52706+
"sofort": {
52707+
"$ref": "#/components/schemas/destination_details_unimplemented"
52708+
},
52709+
"th_bank_transfer": {
52710+
"$ref": "#/components/schemas/refund_destination_details_generic"
52711+
},
52712+
"type": {
52713+
"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.",
52714+
"maxLength": 5000,
52715+
"type": "string"
52716+
},
52717+
"us_bank_transfer": {
52718+
"$ref": "#/components/schemas/refund_destination_details_generic"
52719+
},
52720+
"wechat_pay": {
52721+
"$ref": "#/components/schemas/destination_details_unimplemented"
52722+
},
52723+
"zip": {
52724+
"$ref": "#/components/schemas/destination_details_unimplemented"
52725+
}
52726+
},
52727+
"required": [
52728+
"type"
52729+
],
52730+
"title": "refund_destination_details",
52731+
"type": "object",
52732+
"x-expandableFields": [
52733+
"affirm",
52734+
"afterpay_clearpay",
52735+
"alipay",
52736+
"au_bank_transfer",
52737+
"blik",
52738+
"br_bank_transfer",
52739+
"card",
52740+
"cashapp",
52741+
"customer_cash_balance",
52742+
"eps",
52743+
"eu_bank_transfer",
52744+
"gb_bank_transfer",
52745+
"giropay",
52746+
"grabpay",
52747+
"jp_bank_transfer",
52748+
"klarna",
52749+
"mx_bank_transfer",
52750+
"p24",
52751+
"paynow",
52752+
"paypal",
52753+
"pix",
52754+
"revolut",
52755+
"sofort",
52756+
"th_bank_transfer",
52757+
"us_bank_transfer",
52758+
"wechat_pay",
52759+
"zip"
52760+
],
52761+
"x-stripeResource": {
52762+
"class_name": "DestinationDetails",
52763+
"in_package": ""
52764+
}
52765+
},
52766+
"refund_destination_details_card": {
52767+
"description": "",
52768+
"properties": {
52769+
"reference": {
52770+
"description": "Value of the reference number assigned to the refund.",
52771+
"maxLength": 5000,
52772+
"type": "string"
52773+
},
52774+
"reference_status": {
52775+
"description": "Status of the reference number on the refund. This can be `pending`, `available` or `unavailable`.",
52776+
"maxLength": 5000,
52777+
"type": "string"
52778+
},
52779+
"reference_type": {
52780+
"description": "Type of the reference number assigned to the refund.",
52781+
"maxLength": 5000,
52782+
"type": "string"
52783+
},
52784+
"type": {
52785+
"description": "The type of refund. This can be `refund`, `reversal`, or `pending`.",
52786+
"enum": [
52787+
"pending",
52788+
"refund",
52789+
"reversal"
52790+
],
52791+
"type": "string"
52792+
}
52793+
},
52794+
"required": [
52795+
"type"
52796+
],
52797+
"title": "refund_destination_details_card",
52798+
"type": "object",
52799+
"x-expandableFields": [],
52800+
"x-stripeResource": {
52801+
"class_name": "Card",
52802+
"in_package": ""
52803+
}
52804+
},
52805+
"refund_destination_details_generic": {
52806+
"description": "",
52807+
"properties": {
52808+
"reference": {
52809+
"description": "The reference assigned to the refund.",
52810+
"maxLength": 5000,
52811+
"nullable": true,
52812+
"type": "string"
52813+
},
52814+
"reference_status": {
52815+
"description": "Status of the reference on the refund. This can be `pending`, `available` or `unavailable`.",
52816+
"maxLength": 5000,
52817+
"nullable": true,
52818+
"type": "string"
52819+
}
52820+
},
52821+
"required": [
52822+
"reference",
52823+
"reference_status"
52824+
],
52825+
"title": "refund_destination_details_generic",
52826+
"type": "object",
52827+
"x-expandableFields": [],
52828+
"x-stripeResource": {
52829+
"class_name": "GenericDetails",
52830+
"in_package": ""
52831+
}
52832+
},
5262252833
"refund_next_action": {
5262352834
"description": "",
5262452835
"properties": {

0 commit comments

Comments
 (0)