Skip to content

Commit

Permalink
OpenAPI Update (#539)
Browse files Browse the repository at this point in the history
Update OpenAPI for 3439da650a6bbf80b847be4971b42a40bb9e6762

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
  • Loading branch information
stripe-openapi[bot] committed Nov 18, 2023
1 parent 93b863f commit 3b3ee56
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 4 deletions.
55 changes: 51 additions & 4 deletions embedded/openapi/spec3.beta.sdk.json
Expand Up @@ -23335,10 +23335,24 @@
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"system_trace_audit_number": {
"description": "The System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer `network_data.transaction_id` if present, unless you have special requirements.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"transaction_id": {
"description": "Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.",
"maxLength": 5000,
"nullable": true,
"type": "string"
}
},
"required": [
"acquiring_institution_id"
"acquiring_institution_id",
"system_trace_audit_number",
"transaction_id"
],
"title": "IssuingAuthorizationNetworkData",
"type": "object",
Expand Down Expand Up @@ -23379,6 +23393,11 @@
"merchant_currency": {
"description": "The local currency the merchant is requesting to authorize.",
"type": "string"
},
"network_risk_score": {
"description": "The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.",
"nullable": true,
"type": "integer"
}
},
"required": [
Expand All @@ -23387,7 +23406,8 @@
"currency",
"is_amount_controllable",
"merchant_amount",
"merchant_currency"
"merchant_currency",
"network_risk_score"
],
"title": "IssuingAuthorizationPendingRequest",
"type": "object",
Expand Down Expand Up @@ -23444,6 +23464,11 @@
"maxLength": 5000,
"type": "string"
},
"network_risk_score": {
"description": "The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.",
"nullable": true,
"type": "integer"
},
"reason": {
"description": "When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.",
"enum": [
Expand All @@ -23470,6 +23495,12 @@
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"requested_at": {
"description": "Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time.",
"format": "unix-time",
"nullable": true,
"type": "integer"
}
},
"required": [
Expand All @@ -23481,8 +23512,10 @@
"currency",
"merchant_amount",
"merchant_currency",
"network_risk_score",
"reason",
"reason_message"
"reason_message",
"requested_at"
],
"title": "IssuingAuthorizationRequest",
"type": "object",
Expand Down Expand Up @@ -28299,15 +28332,29 @@
"issuing_transaction_network_data": {
"description": "",
"properties": {
"authorization_code": {
"description": "A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter \"S\", followed by a six-digit number. For example, \"S498162\". Please note that the code is not guaranteed to be unique across authorizations.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"processing_date": {
"description": "The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"transaction_id": {
"description": "Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.",
"maxLength": 5000,
"nullable": true,
"type": "string"
}
},
"required": [
"processing_date"
"authorization_code",
"processing_date",
"transaction_id"
],
"title": "IssuingTransactionNetworkData",
"type": "object",
Expand Down
40 changes: 40 additions & 0 deletions embedded/openapi/spec3.json
Expand Up @@ -14732,6 +14732,18 @@
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"system_trace_audit_number": {
"description": "The System Trace Audit Number (STAN) is a 6-digit identifier assigned by the acquirer. Prefer `network_data.transaction_id` if present, unless you have special requirements.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"transaction_id": {
"description": "Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.",
"maxLength": 5000,
"nullable": true,
"type": "string"
}
},
"title": "IssuingAuthorizationNetworkData",
Expand Down Expand Up @@ -14769,6 +14781,11 @@
"merchant_currency": {
"description": "The local currency the merchant is requesting to authorize.",
"type": "string"
},
"network_risk_score": {
"description": "The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.",
"nullable": true,
"type": "integer"
}
},
"required": [
Expand Down Expand Up @@ -14829,6 +14846,11 @@
"maxLength": 5000,
"type": "string"
},
"network_risk_score": {
"description": "The card network's estimate of the likelihood that an authorization is fraudulent. Takes on values between 1 and 99.",
"nullable": true,
"type": "integer"
},
"reason": {
"description": "When an authorization is approved or declined by you or by Stripe, this field provides additional detail on the reason for the outcome.",
"enum": [
Expand All @@ -14855,6 +14877,12 @@
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"requested_at": {
"description": "Time when the card network received an authorization request from the acquirer in UTC. Referred to by networks as transmission time.",
"format": "unix-time",
"nullable": true,
"type": "integer"
}
},
"required": [
Expand Down Expand Up @@ -18341,11 +18369,23 @@
"issuing_transaction_network_data": {
"description": "",
"properties": {
"authorization_code": {
"description": "A code created by Stripe which is shared with the merchant to validate the authorization. This field will be populated if the authorization message was approved. The code typically starts with the letter \"S\", followed by a six-digit number. For example, \"S498162\". Please note that the code is not guaranteed to be unique across authorizations.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"processing_date": {
"description": "The date the transaction was processed by the card network. This can be different from the date the seller recorded the transaction depending on when the acquirer submits the transaction to the network.",
"maxLength": 5000,
"nullable": true,
"type": "string"
},
"transaction_id": {
"description": "Unique identifier for the authorization assigned by the card network used to match subsequent messages, disputes, and transactions.",
"maxLength": 5000,
"nullable": true,
"type": "string"
}
},
"title": "IssuingTransactionNetworkData",
Expand Down

0 comments on commit 3b3ee56

Please sign in to comment.