Skip to content

Commit

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

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] authored Nov 15, 2024
1 parent c74cc45 commit 69a02bd
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions embedded/openapi/spec3.beta.sdk.json
Original file line number Diff line number Diff line change
Expand Up @@ -3186,6 +3186,16 @@
"maxLength": 40000,
"type": "string"
},
"network_advice_code": {
"description": "For card errors resulting from a card issuer decline, a 2 digit code which indicates the advice given to merchant by the card network on how to proceed with an error.",
"maxLength": 5000,
"type": "string"
},
"network_decline_code": {
"description": "For card errors resulting from a card issuer decline, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.",
"maxLength": 5000,
"type": "string"
},
"param": {
"description": "If the error is parameter-specific, the parameter related to the error. For example, you can use this to display a message near the correct form field.",
"maxLength": 5000,
Expand Down Expand Up @@ -9457,6 +9467,18 @@
"charge_outcome": {
"description": "",
"properties": {
"network_advice_code": {
"description": "For charges declined by the network, a 2 digit code which indicates the advice returned by the network on how to proceed with an error.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"network_decline_code": {
"description": "For charges declined by the network, a brand specific 2, 3, or 4 digit code which indicates the reason the authorization failed.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"network_status": {
"description": "Possible values are `approved_by_network`, `declined_by_network`, `not_sent_to_network`, and `reversed_after_approval`. The value `reversed_after_approval` indicates the payment was [blocked by Stripe](https://stripe.com/docs/declines#blocked-payments) after bank authorization, and may temporarily appear as \"pending\" on a cardholder's statement.",
"maxLength": 5000,
Expand Down Expand Up @@ -9510,6 +9532,8 @@
}
},
"required": [
"network_advice_code",
"network_decline_code",
"network_status",
"reason",
"seller_message",
Expand All @@ -9521,6 +9545,8 @@
"rule"
],
"x-stripeMostCommon": [
"network_advice_code",
"network_decline_code",
"network_status",
"reason",
"risk_level",
Expand Down

0 comments on commit 69a02bd

Please sign in to comment.