From b91c45feeb6744fe0cd397a0aa62433b0c1cf8f0 Mon Sep 17 00:00:00 2001 From: Toan Nguyen Date: Tue, 15 Oct 2024 10:44:45 +0700 Subject: [PATCH] Update openapi spec v1296 (#8) --- .github/workflows/release.yaml | 3 +- Dockerfile | 2 +- Makefile | 2 +- config/schema.json | 9656 +++++++++++++---- .../.hasura-connector/connector-metadata.yaml | 21 +- schema/config.yaml | 2 +- scripts/test.sh | 2 +- .../expected.json | 20 - .../request.json | 275 - testdata/mock/query/GetAccount/request.json | 2 +- testdata/mock/query/GetAccounts/request.json | 10 +- .../query/GetAccountsAccount/request.json | 4 +- .../request.json | 4 +- 13 files changed, 7799 insertions(+), 2204 deletions(-) delete mode 100644 testdata/mock/mutation/PostTerminalReadersReaderProcessSetupIntent/expected.json delete mode 100644 testdata/mock/mutation/PostTerminalReadersReaderProcessSetupIntent/request.json diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6cabc57..053e7fb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -49,11 +49,12 @@ jobs: images: ${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_IMAGE_NAME }} - name: Build and push - uses: docker/build-push-action@v5 + uses: docker/build-push-action@v6 with: push: true tags: ${{ steps.docker-metadata.outputs.tags }} labels: ${{ steps.docker-metadata.outputs.labels }} + platforms: linux/amd64,linux/arm64 - name: Build connector definition run: | diff --git a/Dockerfile b/Dockerfile index c48a01d..21cabe5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,3 +1,3 @@ -FROM ghcr.io/hasura/ndc-rest:v0.2.2 +FROM ghcr.io/hasura/ndc-rest:v0.2.4 COPY ./config /etc/connector \ No newline at end of file diff --git a/Makefile b/Makefile index 9cf2a19..ef7b384 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -NDC_REST_VERSION ?= v0.2.2 +NDC_REST_VERSION ?= v0.2.4 UID ?= $(shell id -u) GID ?= $(shell id -g) diff --git a/config/schema.json b/config/schema.json index 84f14eb..f6e4e66 100644 --- a/config/schema.json +++ b/config/schema.json @@ -1,4 +1,5 @@ { + "$schema": "https://raw.githubusercontent.com/hasura/ndc-rest-schema/main/jsonschema/ndc-rest-schema.jsonschema", "settings": { "servers": [ { @@ -33,7 +34,7 @@ "bearerAuth": [] } ], - "version": "2024-06-20" + "version": "2024-09-30.acacia" }, "collections": [], "functions": [ @@ -56,7 +57,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -135,7 +139,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -226,7 +233,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -291,7 +301,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -354,7 +367,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -419,7 +435,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -519,7 +538,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -624,7 +646,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -748,7 +773,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -854,7 +882,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -978,7 +1009,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -1084,7 +1118,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -1177,7 +1214,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "domain_name": { @@ -1267,7 +1307,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "domain": { @@ -1364,7 +1407,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "charge": { @@ -1474,7 +1520,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -1537,7 +1586,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -1623,7 +1675,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -1749,7 +1804,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -1856,7 +1914,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -1912,7 +1973,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -2032,7 +2096,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -2163,7 +2230,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -2289,7 +2359,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -2420,7 +2493,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -2451,9 +2527,18 @@ }, { "request": { - "url": "/v1/billing/meters", + "url": "/v1/billing/alerts", "method": "get", "parameters": [ + { + "style": "form", + "name": "alert_type", + "in": "query", + "schema": { + "type": "BillingAlertType", + "nullable": true + } + }, { "style": "form", "name": "ending_before", @@ -2489,7 +2574,7 @@ }, { "style": "form", - "name": "starting_after", + "name": "meter", "in": "query", "schema": { "type": "String", @@ -2499,16 +2584,30 @@ }, { "style": "form", - "name": "status", + "name": "starting_after", "in": "query", "schema": { - "type": "BillingStatus", - "nullable": true + "type": "String", + "nullable": true, + "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { + "alert_type": { + "description": "Filter results to only include this type of alert.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingAlertType", + "type": "named" + } + } + }, "ending_before": { "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", "type": { @@ -2542,8 +2641,8 @@ } } }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "meter": { + "description": "Filter results to only include alerts with the given meter.", "type": { "type": "nullable", "underlying_type": { @@ -2552,26 +2651,26 @@ } } }, - "status": { - "description": "Filter results to only include meters with the given status.", + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { "type": "nullable", "underlying_type": { - "name": "BillingStatus", + "name": "String", "type": "named" } } } }, - "name": "GetBillingMeters", + "name": "GetBillingAlerts", "result_type": { - "name": "GetBillingMetersResult", + "name": "GetBillingAlertsResult", "type": "named" } }, { "request": { - "url": "/v1/billing/meters/{id}", + "url": "/v1/billing/alerts/{id}", "method": "get", "parameters": [ { @@ -2597,7 +2696,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -2614,33 +2716,23 @@ } }, "id": { - "description": "Unique identifier for the object.", "type": { "name": "String", "type": "named" } } }, - "name": "GetBillingMetersId", + "name": "GetBillingAlertsId", "result_type": { - "name": "BillingMeter", + "name": "BillingAlert", "type": "named" } }, { "request": { - "url": "/v1/billing/meters/{id}/event_summaries", + "url": "/v1/billing/credit_balance_summary", "method": "get", "parameters": [ - { - "style": "simple", - "name": "id", - "in": "path", - "schema": { - "type": "String", - "maxLength": 5000 - } - }, { "style": "form", "name": "customer", @@ -2650,24 +2742,6 @@ "maxLength": 5000 } }, - { - "style": "form", - "name": "end_time", - "in": "query", - "schema": { - "type": "UnixTime" - } - }, - { - "style": "form", - "name": "ending_before", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, { "style": "deepObject", "explode": true, @@ -2683,68 +2757,46 @@ } }, { - "style": "form", - "name": "limit", - "in": "query", - "schema": { - "type": "Int32", - "nullable": true - } - }, - { - "style": "form", - "name": "start_time", - "in": "query", - "schema": { - "type": "UnixTime" - } - }, - { - "style": "form", - "name": "starting_after", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, - { - "style": "form", - "name": "value_grouping_window", + "style": "deepObject", + "explode": true, + "name": "filter", "in": "query", "schema": { - "type": "BillingValueGroupingWindow", - "nullable": true + "type": "object", + "properties": { + "applicability_scope": { + "type": "object", + "nullable": true, + "properties": { + "price_type": { + "type": "BillingPriceType" + } + } + }, + "credit_grant": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "type": { + "type": "GetBillingCreditBalanceSummaryFilterType" + } + } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { - "description": "The customer for which to fetch event summaries.", + "description": "The customer for which to fetch credit balance summary.", "type": { "name": "String", "type": "named" } }, - "end_time": { - "description": "The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.", - "type": { - "name": "UnixTime", - "type": "named" - } - }, - "ending_before": { - "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, "expand": { "description": "Specifies which fields in the response should be expanded.", "type": { @@ -2758,69 +2810,42 @@ } } }, - "id": { - "description": "Unique identifier for the object.", + "filter": { + "description": "The filter criteria for the credit balance summary.", "type": { - "name": "String", + "name": "GetBillingCreditBalanceSummaryFilter", "type": "named" } - }, - "limit": { - "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } - } - }, - "start_time": { - "description": "The timestamp from when to start aggregating meter events (inclusive). Must be aligned with minute boundaries.", - "type": { - "name": "UnixTime", - "type": "named" - } - }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "value_grouping_window": { - "description": "Specifies what granularity to use when generating event summaries. If not specified, a single event summary would be returned for the specified time range. For hourly granularity, start and end times must align with hour boundaries (e.g., 00:00, 01:00, ..., 23:00). For daily granularity, start and end times must align with UTC day boundaries (00:00 UTC).", - "type": { - "type": "nullable", - "underlying_type": { - "name": "BillingValueGroupingWindow", - "type": "named" - } - } } }, - "name": "GetBillingMetersIdEventSummaries", + "name": "GetBillingCreditBalanceSummary", "result_type": { - "name": "GetBillingMetersIdEventSummariesResult", + "name": "BillingCreditBalanceSummary", "type": "named" } }, { "request": { - "url": "/v1/billing_portal/configurations", + "url": "/v1/billing/credit_balance_transactions", "method": "get", "parameters": [ { "style": "form", - "name": "active", + "name": "credit_grant", "in": "query", "schema": { - "type": "Boolean", - "nullable": true + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "customer", + "in": "query", + "schema": { + "type": "String", + "maxLength": 5000 } }, { @@ -2847,15 +2872,6 @@ } } }, - { - "style": "form", - "name": "is_default", - "in": "query", - "schema": { - "type": "Boolean", - "nullable": true - } - }, { "style": "form", "name": "limit", @@ -2875,15 +2891,772 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { - "active": { - "description": "Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations).", + "credit_grant": { + "description": "The credit grant for which to fetch credit balance transactions.", "type": { "type": "nullable", "underlying_type": { - "name": "Boolean", + "name": "String", + "type": "named" + } + } + }, + "customer": { + "description": "The customer for which to fetch credit balance transactions.", + "type": { + "name": "String", + "type": "named" + } + }, + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + }, + "name": "GetBillingCreditBalanceTransactions", + "result_type": { + "name": "GetBillingCreditBalanceTransactionsResult", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/credit_balance_transactions/{id}", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "GetBillingCreditBalanceTransactionsId", + "result_type": { + "name": "BillingCreditBalanceTransaction", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/credit_grants", + "method": "get", + "parameters": [ + { + "style": "form", + "name": "customer", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "customer": { + "description": "Only return credit grants for this customer.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + }, + "name": "GetBillingCreditGrants", + "result_type": { + "name": "GetBillingCreditGrantsResult", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/credit_grants/{id}", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "GetBillingCreditGrantsId", + "result_type": { + "name": "BillingCreditGrant", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/meters", + "method": "get", + "parameters": [ + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "status", + "in": "query", + "schema": { + "type": "BillingStatus", + "nullable": true + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "status": { + "description": "Filter results to only include meters with the given status.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingStatus", + "type": "named" + } + } + } + }, + "name": "GetBillingMeters", + "result_type": { + "name": "GetBillingMetersResult", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/meters/{id}", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "GetBillingMetersId", + "result_type": { + "name": "BillingMeter", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/meters/{id}/event_summaries", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "customer", + "in": "query", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "end_time", + "in": "query", + "schema": { + "type": "UnixTime" + } + }, + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "form", + "name": "start_time", + "in": "query", + "schema": { + "type": "UnixTime" + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "value_grouping_window", + "in": "query", + "schema": { + "type": "BillingValueGroupingWindow", + "nullable": true + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "customer": { + "description": "The customer for which to fetch event summaries.", + "type": { + "name": "String", + "type": "named" + } + }, + "end_time": { + "description": "The timestamp from when to stop aggregating meter events (exclusive). Must be aligned with minute boundaries.", + "type": { + "name": "UnixTime", + "type": "named" + } + }, + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "start_time": { + "description": "The timestamp from when to start aggregating meter events (inclusive). Must be aligned with minute boundaries.", + "type": { + "name": "UnixTime", + "type": "named" + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "value_grouping_window": { + "description": "Specifies what granularity to use when generating event summaries. If not specified, a single event summary would be returned for the specified time range. For hourly granularity, start and end times must align with hour boundaries (e.g., 00:00, 01:00, ..., 23:00). For daily granularity, start and end times must align with UTC day boundaries (00:00 UTC).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingValueGroupingWindow", + "type": "named" + } + } + } + }, + "name": "GetBillingMetersIdEventSummaries", + "result_type": { + "name": "GetBillingMetersIdEventSummariesResult", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing_portal/configurations", + "method": "get", + "parameters": [ + { + "style": "form", + "name": "active", + "in": "query", + "schema": { + "type": "Boolean", + "nullable": true + } + }, + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "form", + "name": "is_default", + "in": "query", + "schema": { + "type": "Boolean", + "nullable": true + } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "active": { + "description": "Only return configurations that are active or inactive (e.g., pass `true` to only list active configurations).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", "type": "named" } } @@ -2976,7 +3749,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "configuration": { @@ -3091,7 +3867,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -3168,7 +3947,7 @@ } }, "transfer_group": { - "description": "Only return charges for this transfer group.", + "description": "Only return charges for this transfer group, limited to 100.", "type": { "type": "nullable", "underlying_type": { @@ -3231,7 +4010,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -3309,7 +4091,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "charge": { @@ -3366,7 +4151,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "charge": { @@ -3449,7 +4237,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "charge": { @@ -3543,7 +4334,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "charge": { @@ -3651,26 +4445,288 @@ "nullable": true } }, - { - "style": "form", - "name": "payment_intent", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, - { - "style": "form", - "name": "payment_link", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, + { + "style": "form", + "name": "payment_intent", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "payment_link", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "status", + "in": "query", + "schema": { + "type": "CheckoutStatus", + "nullable": true + } + }, + { + "style": "form", + "name": "subscription", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "created": { + "description": "Only return Checkout Sessions that were created during the given date interval.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "customer": { + "description": "Only return the Checkout Sessions for the Customer specified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "customer_details": { + "description": "Only return the Checkout Sessions for the Customer details specified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "GetCheckoutSessionsCustomerDetails", + "type": "named" + } + } + }, + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "payment_intent": { + "description": "Only return the Checkout Session for the PaymentIntent specified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "payment_link": { + "description": "Only return the Checkout Sessions for the Payment Link specified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "status": { + "description": "Only return the Checkout Sessions matching the given status.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "CheckoutStatus", + "type": "named" + } + } + }, + "subscription": { + "description": "Only return the Checkout Session for the subscription specified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + }, + "name": "GetCheckoutSessions", + "result_type": { + "name": "GetCheckoutSessionsResult", + "type": "named" + } + }, + { + "request": { + "url": "/v1/checkout/sessions/{session}", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "session", + "in": "path", + "schema": { + "type": "String", + "maxLength": 66 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "session": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "GetCheckoutSessionsSession", + "result_type": { + "name": "CheckoutSession", + "type": "named" + } + }, + { + "request": { + "url": "/v1/checkout/sessions/{session}/line_items", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "session", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, { "style": "form", "name": "starting_after", @@ -3680,265 +4736,12 @@ "nullable": true, "maxLength": 5000 } - }, - { - "style": "form", - "name": "status", - "in": "query", - "schema": { - "type": "CheckoutStatus", - "nullable": true - } - }, - { - "style": "form", - "name": "subscription", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - } - ] - }, - "arguments": { - "created": { - "description": "Only return Checkout Sessions that were created during the given date interval.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "customer": { - "description": "Only return the Checkout Sessions for the Customer specified.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "customer_details": { - "description": "Only return the Checkout Sessions for the Customer details specified.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "GetCheckoutSessionsCustomerDetails", - "type": "named" - } - } - }, - "ending_before": { - "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "limit": { - "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } - } - }, - "payment_intent": { - "description": "Only return the Checkout Session for the PaymentIntent specified.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "payment_link": { - "description": "Only return the Checkout Sessions for the Payment Link specified.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "status": { - "description": "Only return the Checkout Sessions matching the given status.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "CheckoutStatus", - "type": "named" - } - } - }, - "subscription": { - "description": "Only return the Checkout Session for the subscription specified.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - } - }, - "name": "GetCheckoutSessions", - "result_type": { - "name": "GetCheckoutSessionsResult", - "type": "named" - } - }, - { - "request": { - "url": "/v1/checkout/sessions/{session}", - "method": "get", - "parameters": [ - { - "style": "simple", - "name": "session", - "in": "path", - "schema": { - "type": "String", - "maxLength": 66 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - } - ] - }, - "arguments": { - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "session": { - "type": { - "name": "String", - "type": "named" } + ], + "response": { + "contentType": "application/json" } }, - "name": "GetCheckoutSessionsSession", - "result_type": { - "name": "CheckoutSession", - "type": "named" - } - }, - { - "request": { - "url": "/v1/checkout/sessions/{session}/line_items", - "method": "get", - "parameters": [ - { - "style": "simple", - "name": "session", - "in": "path", - "schema": { - "type": "String", - "maxLength": 5000 - } - }, - { - "style": "form", - "name": "ending_before", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - }, - { - "style": "form", - "name": "limit", - "in": "query", - "schema": { - "type": "Int32", - "nullable": true - } - }, - { - "style": "form", - "name": "starting_after", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - } - ] - }, "arguments": { "ending_before": { "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", @@ -4044,7 +4847,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -4125,7 +4931,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -4203,7 +5012,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -4284,7 +5096,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -4361,7 +5176,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -4442,7 +5260,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -4499,7 +5320,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "confirmation_token": { @@ -4576,7 +5400,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -4657,7 +5484,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "country": { @@ -4744,7 +5574,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -4835,7 +5668,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "coupon": { @@ -4942,7 +5778,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -5233,7 +6072,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "amount": { @@ -5623,7 +6465,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "amount": { @@ -5863,7 +6708,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "credit_note": { @@ -5950,7 +6798,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -6057,7 +6908,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -6187,7 +7041,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -6265,7 +7122,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -6351,7 +7211,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -6446,7 +7309,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -6536,7 +7402,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -6632,7 +7501,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -6722,7 +7594,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -6818,7 +7693,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -6881,252 +7759,264 @@ } } } - ] - }, - "arguments": { - "customer": { - "type": { - "name": "String", - "type": "named" - } - }, - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - } - }, - "name": "GetCustomersCustomerCashBalance", - "result_type": { - "name": "CashBalance", - "type": "named" - } - }, - { - "request": { - "url": "/v1/customers/{customer}/cash_balance_transactions", - "method": "get", - "parameters": [ - { - "style": "simple", - "name": "customer", - "in": "path", - "schema": { - "type": "String", - "maxLength": 5000 - } - }, - { - "style": "form", - "name": "ending_before", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - }, - { - "style": "form", - "name": "limit", - "in": "query", - "schema": { - "type": "Int32", - "nullable": true - } - }, - { - "style": "form", - "name": "starting_after", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - } - ] - }, - "arguments": { - "customer": { - "type": { - "name": "String", - "type": "named" - } - }, - "ending_before": { - "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "limit": { - "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Int32", - "type": "named" - } - } - }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - } - }, - "name": "GetCustomersCustomerCashBalanceTransactions", - "result_type": { - "name": "GetCustomersCustomerCashBalanceTransactionsResult", - "type": "named" - } - }, - { - "request": { - "url": "/v1/customers/{customer}/cash_balance_transactions/{transaction}", - "method": "get", - "parameters": [ - { - "style": "simple", - "name": "customer", - "in": "path", - "schema": { - "type": "String", - "maxLength": 5000 - } - }, - { - "style": "simple", - "name": "transaction", - "in": "path", - "schema": { - "type": "String" - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - } - ] - }, - "arguments": { - "customer": { - "type": { - "name": "String", - "type": "named" - } - }, - "expand": { - "description": "Specifies which fields in the response should be expanded.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "String", - "type": "named" - }, - "type": "array" - } - } - }, - "transaction": { - "type": { - "name": "String", - "type": "named" - } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "customer": { + "type": { + "name": "String", + "type": "named" + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + }, + "name": "GetCustomersCustomerCashBalance", + "result_type": { + "name": "CashBalance", + "type": "named" + } + }, + { + "request": { + "url": "/v1/customers/{customer}/cash_balance_transactions", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "customer", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "customer": { + "type": { + "name": "String", + "type": "named" + } + }, + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + }, + "name": "GetCustomersCustomerCashBalanceTransactions", + "result_type": { + "name": "GetCustomersCustomerCashBalanceTransactionsResult", + "type": "named" + } + }, + { + "request": { + "url": "/v1/customers/{customer}/cash_balance_transactions/{transaction}", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "customer", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "simple", + "name": "transaction", + "in": "path", + "schema": { + "type": "String" + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "customer": { + "type": { + "name": "String", + "type": "named" + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "transaction": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "GetCustomersCustomerCashBalanceTransactionsTransaction", + "result_type": { + "name": "CustomerCashBalanceTransaction", + "type": "named" + } + }, + { + "request": { + "url": "/v1/customers/{customer}/discount", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "customer", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "response": { + "contentType": "application/json" } }, - "name": "GetCustomersCustomerCashBalanceTransactionsTransaction", - "result_type": { - "name": "CustomerCashBalanceTransaction", - "type": "named" - } - }, - { - "request": { - "url": "/v1/customers/{customer}/discount", - "method": "get", - "parameters": [ - { - "style": "simple", - "name": "customer", - "in": "path", - "schema": { - "type": "String", - "maxLength": 5000 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "expand", - "in": "query", - "schema": { - "type": "array", - "nullable": true, - "items": { - "type": "String", - "maxLength": 5000 - } - } - } - ] - }, "arguments": { "customer": { "type": { @@ -7227,7 +8117,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "allow_redisplay": { @@ -7343,7 +8236,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -7443,7 +8339,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -7549,7 +8448,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -7641,7 +8543,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -7737,7 +8642,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -7809,7 +8717,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -7901,7 +8812,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -7996,7 +8910,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -8109,7 +9026,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "charge": { @@ -8220,7 +9140,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "dispute": { @@ -8306,7 +9229,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -8394,7 +9320,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -8491,7 +9420,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "archived": { @@ -8592,7 +9524,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -8713,7 +9648,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -8837,7 +9775,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -8914,7 +9855,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -8995,7 +9939,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -9099,7 +10046,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -9209,7 +10159,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -9306,7 +10259,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -9407,7 +10363,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -9516,7 +10475,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account_holder": { @@ -9617,7 +10579,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -9712,7 +10677,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -9806,7 +10774,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -9918,7 +10889,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -10026,7 +11000,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -10131,7 +11108,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -10178,7 +11158,250 @@ } }, "starting_after": { - "description": "A pagination cursor to fetch the next page of the list. The value must be a ForwardingRequest ID.", + "description": "A pagination cursor to fetch the next page of the list. The value must be a ForwardingRequest ID.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + }, + "name": "GetForwardingRequests", + "result_type": { + "name": "GetForwardingRequestsResult", + "type": "named" + } + }, + { + "request": { + "url": "/v1/forwarding/requests/{id}", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "id": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "GetForwardingRequestsId", + "result_type": { + "name": "ForwardingRequest", + "type": "named" + } + }, + { + "request": { + "url": "/v1/identity/verification_reports", + "method": "get", + "parameters": [ + { + "style": "form", + "name": "client_reference_id", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "created", + "in": "query", + "schema": { + "type": "JSON", + "nullable": true + } + }, + { + "style": "form", + "name": "ending_before", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + }, + { + "style": "form", + "name": "limit", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } + }, + { + "style": "form", + "name": "starting_after", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + }, + { + "style": "form", + "name": "type", + "in": "query", + "schema": { + "type": "IdentityType", + "nullable": true + } + }, + { + "style": "form", + "name": "verification_session", + "in": "query", + "schema": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + ], + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "client_reference_id": { + "description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "created": { + "description": "Only return VerificationReports that were created during the given date interval.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "ending_before": { + "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "limit": { + "description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "type": { + "description": "Only return VerificationReports of this type", + "type": { + "type": "nullable", + "underlying_type": { + "name": "IdentityType", + "type": "named" + } + } + }, + "verification_session": { + "description": "Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.", "type": { "type": "nullable", "underlying_type": { @@ -10188,20 +11411,20 @@ } } }, - "name": "GetForwardingRequests", + "name": "GetIdentityVerificationReports", "result_type": { - "name": "GetForwardingRequestsResult", + "name": "GetIdentityVerificationReportsResult", "type": "named" } }, { "request": { - "url": "/v1/forwarding/requests/{id}", + "url": "/v1/identity/verification_reports/{report}", "method": "get", "parameters": [ { "style": "simple", - "name": "id", + "name": "report", "in": "path", "schema": { "type": "String", @@ -10222,7 +11445,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -10238,22 +11464,22 @@ } } }, - "id": { + "report": { "type": { "name": "String", "type": "named" } } }, - "name": "GetForwardingRequestsId", + "name": "GetIdentityVerificationReportsReport", "result_type": { - "name": "ForwardingRequest", + "name": "IdentityVerificationReport", "type": "named" } }, { "request": { - "url": "/v1/identity/verification_reports", + "url": "/v1/identity/verification_sessions", "method": "get", "parameters": [ { @@ -10311,7 +11537,7 @@ }, { "style": "form", - "name": "starting_after", + "name": "related_customer", "in": "query", "schema": { "type": "String", @@ -10321,24 +11547,27 @@ }, { "style": "form", - "name": "type", + "name": "starting_after", "in": "query", "schema": { - "type": "IdentityType", - "nullable": true + "type": "String", + "nullable": true, + "maxLength": 5000 } }, { "style": "form", - "name": "verification_session", + "name": "status", "in": "query", "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 + "type": "IdentityStatus", + "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "client_reference_id": { @@ -10352,7 +11581,7 @@ } }, "created": { - "description": "Only return VerificationReports that were created during the given date interval.", + "description": "Only return VerificationSessions that were created during the given date interval.", "type": { "type": "nullable", "underlying_type": { @@ -10394,8 +11623,7 @@ } } }, - "starting_after": { - "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", + "related_customer": { "type": { "type": "nullable", "underlying_type": { @@ -10404,41 +11632,41 @@ } } }, - "type": { - "description": "Only return VerificationReports of this type", + "starting_after": { + "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { "type": "nullable", "underlying_type": { - "name": "IdentityType", + "name": "String", "type": "named" } } }, - "verification_session": { - "description": "Only return VerificationReports created by this VerificationSession ID. It is allowed to provide a VerificationIntent ID.", + "status": { + "description": "Only return VerificationSessions with this status. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).", "type": { "type": "nullable", "underlying_type": { - "name": "String", + "name": "IdentityStatus", "type": "named" } } } }, - "name": "GetIdentityVerificationReports", + "name": "GetIdentityVerificationSessions", "result_type": { - "name": "GetIdentityVerificationReportsResult", + "name": "GetIdentityVerificationSessionsResult", "type": "named" } }, { "request": { - "url": "/v1/identity/verification_reports/{report}", + "url": "/v1/identity/verification_sessions/{session}", "method": "get", "parameters": [ { "style": "simple", - "name": "report", + "name": "session", "in": "path", "schema": { "type": "String", @@ -10459,7 +11687,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -10475,44 +11706,24 @@ } } }, - "report": { + "session": { "type": { "name": "String", "type": "named" } } }, - "name": "GetIdentityVerificationReportsReport", + "name": "GetIdentityVerificationSessionsSession", "result_type": { - "name": "IdentityVerificationReport", + "name": "IdentityVerificationSession", "type": "named" } }, { "request": { - "url": "/v1/identity/verification_sessions", + "url": "/v1/invoice_rendering_templates", "method": "get", "parameters": [ - { - "style": "form", - "name": "client_reference_id", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, - { - "style": "deepObject", - "explode": true, - "name": "created", - "in": "query", - "schema": { - "type": "JSON", - "nullable": true - } - }, { "style": "form", "name": "ending_before", @@ -10546,16 +11757,6 @@ "nullable": true } }, - { - "style": "form", - "name": "related_customer", - "in": "query", - "schema": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - }, { "style": "form", "name": "starting_after", @@ -10571,33 +11772,16 @@ "name": "status", "in": "query", "schema": { - "type": "IdentityStatus", + "type": "InvoiceRenderingTemplatesStatus", "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { - "client_reference_id": { - "description": "A string to reference this user. This can be a customer ID, a session ID, or similar, and can be used to reconcile this verification with your internal systems.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "created": { - "description": "Only return VerificationSessions that were created during the given date interval.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, "ending_before": { "description": "A cursor for use in pagination. `ending_before` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with `obj_bar`, your subsequent call can include `ending_before=obj_bar` in order to fetch the previous page of the list.", "type": { @@ -10631,15 +11815,6 @@ } } }, - "related_customer": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, "starting_after": { "description": "A cursor for use in pagination. `starting_after` is an object ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with `obj_foo`, your subsequent call can include `starting_after=obj_foo` in order to fetch the next page of the list.", "type": { @@ -10651,30 +11826,29 @@ } }, "status": { - "description": "Only return VerificationSessions with this status. [Learn more about the lifecycle of sessions](https://stripe.com/docs/identity/how-sessions-work).", "type": { "type": "nullable", "underlying_type": { - "name": "IdentityStatus", + "name": "InvoiceRenderingTemplatesStatus", "type": "named" } } } }, - "name": "GetIdentityVerificationSessions", + "name": "GetInvoiceRenderingTemplates", "result_type": { - "name": "GetIdentityVerificationSessionsResult", + "name": "GetInvoiceRenderingTemplatesResult", "type": "named" } }, { "request": { - "url": "/v1/identity/verification_sessions/{session}", + "url": "/v1/invoice_rendering_templates/{template}", "method": "get", "parameters": [ { "style": "simple", - "name": "session", + "name": "template", "in": "path", "schema": { "type": "String", @@ -10694,8 +11868,20 @@ "maxLength": 5000 } } + }, + { + "style": "form", + "name": "version", + "in": "query", + "schema": { + "type": "Int32", + "nullable": true + } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -10711,16 +11897,25 @@ } } }, - "session": { + "template": { "type": { "name": "String", "type": "named" } + }, + "version": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } } }, - "name": "GetIdentityVerificationSessionsSession", + "name": "GetInvoiceRenderingTemplatesTemplate", "result_type": { - "name": "IdentityVerificationSession", + "name": "InvoiceRenderingTemplate", "type": "named" } }, @@ -10811,7 +12006,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -10932,7 +12130,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -11067,7 +12268,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "collection_method": { @@ -11226,7 +12430,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -12465,7 +13672,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "automatic_tax": { @@ -12545,7 +13755,7 @@ } }, "invoice_items": { - "description": "List of invoice items to add or update in the upcoming invoice preview.", + "description": "List of invoice items to add or update in the upcoming invoice preview (up to 250).", "type": { "type": "nullable", "underlying_type": { @@ -13968,7 +15178,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "automatic_tax": { @@ -14058,7 +15271,7 @@ } }, "invoice_items": { - "description": "List of invoice items to add or update in the upcoming invoice preview.", + "description": "List of invoice items to add or update in the upcoming invoice preview (up to 250).", "type": { "type": "nullable", "underlying_type": { @@ -14311,7 +15524,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -14397,7 +15613,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -14543,7 +15762,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "card": { @@ -14664,7 +15886,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "authorization": { @@ -14787,7 +16012,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -14918,7 +16146,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "cardholder": { @@ -15071,7 +16302,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "cardholder": { @@ -15231,7 +16465,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "card": { @@ -15337,7 +16574,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -15448,7 +16688,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "dispute": { @@ -15568,7 +16811,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -15682,7 +16928,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -15777,7 +17026,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -15878,7 +17130,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -15935,7 +17190,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -16040,7 +17298,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "card": { @@ -16148,7 +17409,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -16264,7 +17528,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "card": { @@ -16385,7 +17652,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -16442,7 +17712,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -16551,7 +17824,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account_holder": { @@ -16652,7 +17928,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -16747,7 +18026,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -16840,7 +18122,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -16937,7 +18222,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -17057,7 +18345,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -17145,7 +18436,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "client_secret": { @@ -17241,7 +18535,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "active": { @@ -17332,7 +18629,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -17418,7 +18718,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -17536,7 +18839,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "application": { @@ -17627,7 +18933,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "configuration": { @@ -17723,7 +19032,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "domain_name": { @@ -17824,7 +19136,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -17918,7 +19233,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -18019,7 +19337,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -18135,7 +19456,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "arrival_date": { @@ -18256,7 +19580,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -18362,7 +19689,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "active": { @@ -18473,7 +19803,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -18636,7 +19969,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "active": { @@ -18809,7 +20145,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -18887,7 +20226,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -19016,7 +20358,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "active": { @@ -19169,7 +20514,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -19247,7 +20595,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -19333,7 +20684,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -19429,7 +20783,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -19563,7 +20920,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "active": { @@ -19694,7 +21054,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -19800,7 +21163,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -19911,7 +21277,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -19997,7 +21366,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -20113,7 +21485,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -20172,6 +21547,71 @@ "type": "named" } }, + { + "request": { + "url": "/v1/quotes/{quote}/pdf", + "method": "get", + "parameters": [ + { + "style": "simple", + "name": "quote", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + }, + { + "style": "deepObject", + "explode": true, + "name": "expand", + "in": "query", + "schema": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + ], + "servers": [ + { + "url": "{{STRIPE_SERVER_URL:-https://files.stripe.com/}}" + } + ], + "response": { + "contentType": "application/pdf" + } + }, + "arguments": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "quote": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "GetQuotesQuotePdf", + "result_type": { + "name": "Binary", + "type": "named" + } + }, { "request": { "url": "/v1/radar/early_fraud_warnings", @@ -20249,7 +21689,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "charge": { @@ -20360,7 +21803,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "early_fraud_warning": { @@ -20466,7 +21912,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -20574,7 +22023,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -20681,7 +22133,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "alias": { @@ -20792,7 +22247,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -20896,7 +22354,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "charge": { @@ -21006,7 +22467,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -21093,7 +22557,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -21184,7 +22651,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -21232,7 +22702,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -21282,7 +22755,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -21369,7 +22845,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -21460,7 +22939,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -21556,7 +23038,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -21713,7 +23198,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "attach_to_self": { @@ -21844,7 +23332,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "client_secret": { @@ -21959,7 +23450,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "active": { @@ -22070,7 +23564,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -22147,7 +23644,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -22228,7 +23728,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -22295,7 +23798,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "client_secret": { @@ -22371,7 +23877,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -22463,7 +23972,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -22559,7 +24071,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -22649,7 +24164,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -22737,7 +24255,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -22822,7 +24343,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -22988,7 +24512,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "canceled_at": { @@ -23129,7 +24656,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -23299,7 +24829,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "automatic_tax": { @@ -23333,6 +24866,7 @@ } }, "current_period_end": { + "description": "Only return subscriptions whose current_period_end falls within the given date interval.", "type": { "type": "nullable", "underlying_type": { @@ -23342,6 +24876,7 @@ } }, "current_period_start": { + "description": "Only return subscriptions whose current_period_start falls within the given date interval.", "type": { "type": "nullable", "underlying_type": { @@ -23487,7 +25022,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -23565,7 +25103,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -23622,7 +25163,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "calculation": { @@ -23708,7 +25252,10 @@ "maxLength": 500 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "calculation": { @@ -23824,7 +25371,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -23915,7 +25465,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -23963,7 +25516,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -24014,7 +25570,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -24100,7 +25659,10 @@ "maxLength": 500 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -24205,7 +25767,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -24286,7 +25851,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -24387,7 +25955,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -24478,7 +26049,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -24583,7 +26157,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "active": { @@ -24694,7 +26271,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -24780,7 +26360,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -24871,7 +26454,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "configuration": { @@ -24948,7 +26534,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -25029,7 +26618,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -25144,7 +26736,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "device_type": { @@ -25265,7 +26860,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -25342,7 +26940,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -25423,7 +27024,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -25480,7 +27084,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -25587,7 +27194,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "amount": { @@ -25698,7 +27308,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -25805,7 +27418,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -25945,7 +27561,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -26032,7 +27651,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -26098,7 +27720,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -26208,7 +27833,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -26316,7 +27944,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "credit_reversal": { @@ -26429,7 +28060,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -26547,7 +28181,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "debit_reversal": { @@ -26634,7 +28271,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -26725,7 +28365,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -26782,7 +28425,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -26876,7 +28522,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -26974,7 +28623,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -27088,7 +28740,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -27206,7 +28861,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -27300,7 +28958,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -27398,7 +29059,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -27507,7 +29171,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -27615,7 +29282,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -27709,7 +29379,10 @@ "nullable": true } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -27807,7 +29480,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -27931,7 +29607,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -28058,7 +29737,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -28187,7 +29869,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "created": { @@ -28315,7 +30000,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -28392,7 +30080,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "ending_before": { @@ -28473,7 +30164,10 @@ } } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "expand": { @@ -30234,7 +31928,7 @@ } }, "statement_descriptor_kana": { - "description": "The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only)", + "description": "The Kana variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).", "type": { "type": "nullable", "underlying_type": { @@ -30244,7 +31938,7 @@ } }, "statement_descriptor_kanji": { - "description": "The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only)", + "description": "The Kanji variation of `statement_descriptor` used for charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).", "type": { "type": "nullable", "underlying_type": { @@ -30254,7 +31948,7 @@ } }, "statement_descriptor_prefix_kana": { - "description": "The Kana variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kana` specified on the charge. `statement_descriptor_prefix_kana` is useful for maximizing descriptor space for the dynamic portion.", + "description": "The Kana variation of `statement_descriptor_prefix` used for card charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).", "type": { "type": "nullable", "underlying_type": { @@ -30264,7 +31958,7 @@ } }, "statement_descriptor_prefix_kanji": { - "description": "The Kanji variation of the default text that appears on credit card statements when a charge is made (Japan only). This field prefixes any dynamic `statement_descriptor_suffix_kanji` specified on the charge. `statement_descriptor_prefix_kanji` is useful for maximizing descriptor space for the dynamic portion.", + "description": "The Kanji variation of `statement_descriptor_prefix` used for card charges in Japan. Japanese statement descriptors have [special requirements](https://docs.stripe.com/get-started/account/statement-descriptors#set-japanese-statement-descriptors).", "type": { "type": "nullable", "underlying_type": { @@ -32646,6 +34340,458 @@ } } }, + "BillingAlert": { + "description": "A billing alert is a resource that notifies you when a certain usage threshold on a meter is crossed. For example, you might create a billing alert to notify you when a certain user made 100 API requests.", + "fields": { + "alert_type": { + "description": "Defines the type of the alert.", + "type": { + "name": "BillingAlertAlertType", + "type": "named" + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + }, + "livemode": { + "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", + "type": { + "name": "Boolean", + "type": "named" + } + }, + "object": { + "description": "String representing the object's type. Objects of the same type share the same value.", + "type": { + "name": "BillingAlertObject", + "type": "named" + } + }, + "status": { + "description": "Status of the alert. This can be active, inactive or archived.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingAlertStatus", + "type": "named" + } + } + }, + "title": { + "description": "Title of the alert.", + "type": { + "name": "String", + "type": "named" + } + }, + "usage_threshold": { + "description": "Encapsulates configuration of the alert to monitor usage on a specific [Billing Meter](https://stripe.com/docs/api/billing/meter).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "ThresholdsResourceUsageThresholdConfig", + "type": "named" + } + } + } + } + }, + "BillingClocksResourceStatusDetailsAdvancingStatusDetails": { + "fields": { + "target_frozen_time": { + "description": "The `frozen_time` that the Test Clock is advancing towards.", + "type": { + "name": "UnixTime", + "type": "named" + } + } + } + }, + "BillingClocksResourceStatusDetailsStatusDetails": { + "fields": { + "advancing": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingClocksResourceStatusDetailsAdvancingStatusDetails", + "type": "named" + } + } + } + } + }, + "BillingCreditBalanceSummary": { + "description": "Indicates the credit balance for credits granted to a customer.", + "fields": { + "balances": { + "description": "The credit balances. One entry per credit grant currency. If a customer only has credit grants in a single currency, then this will have a single balance entry.", + "type": { + "element_type": { + "name": "CreditBalance", + "type": "named" + }, + "type": "array" + } + }, + "customer": { + "description": "The customer the balance is for.", + "type": { + "name": "JSON", + "type": "named" + } + }, + "livemode": { + "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", + "type": { + "name": "Boolean", + "type": "named" + } + }, + "object": { + "description": "String representing the object's type. Objects of the same type share the same value.", + "type": { + "name": "BillingCreditBalanceSummaryObject", + "type": "named" + } + } + } + }, + "BillingCreditBalanceTransaction": { + "description": "A credit balance transaction is a resource representing a transaction (either a credit or a debit) against an existing credit grant.", + "fields": { + "created": { + "description": "Time at which the object was created. Measured in seconds since the Unix epoch.", + "type": { + "name": "UnixTime", + "type": "named" + } + }, + "credit": { + "description": "Credit details for this balance transaction. Only present if type is `credit`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingCreditGrantsResourceBalanceCredit", + "type": "named" + } + } + }, + "credit_grant": { + "description": "The credit grant associated with this balance transaction.", + "type": { + "name": "JSON", + "type": "named" + } + }, + "debit": { + "description": "Debit details for this balance transaction. Only present if type is `debit`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingCreditGrantsResourceBalanceDebit", + "type": "named" + } + } + }, + "effective_at": { + "description": "The effective time of this balance transaction.", + "type": { + "name": "UnixTime", + "type": "named" + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + }, + "livemode": { + "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", + "type": { + "name": "Boolean", + "type": "named" + } + }, + "object": { + "description": "String representing the object's type. Objects of the same type share the same value.", + "type": { + "name": "BillingCreditBalanceTransactionObject", + "type": "named" + } + }, + "test_clock": { + "description": "ID of the test clock this credit balance transaction belongs to.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "type": { + "description": "The type of balance transaction (credit or debit).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingCreditBalanceTransactionType", + "type": "named" + } + } + } + } + }, + "BillingCreditGrant": { + "description": "A credit grant is a resource that records a grant of some credit to a customer.", + "fields": { + "amount": { + "type": { + "name": "BillingCreditGrantsResourceAmount", + "type": "named" + } + }, + "applicability_config": { + "type": { + "name": "BillingCreditGrantsResourceApplicabilityConfig", + "type": "named" + } + }, + "category": { + "description": "The category of this credit grant.", + "type": { + "name": "BillingCreditGrantCategory", + "type": "named" + } + }, + "created": { + "description": "Time at which the object was created. Measured in seconds since the Unix epoch.", + "type": { + "name": "UnixTime", + "type": "named" + } + }, + "customer": { + "description": "Id of the customer to whom the credit was granted.", + "type": { + "name": "JSON", + "type": "named" + } + }, + "effective_at": { + "description": "The time when the credit becomes effective i.e when it is eligible to be used.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "expires_at": { + "description": "The time when the credit will expire. If not present, the credit will never expire.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + }, + "livemode": { + "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", + "type": { + "name": "Boolean", + "type": "named" + } + }, + "metadata": { + "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.", + "type": { + "name": "JSON", + "type": "named" + } + }, + "name": { + "description": "A descriptive name shown in dashboard and on invoices.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "object": { + "description": "String representing the object's type. Objects of the same type share the same value.", + "type": { + "name": "BillingCreditGrantObject", + "type": "named" + } + }, + "test_clock": { + "description": "ID of the test clock this credit grant belongs to.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "updated": { + "description": "Time at which the object was last updated. Measured in seconds since the Unix epoch.", + "type": { + "name": "UnixTime", + "type": "named" + } + }, + "voided_at": { + "description": "The time when this credit grant was voided. If not present, the credit grant hasn't been voided.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + } + } + }, + "BillingCreditGrantsResourceAmount": { + "fields": { + "monetary": { + "description": "The monetary amount.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingCreditGrantsResourceMonetaryAmount", + "type": "named" + } + } + }, + "type": { + "description": "The type of this amount. We currently only support `monetary` credits.", + "type": { + "name": "BillingCreditGrantsResourceAmountType", + "type": "named" + } + } + } + }, + "BillingCreditGrantsResourceApplicabilityConfig": { + "fields": { + "scope": { + "type": { + "name": "BillingCreditGrantsResourceScope", + "type": "named" + } + } + } + }, + "BillingCreditGrantsResourceBalanceCredit": { + "fields": { + "amount": { + "type": { + "name": "BillingCreditGrantsResourceAmount", + "type": "named" + } + }, + "type": { + "description": "The type of credit transaction.", + "type": { + "name": "BillingCreditGrantsResourceBalanceCreditType", + "type": "named" + } + } + } + }, + "BillingCreditGrantsResourceBalanceCreditsApplied": { + "fields": { + "invoice": { + "description": "The invoice to which the credits were applied.", + "type": { + "name": "JSON", + "type": "named" + } + }, + "invoice_line_item": { + "description": "The invoice line item to which the credits were applied.", + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "BillingCreditGrantsResourceBalanceDebit": { + "fields": { + "amount": { + "type": { + "name": "BillingCreditGrantsResourceAmount", + "type": "named" + } + }, + "credits_applied": { + "description": "Details of how the credits were applied to an invoice. Only present if `type` is `credits_applied`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "BillingCreditGrantsResourceBalanceCreditsApplied", + "type": "named" + } + } + }, + "type": { + "description": "The type of debit transaction.", + "type": { + "name": "BillingCreditGrantsResourceBalanceDebitType", + "type": "named" + } + } + } + }, + "BillingCreditGrantsResourceMonetaryAmount": { + "fields": { + "currency": { + "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", + "type": { + "name": "String", + "type": "named" + } + }, + "value": { + "description": "A positive integer representing the amount.", + "type": { + "name": "Int32", + "type": "named" + } + } + } + }, + "BillingCreditGrantsResourceScope": { + "fields": { + "price_type": { + "description": "The price type to which credit grants can apply to. We currently only support `metered` price type.", + "type": { + "name": "BillingCreditGrantsResourceScopePriceType", + "type": "named" + } + } + } + }, "BillingDetails": { "fields": { "address": { @@ -33301,7 +35447,7 @@ } }, "status": { - "description": "The status of the capability. Can be `active`, `inactive`, `pending`, or `unrequested`.", + "description": "The status of the capability.", "type": { "name": "CapabilityStatus", "type": "named" @@ -33433,7 +35579,7 @@ } }, "currency": { - "description": "Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", + "description": "Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -33752,7 +35898,7 @@ } }, "calculated_statement_descriptor": { - "description": "The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This only works for card payments.", + "description": "The full statement descriptor that is passed to card networks, and that is displayed on your customers' credit card and bank statements. Allows you to see what the statement descriptor looks like after the static and dynamic portions are combined. This value only exists for card payments.", "type": { "type": "nullable", "underlying_type": { @@ -34022,7 +36168,7 @@ } }, "source_transfer": { - "description": "The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://stripe.com/docs/connect/destination-charges) for details.", + "description": "The transfer ID which created this charge. Only present if the charge came from another Stripe account. [See the Connect documentation](https://docs.stripe.com/connect/destination-charges) for details.", "type": { "type": "nullable", "underlying_type": { @@ -34032,7 +36178,7 @@ } }, "statement_descriptor": { - "description": "For card charges, use `statement_descriptor_suffix` instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters.", + "description": "For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nFor a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.", "type": { "type": "nullable", "underlying_type": { @@ -34042,7 +36188,7 @@ } }, "statement_descriptor_suffix": { - "description": "Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.", + "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.", "type": { "type": "nullable", "underlying_type": { @@ -35257,7 +37403,7 @@ } }, "redirect_on_completion": { - "description": "This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-redirect-behavior) of embedded sessions. Defaults to `always`.", + "description": "This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.", "type": { "type": "nullable", "underlying_type": { @@ -37375,6 +39521,22 @@ } } }, + "CreditBalance": { + "fields": { + "available_balance": { + "type": { + "name": "BillingCreditGrantsResourceAmount", + "type": "named" + } + }, + "ledger_balance": { + "type": { + "name": "BillingCreditGrantsResourceAmount", + "type": "named" + } + } + } + }, "CreditNote": { "description": "Issue a credit note to adjust an invoice's amount after the invoice is finalized.\n\nRelated guide: [Credit notes](https://stripe.com/docs/billing/invoices/credit-notes)", "fields": { @@ -37529,6 +39691,18 @@ "type": "named" } }, + "pretax_credit_amounts": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "CreditNotesPretaxCreditAmount", + "type": "named" + }, + "type": "array" + } + } + }, "reason": { "description": "Reason for issuing this credit note, one of `duplicate`, `fraudulent`, `order_change`, or `product_unsatisfactory`", "type": { @@ -37707,6 +39881,18 @@ "type": "named" } }, + "pretax_credit_amounts": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "CreditNotesPretaxCreditAmount", + "type": "named" + }, + "type": "array" + } + } + }, "quantity": { "description": "The number of units of product being credited.", "type": { @@ -37857,6 +40043,44 @@ } } }, + "CreditNotesPretaxCreditAmount": { + "fields": { + "amount": { + "description": "The amount, in cents (or local equivalent), of the pretax credit amount.", + "type": { + "name": "Int32", + "type": "named" + } + }, + "credit_balance_transaction": { + "description": "The credit balance transaction that was applied to get this pretax credit amount.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "discount": { + "description": "The discount that was applied to get this pretax credit amount.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "type": { + "description": "Type of the pretax credit amount referenced.", + "type": { + "name": "CreditNotesPretaxCreditAmountType", + "type": "named" + } + } + } + }, "CustomUnitAmount": { "fields": { "maximum": { @@ -37892,7 +40116,7 @@ } }, "Customer": { - "description": "This object represents a customer of your business. Use it to create recurring charges and track payments that belong to the same customer.\n\nRelated guide: [Save a card during payment](https://stripe.com/docs/payments/save-during-payment)", + "description": "This object represents a customer of your business. Use it to [create recurring charges](https://stripe.com/docs/invoicing/customer), [save payment](https://stripe.com/docs/payments/save-during-payment) and contact information,\nand track payments that belong to the same customer.", "fields": { "address": { "description": "The customer's address.", @@ -38708,7 +40932,7 @@ } }, "CustomerSession": { - "description": "A Customer Session allows you to grant Stripe's frontend SDKs (like Stripe.js) client-side access\ncontrol over a Customer.", + "description": "A Customer Session allows you to grant Stripe's frontend SDKs (like Stripe.js) client-side access\ncontrol over a Customer.\n\nRelated guides: [Customer Session with the Payment Element](/payments/accept-a-payment-deferred?platform=web\u0026type=payment#save-payment-methods),\n[Customer Session with the Pricing Table](/payments/checkout/pricing-table#customer-session),\n[Customer Session with the Buy Button](/payment-links/buy-button#pass-an-existing-customer).", "fields": { "client_secret": { "description": "The client secret of this Customer Session. Used on the client to set up secure access to the given `customer`.\n\nThe client secret can be used to provide access to `customer` from your frontend. It should not be stored, logged, or exposed to anyone other than the relevant customer. Make sure that you have TLS enabled on any page that includes the client secret.", @@ -43376,6 +45600,15 @@ }, "DisputePaymentMethodDetails": { "fields": { + "amazon_pay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "DisputePaymentMethodDetailsAmazonPay", + "type": "named" + } + } + }, "card": { "type": { "type": "nullable", @@ -43412,6 +45645,20 @@ } } }, + "DisputePaymentMethodDetailsAmazonPay": { + "fields": { + "dispute_type": { + "description": "The AmazonPay dispute type, chargeback or claim", + "type": { + "type": "nullable", + "underlying_type": { + "name": "DisputePaymentMethodDetailsAmazonPayDisputeType", + "type": "named" + } + } + } + } + }, "DisputePaymentMethodDetailsCard": { "fields": { "brand": { @@ -46550,344 +48797,427 @@ } } }, - "GetAccountsAccountExternalAccountsResultData": { - "description": "These bank accounts are payment methods on `Customer` objects.\n\nOn the other hand [External Accounts](/api#external_accounts) are transfer\ndestinations on `Account` objects for connected accounts.\nThey can be bank accounts or debit cards as well, and are documented in the links above.\n\nRelated guide: [Bank debits and transfers](/payments/bank-debits-transfers)", - "fields": { - "account": { - "description": "The ID of the account that the bank account is associated with.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "account_holder_name": { - "description": "The name of the person or business that owns the bank account.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "account_holder_type": { - "description": "The type of entity that holds the account. This can be either `individual` or `company`.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "account_type": { - "description": "The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "address_city": { - "description": "City/District/Suburb/Town/Village.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "address_country": { - "description": "Billing address country, if provided when creating card.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "address_line1": { - "description": "Address line 1 (Street address/PO Box/Company name).", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "address_line1_check": { - "description": "If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "address_line2": { - "description": "Address line 2 (Apartment/Suite/Unit/Building).", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "address_state": { - "description": "State/County/Province/Region.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "address_zip": { - "description": "ZIP or postal code.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "address_zip_check": { - "description": "If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "available_payout_methods": { - "description": "A set of available payout methods for this bank account. Only values from this set should be passed as the `method` when creating a payout.", - "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "BankAccountAvailablePayoutMethods", - "type": "named" - }, - "type": "array" - } - } - }, - "bank_name": { - "description": "Name of the bank associated with the routing number (e.g., `WELLS FARGO`).", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "brand": { - "description": "Card brand. Can be `American Express`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.", - "type": { - "name": "String", - "type": "named" - } - }, - "country": { - "description": "Two-letter ISO code representing the country the bank account is located in.", - "type": { - "name": "String", - "type": "named" - } - }, - "currency": { - "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.", - "type": { - "name": "String", - "type": "named" - } - }, - "customer": { - "description": "The ID of the customer that the bank account is associated with.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "cvc_check": { - "description": "If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge).", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "default_for_currency": { - "description": "Whether this bank account is the default external account for its currency.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } - }, - "dynamic_last4": { - "description": "(For tokenized numbers only.) The last four digits of the device account number.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "exp_month": { - "description": "Two-digit number representing the card's expiration month.", - "type": { - "name": "Int32", - "type": "named" - } - }, - "exp_year": { - "description": "Four-digit number representing the card's expiration year.", - "type": { - "name": "Int32", - "type": "named" - } - }, - "fingerprint": { - "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "funding": { - "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.", - "type": { - "name": "String", - "type": "named" - } - }, - "future_requirements": { - "description": "Information about the [upcoming new requirements for the bank account](https://stripe.com/docs/connect/custom-accounts/future-requirements), including what information needs to be collected, and by when.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "ExternalAccountRequirements", - "type": "named" - } - } - }, - "id": { - "description": "Unique identifier for the object.", - "type": { - "name": "String", - "type": "named" - } - }, - "last4": { - "description": "The last four digits of the bank account number.", - "type": { - "name": "String", - "type": "named" - } - }, - "metadata": { - "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "JSON", - "type": "named" - } - } - }, - "name": { - "description": "Cardholder name.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "networks": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "TokenCardNetworks", - "type": "named" - } - } - }, - "object": { - "description": "String representing the object's type. Objects of the same type share the same value.", - "type": { - "name": "BankAccountObject", - "type": "named" - } - }, - "requirements": { - "description": "Information about the requirements for the bank account, including what information needs to be collected.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "ExternalAccountRequirements", - "type": "named" - } - } - }, - "routing_number": { - "description": "The routing transit number for the bank account.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - }, - "status": { - "description": "For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If a payout sent to this bank account fails, we'll set the status to `errored` and will not continue to send [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) until the bank details are updated.\n\nFor external accounts, possible values are `new`, `errored` and `verification_failed`. If a payout fails, the status is set to `errored` and scheduled payouts are stopped until account details are updated. In the US and India, if we can't [verify the owner of the bank account](https://support.stripe.com/questions/bank-account-ownership-verification), we'll set the status to `verification_failed`. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply.", - "type": { - "name": "String", - "type": "named" - } - }, - "tokenization_method": { - "description": "If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } - } - } - } - }, - "GetAccountsAccountPeopleRelationship": { + "GetAccountsAccountExternalAccountsResultData": { + "description": "These bank accounts are payment methods on `Customer` objects.\n\nOn the other hand [External Accounts](/api#external_accounts) are transfer\ndestinations on `Account` objects for connected accounts.\nThey can be bank accounts or debit cards as well, and are documented in the links above.\n\nRelated guide: [Bank debits and transfers](/payments/bank-debits-transfers)", + "fields": { + "account": { + "description": "The ID of the account that the bank account is associated with.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "account_holder_name": { + "description": "The name of the person or business that owns the bank account.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "account_holder_type": { + "description": "The type of entity that holds the account. This can be either `individual` or `company`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "account_type": { + "description": "The bank account type. This can only be `checking` or `savings` in most countries. In Japan, this can only be `futsu` or `toza`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "address_city": { + "description": "City/District/Suburb/Town/Village.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "address_country": { + "description": "Billing address country, if provided when creating card.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "address_line1": { + "description": "Address line 1 (Street address/PO Box/Company name).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "address_line1_check": { + "description": "If `address_line1` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "address_line2": { + "description": "Address line 2 (Apartment/Suite/Unit/Building).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "address_state": { + "description": "State/County/Province/Region.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "address_zip": { + "description": "ZIP or postal code.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "address_zip_check": { + "description": "If `address_zip` was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "available_payout_methods": { + "description": "A set of available payout methods for this bank account. Only values from this set should be passed as the `method` when creating a payout.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "BankAccountAvailablePayoutMethods", + "type": "named" + }, + "type": "array" + } + } + }, + "bank_name": { + "description": "Name of the bank associated with the routing number (e.g., `WELLS FARGO`).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "brand": { + "description": "Card brand. Can be `American Express`, `Diners Club`, `Discover`, `Eftpos Australia`, `Girocard`, `JCB`, `MasterCard`, `UnionPay`, `Visa`, or `Unknown`.", + "type": { + "name": "String", + "type": "named" + } + }, + "country": { + "description": "Two-letter ISO code representing the country the bank account is located in.", + "type": { + "name": "String", + "type": "named" + } + }, + "currency": { + "description": "Three-letter [ISO code for the currency](https://stripe.com/docs/payouts) paid out to the bank account.", + "type": { + "name": "String", + "type": "named" + } + }, + "customer": { + "description": "The ID of the customer that the bank account is associated with.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "cvc_check": { + "description": "If a CVC was provided, results of the check: `pass`, `fail`, `unavailable`, or `unchecked`. A result of unchecked indicates that CVC was provided but hasn't been checked yet. Checks are typically performed when attaching a card to a Customer object, or when creating a charge. For more details, see [Check if a card is valid without a charge](https://support.stripe.com/questions/check-if-a-card-is-valid-without-a-charge).", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "default_for_currency": { + "description": "Whether this bank account is the default external account for its currency.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "dynamic_last4": { + "description": "(For tokenized numbers only.) The last four digits of the device account number.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "exp_month": { + "description": "Two-digit number representing the card's expiration month.", + "type": { + "name": "Int32", + "type": "named" + } + }, + "exp_year": { + "description": "Four-digit number representing the card's expiration year.", + "type": { + "name": "Int32", + "type": "named" + } + }, + "fingerprint": { + "description": "Uniquely identifies this particular bank account. You can use this attribute to check whether two bank accounts are the same.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "funding": { + "description": "Card funding type. Can be `credit`, `debit`, `prepaid`, or `unknown`.", + "type": { + "name": "String", + "type": "named" + } + }, + "future_requirements": { + "description": "Information about the [upcoming new requirements for the bank account](https://stripe.com/docs/connect/custom-accounts/future-requirements), including what information needs to be collected, and by when.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "ExternalAccountRequirements", + "type": "named" + } + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + }, + "last4": { + "description": "The last four digits of the bank account number.", + "type": { + "name": "String", + "type": "named" + } + }, + "metadata": { + "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "name": { + "description": "Cardholder name.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "networks": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TokenCardNetworks", + "type": "named" + } + } + }, + "object": { + "description": "String representing the object's type. Objects of the same type share the same value.", + "type": { + "name": "BankAccountObject", + "type": "named" + } + }, + "requirements": { + "description": "Information about the requirements for the bank account, including what information needs to be collected.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "ExternalAccountRequirements", + "type": "named" + } + } + }, + "routing_number": { + "description": "The routing transit number for the bank account.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "status": { + "description": "For bank accounts, possible values are `new`, `validated`, `verified`, `verification_failed`, or `errored`. A bank account that hasn't had any activity or validation performed is `new`. If Stripe can determine that the bank account exists, its status will be `validated`. Note that there often isn’t enough information to know (e.g., for smaller credit unions), and the validation is not always run. If customer bank account verification has succeeded, the bank account status will be `verified`. If the verification failed for any reason, such as microdeposit failure, the status will be `verification_failed`. If a payout sent to this bank account fails, we'll set the status to `errored` and will not continue to send [scheduled payouts](https://stripe.com/docs/payouts#payout-schedule) until the bank details are updated.\n\nFor external accounts, possible values are `new`, `errored` and `verification_failed`. If a payout fails, the status is set to `errored` and scheduled payouts are stopped until account details are updated. In the US and India, if we can't [verify the owner of the bank account](https://support.stripe.com/questions/bank-account-ownership-verification), we'll set the status to `verification_failed`. Other validations aren't run against external accounts because they're only used for payouts. This means the other statuses don't apply.", + "type": { + "name": "String", + "type": "named" + } + }, + "tokenization_method": { + "description": "If the card number is tokenized, this is the method that was used. Can be `android_pay` (includes Google Pay), `apple_pay`, `masterpass`, `visa_checkout`, or null.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetAccountsAccountPeopleRelationship": { + "fields": { + "director": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "executive": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "legal_guardian": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "owner": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + }, + "representative": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Boolean", + "type": "named" + } + } + } + } + }, + "GetAccountsAccountPeopleResult": { + "fields": { + "data": { + "type": { + "element_type": { + "name": "Person", + "type": "named" + }, + "type": "array" + } + }, + "has_more": { + "description": "True if this list has another page of items after this one that can be fetched.", + "type": { + "name": "Boolean", + "type": "named" + } + }, + "object": { + "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", + "type": { + "name": "AccountsObject", + "type": "named" + } + }, + "url": { + "description": "The URL where this list can be accessed.", + "type": { + "name": "String", + "type": "named" + } + } + } + }, + "GetAccountsAccountPersonsRelationship": { "fields": { "director": { "type": { @@ -46936,7 +49266,7 @@ } } }, - "GetAccountsAccountPeopleResult": { + "GetAccountsAccountPersonsResult": { "fields": { "data": { "type": { @@ -46970,61 +49300,46 @@ } } }, - "GetAccountsAccountPersonsRelationship": { + "GetAccountsResult": { "fields": { - "director": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } - }, - "executive": { + "data": { "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", + "element_type": { + "name": "Account", "type": "named" - } + }, + "type": "array" } }, - "legal_guardian": { + "has_more": { + "description": "True if this list has another page of items after this one that can be fetched.", "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } + "name": "Boolean", + "type": "named" } }, - "owner": { + "object": { + "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } + "name": "AccountsObject", + "type": "named" } }, - "representative": { + "url": { + "description": "The URL where this list can be accessed.", "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } + "name": "String", + "type": "named" } } } }, - "GetAccountsAccountPersonsResult": { + "GetApplePayDomainsResult": { "fields": { "data": { "type": { "element_type": { - "name": "Person", + "name": "ApplePayDomain", "type": "named" }, "type": "array" @@ -47040,7 +49355,7 @@ "object": { "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "name": "AccountsObject", + "name": "ApplePayObject", "type": "named" } }, @@ -47053,12 +49368,13 @@ } } }, - "GetAccountsResult": { + "GetApplicationFeesIdRefundsResult": { "fields": { "data": { + "description": "Details about each object.", "type": { "element_type": { - "name": "Account", + "name": "FeeRefund", "type": "named" }, "type": "array" @@ -47074,7 +49390,7 @@ "object": { "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "name": "AccountsObject", + "name": "ApplicationFeesObject", "type": "named" } }, @@ -47087,12 +49403,12 @@ } } }, - "GetApplePayDomainsResult": { + "GetApplicationFeesResult": { "fields": { "data": { "type": { "element_type": { - "name": "ApplePayDomain", + "name": "ApplicationFee", "type": "named" }, "type": "array" @@ -47108,7 +49424,7 @@ "object": { "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "name": "ApplePayObject", + "name": "ApplicationFeesObject", "type": "named" } }, @@ -47121,13 +49437,31 @@ } } }, - "GetApplicationFeesIdRefundsResult": { + "GetAppsSecretsFindScope": { + "fields": { + "type": { + "type": { + "name": "AppsType", + "type": "named" + } + }, + "user": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetAppsSecretsResult": { "fields": { "data": { - "description": "Details about each object.", "type": { "element_type": { - "name": "FeeRefund", + "name": "AppsSecret", "type": "named" }, "type": "array" @@ -47143,7 +49477,7 @@ "object": { "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "name": "ApplicationFeesObject", + "name": "AppsObject", "type": "named" } }, @@ -47156,12 +49490,31 @@ } } }, - "GetApplicationFeesResult": { + "GetAppsSecretsScope": { + "fields": { + "type": { + "type": { + "name": "AppsType", + "type": "named" + } + }, + "user": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "GetBalanceHistoryResult": { "fields": { "data": { "type": { "element_type": { - "name": "ApplicationFee", + "name": "BalanceTransaction", "type": "named" }, "type": "array" @@ -47177,7 +49530,7 @@ "object": { "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "name": "ApplicationFeesObject", + "name": "GetBalanceHistoryResultObject", "type": "named" } }, @@ -47190,31 +49543,46 @@ } } }, - "GetAppsSecretsFindScope": { + "GetBalanceTransactionsResult": { "fields": { - "type": { + "data": { "type": { - "name": "AppsType", + "element_type": { + "name": "BalanceTransaction", + "type": "named" + }, + "type": "array" + } + }, + "has_more": { + "description": "True if this list has another page of items after this one that can be fetched.", + "type": { + "name": "Boolean", "type": "named" } }, - "user": { + "object": { + "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "type": "nullable", - "underlying_type": { - "name": "String", - "type": "named" - } + "name": "BalanceTransactionsObject", + "type": "named" + } + }, + "url": { + "description": "The URL where this list can be accessed.", + "type": { + "name": "String", + "type": "named" } } } }, - "GetAppsSecretsResult": { + "GetBillingAlertsResult": { "fields": { "data": { "type": { "element_type": { - "name": "AppsSecret", + "name": "BillingAlert", "type": "named" }, "type": "array" @@ -47230,7 +49598,7 @@ "object": { "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "name": "AppsObject", + "name": "BillingObject", "type": "named" } }, @@ -47243,15 +49611,18 @@ } } }, - "GetAppsSecretsScope": { + "GetBillingCreditBalanceSummaryFilter": { "fields": { - "type": { + "applicability_scope": { "type": { - "name": "AppsType", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "GetBillingCreditBalanceSummaryFilterApplicabilityScope", + "type": "named" + } } }, - "user": { + "credit_grant": { "type": { "type": "nullable", "underlying_type": { @@ -47259,15 +49630,31 @@ "type": "named" } } + }, + "type": { + "type": { + "name": "GetBillingCreditBalanceSummaryFilterType", + "type": "named" + } } } }, - "GetBalanceHistoryResult": { + "GetBillingCreditBalanceSummaryFilterApplicabilityScope": { + "fields": { + "price_type": { + "type": { + "name": "BillingPriceType", + "type": "named" + } + } + } + }, + "GetBillingCreditBalanceTransactionsResult": { "fields": { "data": { "type": { "element_type": { - "name": "BalanceTransaction", + "name": "BillingCreditBalanceTransaction", "type": "named" }, "type": "array" @@ -47283,7 +49670,7 @@ "object": { "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "name": "GetBalanceHistoryResultObject", + "name": "BillingObject", "type": "named" } }, @@ -47296,12 +49683,12 @@ } } }, - "GetBalanceTransactionsResult": { + "GetBillingCreditGrantsResult": { "fields": { "data": { "type": { "element_type": { - "name": "BalanceTransaction", + "name": "BillingCreditGrant", "type": "named" }, "type": "array" @@ -47317,7 +49704,7 @@ "object": { "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", "type": { - "name": "BalanceTransactionsObject", + "name": "BillingObject", "type": "named" } }, @@ -48326,7 +50713,7 @@ } }, "GetCustomersCustomerResult": { - "description": "This object represents a customer of your business. Use it to create recurring charges and track payments that belong to the same customer.\n\nRelated guide: [Save a card during payment](https://stripe.com/docs/payments/save-during-payment)", + "description": "This object represents a customer of your business. Use it to [create recurring charges](https://stripe.com/docs/invoicing/customer), [save payment](https://stripe.com/docs/payments/save-during-payment) and contact information,\nand track payments that belong to the same customer.", "fields": { "address": { "description": "The customer's address.", @@ -49925,6 +52312,41 @@ } } }, + "GetInvoiceRenderingTemplatesResult": { + "fields": { + "data": { + "description": "Details about each object.", + "type": { + "element_type": { + "name": "InvoiceRenderingTemplate", + "type": "named" + }, + "type": "array" + } + }, + "has_more": { + "description": "True if this list has another page of items after this one that can be fetched.", + "type": { + "name": "Boolean", + "type": "named" + } + }, + "object": { + "description": "String representing the object's type. Objects of the same type share the same value. Always has the value `list`.", + "type": { + "name": "InvoiceRenderingTemplatesObject", + "type": "named" + } + }, + "url": { + "description": "The URL where this list can be accessed.", + "type": { + "name": "String", + "type": "named" + } + } + } + }, "GetInvoiceitemsResult": { "fields": { "data": { @@ -55978,7 +58400,7 @@ } }, "status": { - "description": "The networking status of the reader.", + "description": "The networking status of the reader. We do not recommend using this field in flows that may block taking payments.", "type": { "type": "nullable", "underlying_type": { @@ -57136,6 +59558,16 @@ "type": "named" } }, + "automatically_finalizes_at": { + "description": "The time when this invoice is currently scheduled to be automatically finalized. The field will be `null` if the invoice is not scheduled to finalize in the future. If the invoice is not in the draft state, this field will always be `null` - see `finalized_at` for the time when an already-finalized invoice was finalized.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, "billing_reason": { "description": "Indicates the reason why the invoice was created.\n\n* `manual`: Unrelated to a subscription, for example, created via the invoice editor.\n* `subscription`: No longer in use. Applies to subscriptions from before May 2018 where no distinction was made between updates, cycles, and thresholds.\n* `subscription_create`: A new subscription was created.\n* `subscription_cycle`: A subscription advanced into a new period.\n* `subscription_threshold`: A subscription reached a billing threshold.\n* `subscription_update`: A subscription was updated.\n* `upcoming`: Reserved for simulated invoices, per the upcoming invoice endpoint.", "type": { @@ -57747,6 +60179,18 @@ } } }, + "total_pretax_credit_amounts": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "InvoicesResourcePretaxCreditAmount", + "type": "named" + }, + "type": "array" + } + } + }, "total_tax_amounts": { "description": "The aggregate amounts calculated per tax rate for all line items.", "type": { @@ -58123,6 +60567,73 @@ } } }, + "InvoiceRenderingTemplate": { + "description": "Invoice Rendering Templates are used to configure how invoices are rendered on surfaces like the PDF. Invoice Rendering Templates\ncan be created from within the Dashboard, and they can be used over the API when creating invoices.", + "fields": { + "created": { + "description": "Time at which the object was created. Measured in seconds since the Unix epoch.", + "type": { + "name": "UnixTime", + "type": "named" + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", + "type": "named" + } + }, + "livemode": { + "description": "Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.", + "type": { + "name": "Boolean", + "type": "named" + } + }, + "metadata": { + "description": "Set of [key-value pairs](https://stripe.com/docs/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "nickname": { + "description": "A brief description of the template, hidden from customers", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "object": { + "description": "String representing the object's type. Objects of the same type share the same value.", + "type": { + "name": "InvoiceRenderingTemplateObject", + "type": "named" + } + }, + "status": { + "description": "The status of the template, one of `active` or `archived`.", + "type": { + "name": "InvoiceRenderingTemplateStatus", + "type": "named" + } + }, + "version": { + "description": "Version of this template; version increases by one when an update on the template changes any field that controls invoice rendering", + "type": { + "name": "Int32", + "type": "named" + } + } + } + }, "InvoiceSettingCustomField": { "fields": { "name": { @@ -58152,6 +60663,16 @@ "type": "named" } } + }, + "template": { + "description": "ID of the invoice rendering template to be used for this customer's invoices. If set, the template will be used on all invoices for this customer unless a template is set directly on the invoice.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } } } }, @@ -58743,13 +61264,33 @@ "type": "named" } } + }, + "template": { + "description": "ID of the rendering template that the invoice is formatted by.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "template_version": { + "description": "Version of the rendering template that the invoice is using.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } } } }, "InvoicesResourceInvoiceTaxId": { "fields": { "type": { - "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown`", + "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown`", "type": { "name": "InvoicesResourceInvoiceTaxIdType", "type": "named" @@ -58802,6 +61343,54 @@ } } }, + "InvoicesResourcePretaxCreditAmount": { + "fields": { + "amount": { + "description": "The amount, in cents (or local equivalent), of the pretax credit amount.", + "type": { + "name": "Int32", + "type": "named" + } + }, + "credit_balance_transaction": { + "description": "The credit balance transaction that was applied to get this pretax credit amount.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "discount": { + "description": "The discount that was applied to get this pretax credit amount.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "margin": { + "description": "The margin that was applied to get this pretax credit amount.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "type": { + "description": "Type of the pretax credit amount referenced.", + "type": { + "name": "InvoicesResourcePretaxCreditAmountType", + "type": "named" + } + } + } + }, "InvoicesResourceShippingCost": { "fields": { "amount_subtotal": { @@ -62067,7 +64656,7 @@ "clearing_date": { "description": "The date that the transactions are cleared and posted to user's accounts.", "type": { - "name": "Int32", + "name": "UnixTime", "type": "named" } }, @@ -62155,6 +64744,13 @@ "type": "named" } }, + "status": { + "description": "The current processing status of this settlement.", + "type": { + "name": "IssuingSettlementStatus", + "type": "named" + } + }, "transaction_count": { "description": "The total number of transactions reflected in this settlement.", "type": { @@ -63067,8 +65663,11 @@ "description": { "description": "An arbitrary string attached to the object. Often useful for displaying to users. Defaults to product name.", "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } }, "discounts": { @@ -63133,6 +65732,34 @@ } } }, + "KlarnaAddress": { + "fields": { + "country": { + "description": "The payer address country", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "KlarnaPayerDetails": { + "fields": { + "address": { + "description": "The payer's address", + "type": { + "type": "nullable", + "underlying_type": { + "name": "KlarnaAddress", + "type": "named" + } + } + } + } + }, "LegalEntityCompany": { "fields": { "address": { @@ -63607,6 +66234,7 @@ } }, "LineItem": { + "description": "Invoice Line Items represent the individual lines within an [invoice](https://stripe.com/docs/api/invoices) and only exist within the context of an invoice.\n\nEach line item is backed by either an [invoice item](https://stripe.com/docs/api/invoiceitems) or a [subscription item](https://stripe.com/docs/api/subscription_items).", "fields": { "amount": { "description": "The amount, in cents (or local equivalent).", @@ -63726,6 +66354,18 @@ "type": "named" } }, + "pretax_credit_amounts": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "InvoicesResourcePretaxCreditAmount", + "type": "named" + }, + "type": "array" + } + } + }, "price": { "description": "The price of the line item.", "type": { @@ -63786,27 +66426,21 @@ "tax_amounts": { "description": "The amount of tax calculated per tax rate for this line item", "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "InvoiceTaxAmount", - "type": "named" - }, - "type": "array" - } + "element_type": { + "name": "InvoiceTaxAmount", + "type": "named" + }, + "type": "array" } }, "tax_rates": { "description": "The tax rates which apply to the line item.", "type": { - "type": "nullable", - "underlying_type": { - "element_type": { - "name": "TaxRate", - "type": "named" - }, - "type": "array" - } + "element_type": { + "name": "TaxRate", + "type": "named" + }, + "type": "array" } }, "type": { @@ -64857,6 +67491,17 @@ } } }, + "PaymentFlowsPrivatePaymentMethodsCardPresentCommonWallet": { + "fields": { + "type": { + "description": "The type of mobile wallet, one of `apple_pay`, `google_pay`, `samsung_pay`, or `unknown`.", + "type": { + "name": "PaymentFlowsPrivatePaymentMethodsCardPresentCommonWalletType", + "type": "named" + } + } + } + }, "PaymentFlowsPrivatePaymentMethodsKlarnaDob": { "fields": { "day": { @@ -65036,7 +67681,7 @@ } }, "customer": { - "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.corp.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.", + "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.", "type": { "type": "nullable", "underlying_type": { @@ -65227,7 +67872,7 @@ } }, "statement_descriptor": { - "description": "For card charges, use [statement_descriptor_suffix](https://stripe.com/docs/payments/account/statement-descriptors#dynamic). Otherwise, you can use this value as the complete description of a charge on your customers' statements. It must contain at least one letter and be 1–22 characters long.", + "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.", "type": { "type": "nullable", "underlying_type": { @@ -65237,7 +67882,7 @@ } }, "statement_descriptor_suffix": { - "description": "Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.", + "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.", "type": { "type": "nullable", "underlying_type": { @@ -66949,50 +69594,11 @@ }, "PaymentIntentPaymentMethodOptionsBacsDebit": { "fields": { - "capture_method": { - "description": "Controls when the funds will be captured from the customer's account.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "PaymentIntentTypeSpecificPaymentMethodOptionsClientCaptureMethod", - "type": "named" - } - } - }, - "installments": { - "type": { - "type": "nullable", - "underlying_type": { - "name": "PaymentFlowsInstallmentOptions", - "type": "named" - } - } - }, - "request_incremental_authorization_support": { - "description": "Request ability to [increment](https://stripe.com/docs/terminal/features/incremental-authorizations) this PaymentIntent if the combination of MCC and card brand is eligible. Check [incremental_authorization_supported](https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card_present-incremental_authorization_supported) in the [Confirm](https://stripe.com/docs/api/payment_intents/confirm) response to verify support.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } - }, - "require_cvc_recollection": { - "description": "When enabled, using a card that is attached to a customer will require the CVC to be provided again (i.e. using the cvc_token parameter).", - "type": { - "type": "nullable", - "underlying_type": { - "name": "Boolean", - "type": "named" - } - } - }, - "routing": { + "mandate_options": { "type": { "type": "nullable", "underlying_type": { - "name": "PaymentMethodOptionsCardPresentRouting", + "name": "JSON", "type": "named" } } @@ -67002,17 +69608,7 @@ "type": { "type": "nullable", "underlying_type": { - "name": "PaymentMethodOptionsBacsDebitSetupFutureUsage", - "type": "named" - } - } - }, - "verification_method": { - "description": "Bank account verification method.", - "type": { - "type": "nullable", - "underlying_type": { - "name": "PaymentIntentTypeSpecificPaymentMethodOptionsClientVerificationMethod", + "name": "PaymentIntentPaymentMethodOptionsBacsDebitSetupFutureUsage", "type": "named" } } @@ -70042,7 +72638,7 @@ } }, "statement_descriptor": { - "description": "Extra information about the payment. This will appear on your customer's statement when this payment succeeds in creating a charge.", + "description": "For a non-card payment, information about the charge that appears on the customer's statement when this payment succeeds in creating a charge.", "type": { "type": "nullable", "underlying_type": { @@ -70052,7 +72648,7 @@ } }, "statement_descriptor_suffix": { - "description": "Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that's set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.", + "description": "For a card payment, information about the charge that appears on the customer's statement when this payment succeeds in creating a charge. Concatenated with the account's statement descriptor prefix to form the complete statement descriptor.", "type": { "type": "nullable", "underlying_type": { @@ -70202,6 +72798,12 @@ "name": "Boolean", "type": "named" } + }, + "required": { + "type": { + "name": "PaymentLinksResourceTaxIdCollectionRequired", + "type": "named" + } } } }, @@ -71131,6 +73733,15 @@ "type": "named" } } + }, + "wallet": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentFlowsPrivatePaymentMethodsCardPresentCommonWallet", + "type": "named" + } + } } } }, @@ -72664,6 +75275,16 @@ } } }, + "authorization_code": { + "description": "Authorization code on the charge.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, "brand": { "description": "Card brand. Can be `amex`, `diners`, `discover`, `eftpos_au`, `jcb`, `mastercard`, `unionpay`, `visa`, or `unknown`.", "type": { @@ -73100,7 +75721,7 @@ } }, "network_transaction_id": { - "description": "This is used by the financial networks to identify a transaction.\nVisa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.\nThe first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD).\nThis field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.", + "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.", "type": { "type": "nullable", "underlying_type": { @@ -73158,6 +75779,15 @@ "type": "named" } } + }, + "wallet": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentFlowsPrivatePaymentMethodsCardPresentCommonWallet", + "type": "named" + } + } } } }, @@ -73172,6 +75802,16 @@ "type": "named" } } + }, + "type": { + "description": "The method used to process this payment method offline. Only deferred is allowed.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentMethodDetailsCardPresentOfflineType", + "type": "named" + } + } } } }, @@ -73759,7 +76399,7 @@ } }, "network_transaction_id": { - "description": "This is used by the financial networks to identify a transaction.\nVisa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data.\nThe first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD).\nThis field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.", + "description": "This is used by the financial networks to identify a transaction. Visa calls this the Transaction ID, Mastercard calls this the Trace ID, and American Express calls this the Acquirer Reference Data. The first three digits of the Trace ID is the Financial Network Code, the next 6 digits is the Banknet Reference Number, and the last 4 digits represent the date (MM/DD). This field will be available for successful Visa, Mastercard, or American Express transactions and always null for other card brands.", "type": { "type": "nullable", "underlying_type": { @@ -73899,6 +76539,16 @@ }, "PaymentMethodDetailsKlarna": { "fields": { + "payer_details": { + "description": "The payer details for this transaction.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "KlarnaPayerDetails", + "type": "named" + } + } + }, "payment_method_category": { "description": "The Klarna payment method used for this transaction.\nCan be one of `pay_later`, `pay_now`, `pay_with_financing`, or `pay_in_installments`", "type": { @@ -75953,7 +78603,7 @@ "PaymentPagesCheckoutSessionTaxId": { "fields": { "type": { - "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown`", + "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown`", "type": { "name": "PaymentPagesCheckoutSessionTaxIdType", "type": "named" @@ -75979,6 +78629,13 @@ "name": "Boolean", "type": "named" } + }, + "required": { + "description": "Indicates whether a tax ID is required on the payment page", + "type": { + "name": "PaymentPagesCheckoutSessionTaxIdCollectionRequired", + "type": "named" + } } } }, @@ -77393,9 +80050,13 @@ "PersonAdditionalTosAcceptances": { "fields": { "account": { + "description": "Details on the legal guardian's acceptance of the main Stripe service agreement.", "type": { - "name": "PersonAdditionalTosAcceptance", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PersonAdditionalTosAcceptance", + "type": "named" + } } } } @@ -78462,8 +81123,11 @@ "fields": { "fields": { "type": { - "name": "AccountLinksFields", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "AccountLinksFields", + "type": "named" + } } }, "future_requirements": { @@ -82674,7 +85338,7 @@ "PostAccountsAccountPeopleBody": { "fields": { "additional_tos_acceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "description": "Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.", "type": { "type": "nullable", "underlying_type": { @@ -82962,7 +85626,7 @@ } }, "PostAccountsAccountPeopleBodyAdditionalTosAcceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "description": "Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.", "fields": { "account": { "type": { @@ -83509,7 +86173,7 @@ "PostAccountsAccountPeoplePersonBody": { "fields": { "additional_tos_acceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "description": "Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.", "type": { "type": "nullable", "underlying_type": { @@ -83797,7 +86461,7 @@ } }, "PostAccountsAccountPeoplePersonBodyAdditionalTosAcceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "description": "Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.", "fields": { "account": { "type": { @@ -84344,7 +87008,7 @@ "PostAccountsAccountPersonsBody": { "fields": { "additional_tos_acceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "description": "Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.", "type": { "type": "nullable", "underlying_type": { @@ -84632,7 +87296,7 @@ } }, "PostAccountsAccountPersonsBodyAdditionalTosAcceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "description": "Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.", "fields": { "account": { "type": { @@ -85179,7 +87843,7 @@ "PostAccountsAccountPersonsPersonBody": { "fields": { "additional_tos_acceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "description": "Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.", "type": { "type": "nullable", "underlying_type": { @@ -85467,7 +88131,7 @@ } }, "PostAccountsAccountPersonsPersonBodyAdditionalTosAcceptances": { - "description": "Details on the legal guardian's acceptance of the required Stripe agreements.", + "description": "Details on the legal guardian's or authorizer's acceptance of the required Stripe agreements.", "fields": { "account": { "type": { @@ -89441,6 +92105,368 @@ } } }, + "PostBillingAlertsBody": { + "fields": { + "alert_type": { + "description": "The type of alert to create.", + "type": { + "name": "BillingAlertType", + "type": "named" + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "title": { + "description": "The title of the alert.", + "type": { + "name": "String", + "type": "named" + } + }, + "usage_threshold": { + "description": "The configuration of the usage threshold.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostBillingAlertsBodyUsageThreshold", + "type": "named" + } + } + } + } + }, + "PostBillingAlertsBodyUsageThreshold": { + "description": "The configuration of the usage threshold.", + "fields": { + "filters": { + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "PostBillingAlertsBodyUsageThresholdFilters", + "type": "named" + }, + "type": "array" + } + } + }, + "gte": { + "type": { + "name": "Int32", + "type": "named" + } + }, + "meter": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "recurrence": { + "type": { + "name": "BillingRecurrence", + "type": "named" + } + } + } + }, + "PostBillingAlertsBodyUsageThresholdFilters": { + "fields": { + "customer": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "BillingType", + "type": "named" + } + } + } + }, + "PostBillingAlertsIdActivateBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostBillingAlertsIdArchiveBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostBillingAlertsIdDeactivateBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostBillingCreditGrantsBody": { + "fields": { + "amount": { + "description": "Amount of this credit grant.", + "type": { + "name": "PostBillingCreditGrantsBodyAmount", + "type": "named" + } + }, + "applicability_config": { + "description": "Configuration specifying what this credit grant applies to.", + "type": { + "name": "PostBillingCreditGrantsBodyApplicabilityConfig", + "type": "named" + } + }, + "category": { + "description": "The category of this credit grant.", + "type": { + "name": "BillingCategory", + "type": "named" + } + }, + "customer": { + "description": "Id of the customer to whom the credit should be granted.", + "type": { + "name": "String", + "type": "named" + } + }, + "effective_at": { + "description": "The time when the credit becomes effective i.e when it is eligible to be used. Defaults to the current timestamp if not specified.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "expires_at": { + "description": "The time when the credit will expire. If not specified, the credit will never expire.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "metadata": { + "description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object (ex: cost basis) in a structured format.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "name": { + "description": "A descriptive name shown in dashboard and on invoices.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + } + } + }, + "PostBillingCreditGrantsBodyAmount": { + "description": "Amount of this credit grant.", + "fields": { + "monetary": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostBillingCreditGrantsBodyAmountMonetary", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "PostBillingCreditGrantsBodyAmountType", + "type": "named" + } + } + } + }, + "PostBillingCreditGrantsBodyAmountMonetary": { + "fields": { + "currency": { + "type": { + "name": "String", + "type": "named" + } + }, + "value": { + "type": { + "name": "Int32", + "type": "named" + } + } + } + }, + "PostBillingCreditGrantsBodyApplicabilityConfig": { + "description": "Configuration specifying what this credit grant applies to.", + "fields": { + "scope": { + "type": { + "name": "PostBillingCreditGrantsBodyApplicabilityConfigScope", + "type": "named" + } + } + } + }, + "PostBillingCreditGrantsBodyApplicabilityConfigScope": { + "fields": { + "price_type": { + "type": { + "name": "BillingPriceType", + "type": "named" + } + } + } + }, + "PostBillingCreditGrantsIdBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "expires_at": { + "description": "The time when the credit created by this credit grant will expire. If set to empty, the credit will never expire.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "UnixTime", + "type": "named" + } + } + }, + "metadata": { + "description": "Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object (ex: cost basis) in a structured format.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, + "PostBillingCreditGrantsIdExpireBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostBillingCreditGrantsIdVoidBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, "PostBillingMeterEventAdjustmentsBody": { "fields": { "cancel": { @@ -89476,7 +92502,7 @@ "type": { "description": "Specifies whether to cancel a single event or a range of events for a time period. Time period cancellation is not supported yet.", "type": { - "name": "BillingType", + "name": "PostBillingMeterEventAdjustmentsBodyType", "type": "named" } } @@ -90846,7 +93872,7 @@ } }, "statement_descriptor": { - "description": "For card charges, use `statement_descriptor_suffix` instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters.", + "description": "For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nFor a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.", "type": { "type": "nullable", "underlying_type": { @@ -90856,7 +93882,7 @@ } }, "statement_descriptor_suffix": { - "description": "Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.", + "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.", "type": { "type": "nullable", "underlying_type": { @@ -91279,7 +94305,7 @@ } }, "statement_descriptor": { - "description": "For card charges, use `statement_descriptor_suffix` instead. Otherwise, you can use this value as the complete description of a charge on your customers’ statements. Must contain at least one letter, maximum 22 characters.", + "description": "For a non-card charge, text that appears on the customer's statement as the statement descriptor. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nFor a card charge, this value is ignored unless you don't specify a `statement_descriptor_suffix`, in which case this value is used as the suffix.", "type": { "type": "nullable", "underlying_type": { @@ -91289,7 +94315,7 @@ } }, "statement_descriptor_suffix": { - "description": "Provides information about the charge that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.", + "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement. If the account has no prefix value, the suffix is concatenated to the account's statement descriptor.", "type": { "type": "nullable", "underlying_type": { @@ -91918,7 +94944,7 @@ } }, "cancel_url": { - "description": "If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website.", + "description": "If set, Checkout displays a back button and customers will be directed to this URL if they decide to cancel payment and return to your website. This parameter is not allowed if ui_mode is `embedded`.", "type": { "type": "nullable", "underlying_type": { @@ -92183,7 +95209,7 @@ } }, "redirect_on_completion": { - "description": "This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-redirect-behavior) of embedded sessions. Defaults to `always`.", + "description": "This parameter applies to `ui_mode: embedded`. Learn more about the [redirect behavior](https://stripe.com/docs/payments/checkout/custom-success-page?payment-ui=embedded-form) of embedded sessions. Defaults to `always`.", "type": { "type": "nullable", "underlying_type": { @@ -94823,6 +97849,15 @@ "name": "Boolean", "type": "named" } + }, + "required": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "CheckoutRequired", + "type": "named" + } + } } } }, @@ -96096,6 +99131,15 @@ "type": "named" } } + }, + "template": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } } } }, @@ -96889,7 +99933,7 @@ } }, "currency": { - "description": "Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", + "description": "Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -97682,6 +100726,15 @@ "type": "named" } } + }, + "template": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } } } }, @@ -98371,7 +101424,7 @@ } }, "currency": { - "description": "Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", + "description": "Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -99422,7 +102475,7 @@ } }, "currency": { - "description": "Three-letter [ISO code for currency](https://stripe.com/docs/payouts). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", + "description": "Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies). Only applicable on accounts (not customers or recipients). The card can be used as a transfer destination for funds in this currency. This property is only available for accounts where [controller.requirement_collection](/api/accounts/object#account_object-controller-requirement_collection) is `application`, which includes Custom accounts.", "type": { "type": "nullable", "underlying_type": { @@ -102242,7 +105295,7 @@ } }, "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`", "type": { "name": "CustomersType", "type": "named" @@ -102740,7 +105793,7 @@ } }, "file": { - "description": "The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `identity_document_downloadable`, `pci_document`, `selfie`, `sigma_scheduled_query`, `tax_document_user_upload`, or `terminal_reader_splashscreen`.", + "description": "The ID of the file. The file's `purpose` must be one of the following: `business_icon`, `business_logo`, `customer_signature`, `dispute_evidence`, `finance_report_run`, `identity_document_downloadable`, `issuing_regulatory_reporting`, `pci_document`, `selfie`, `sigma_scheduled_query`, `tax_document_user_upload`, or `terminal_reader_splashscreen`.", "type": { "name": "String", "type": "named" @@ -103529,6 +106582,40 @@ } } }, + "PostInvoiceRenderingTemplatesTemplateArchiveBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "PostInvoiceRenderingTemplatesTemplateUnarchiveBody": { + "fields": { + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + } + } + }, "PostInvoiceitemsBody": { "fields": { "amount": { @@ -104726,14 +107813,20 @@ "fields": { "count": { "type": { - "name": "Int32", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } } }, "interval": { "type": { - "name": "InvoicesInterval", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "InvoicesInterval", + "type": "named" + } } }, "type": { @@ -104893,6 +107986,24 @@ "type": "named" } } + }, + "template": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "template_version": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } } } }, @@ -105258,7 +108369,7 @@ } }, "invoice_items": { - "description": "List of invoice items to add or update in the upcoming invoice preview.", + "description": "List of invoice items to add or update in the upcoming invoice preview (up to 250).", "type": { "type": "nullable", "underlying_type": { @@ -107919,14 +111030,20 @@ "fields": { "count": { "type": { - "name": "Int32", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } } }, "interval": { "type": { - "name": "InvoicesInterval", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "InvoicesInterval", + "type": "named" + } } }, "type": { @@ -108086,6 +111203,24 @@ "type": "named" } } + }, + "template": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "template_version": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } } } }, @@ -112769,7 +115904,7 @@ } }, "customer": { - "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.corp.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.", + "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.", "type": { "type": "nullable", "underlying_type": { @@ -112965,7 +116100,7 @@ } }, "statement_descriptor": { - "description": "For card charges, use [statement_descriptor_suffix](https://stripe.com/docs/payments/account/statement-descriptors#dynamic). Otherwise, you can use this value as the complete description of a charge on your customers' statements. It must contain at least one letter and be 1–22 characters long.", + "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.", "type": { "type": "nullable", "underlying_type": { @@ -112975,7 +116110,7 @@ } }, "statement_descriptor_suffix": { - "description": "Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. The concatenated descriptor must contain 1-22 characters.", + "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.", "type": { "type": "nullable", "underlying_type": { @@ -114352,6 +117487,15 @@ }, "PostPaymentIntentsBodyPaymentMethodOptionsBacsDebit": { "fields": { + "mandate_options": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, "setup_future_usage": { "type": { "type": "nullable", @@ -114594,14 +117738,20 @@ "fields": { "count": { "type": { - "name": "Int32", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } } }, "interval": { "type": { - "name": "PaymentIntentsInterval", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PaymentIntentsInterval", + "type": "named" + } } }, "type": { @@ -115790,7 +118940,7 @@ } }, "customer": { - "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.corp.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.", + "description": "ID of the Customer this PaymentIntent belongs to, if one exists.\n\nPayment methods attached to other Customers cannot be used with this PaymentIntent.\n\nIf [setup_future_usage](https://stripe.com/docs/api#payment_intent_object-setup_future_usage) is set and this PaymentIntent's payment method is not `card_present`, then the payment method attaches to the Customer after the PaymentIntent has been confirmed and any required actions from the user are complete. If the payment method is `card_present` and isn't a digital wallet, then a [generated_card](https://docs.stripe.com/api/charges/object#charge_object-payment_method_details-card_present-generated_card) payment method representing the card is created and attached to the Customer instead.", "type": { "type": "nullable", "underlying_type": { @@ -115916,7 +119066,7 @@ } }, "statement_descriptor": { - "description": "For card charges, use [statement_descriptor_suffix](https://stripe.com/docs/payments/account/statement-descriptors#dynamic). Otherwise, you can use this value as the complete description of a charge on your customers' statements. It must contain at least one letter and be 1–22 characters long.", + "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.", "type": { "type": "nullable", "underlying_type": { @@ -115926,7 +119076,7 @@ } }, "statement_descriptor_suffix": { - "description": "Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. Maximum 22 characters for the concatenated descriptor.", + "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.", "type": { "type": "nullable", "underlying_type": { @@ -117210,6 +120360,15 @@ }, "PostPaymentIntentsIntentBodyPaymentMethodOptionsBacsDebit": { "fields": { + "mandate_options": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, "setup_future_usage": { "type": { "type": "nullable", @@ -117452,14 +120611,20 @@ "fields": { "count": { "type": { - "name": "Int32", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } } }, "interval": { "type": { - "name": "PaymentIntentsInterval", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PaymentIntentsInterval", + "type": "named" + } } }, "type": { @@ -118630,7 +121795,7 @@ } }, "statement_descriptor": { - "description": "For card charges, use [statement_descriptor_suffix](https://stripe.com/docs/payments/account/statement-descriptors#dynamic). Otherwise, you can use this value as the complete description of a charge on your customers' statements. It must contain at least one letter and be 1–22 characters long.", + "description": "Text that appears on the customer's statement as the statement descriptor for a non-card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).\n\nSetting this value for a card charge returns an error. For card charges, set the [statement_descriptor_suffix](https://docs.stripe.com/get-started/account/statement-descriptors#dynamic) instead.", "type": { "type": "nullable", "underlying_type": { @@ -118640,7 +121805,7 @@ } }, "statement_descriptor_suffix": { - "description": "Provides information about a card payment that customers see on their statements. Concatenated with the prefix (shortened descriptor) or statement descriptor that’s set on the account to form the complete statement descriptor. The concatenated descriptor must be 1-22 characters long.", + "description": "Provides information about a card charge. Concatenated to the account's [statement descriptor prefix](https://docs.stripe.com/get-started/account/statement-descriptors#static) to form the complete statement descriptor that appears on the customer's statement.", "type": { "type": "nullable", "underlying_type": { @@ -120219,6 +123384,15 @@ }, "PostPaymentIntentsIntentConfirmBodyPaymentMethodOptionsBacsDebit": { "fields": { + "mandate_options": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, "setup_future_usage": { "type": { "type": "nullable", @@ -120461,14 +123635,20 @@ "fields": { "count": { "type": { - "name": "Int32", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } } }, "interval": { "type": { - "name": "PaymentIntentsInterval", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "PaymentIntentsInterval", + "type": "named" + } } }, "type": { @@ -121609,7 +124789,7 @@ } }, "statement_descriptor": { - "description": "For card charges, use [statement_descriptor_suffix](https://stripe.com/docs/payments/account/statement-descriptors#dynamic). Otherwise, you can use this value as the complete description of a charge on your customers' statements. It must contain at least one letter and be 1–22 characters long.", + "description": "Text that appears on the customer's statement as the statement descriptor for a non-card or card charge. This value overrides the account's default statement descriptor. For information about requirements, including the 22-character limit, see [the Statement Descriptor docs](https://docs.stripe.com/get-started/account/statement-descriptors).", "type": { "type": "nullable", "underlying_type": { @@ -122782,6 +125962,15 @@ "name": "Boolean", "type": "named" } + }, + "required": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentLinksRequired", + "type": "named" + } + } } } }, @@ -123712,6 +126901,15 @@ "name": "Boolean", "type": "named" } + }, + "required": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PaymentLinksRequired", + "type": "named" + } + } } } }, @@ -129194,6 +132392,15 @@ } } }, + "custom_unit_amount": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostProductsBodyDefaultPriceDataCustomUnitAmount", + "type": "named" + } + } + }, "recurring": { "type": { "type": "nullable", @@ -129232,6 +132439,43 @@ } } }, + "PostProductsBodyDefaultPriceDataCustomUnitAmount": { + "fields": { + "enabled": { + "type": { + "name": "Boolean", + "type": "named" + } + }, + "maximum": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "minimum": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "preset": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + } + } + }, "PostProductsBodyDefaultPriceDataRecurring": { "fields": { "interval": { @@ -129518,7 +132762,7 @@ } }, "code": { - "description": "The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for a specific customer. If left blank, we will generate one automatically.", + "description": "The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for a specific customer. Valid characters are lower case letters (a-z), upper case letters (A-Z), and digits (0-9).\n\nIf left blank, we will generate one automatically.", "type": { "type": "nullable", "underlying_type": { @@ -129777,7 +133021,7 @@ } }, "discounts": { - "description": "The discounts applied to the quote. You can only set up to one discount.", + "description": "The discounts applied to the quote.", "type": { "type": "nullable", "underlying_type": { @@ -130368,7 +133612,7 @@ } }, "discounts": { - "description": "The discounts applied to the quote. You can only set up to one discount.", + "description": "The discounts applied to the quote.", "type": { "type": "nullable", "underlying_type": { @@ -132340,6 +135584,15 @@ } } }, + "bacs_debit": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostSetupIntentsBodyPaymentMethodOptionsBacsDebit", + "type": "named" + } + } + }, "card": { "type": { "type": "nullable", @@ -132479,6 +135732,19 @@ } } }, + "PostSetupIntentsBodyPaymentMethodOptionsBacsDebit": { + "fields": { + "mandate_options": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, "PostSetupIntentsBodyPaymentMethodOptionsCard": { "fields": { "mandate_options": { @@ -133738,6 +137004,15 @@ } } }, + "bacs_debit": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostSetupIntentsIntentBodyPaymentMethodOptionsBacsDebit", + "type": "named" + } + } + }, "card": { "type": { "type": "nullable", @@ -133877,6 +137152,19 @@ } } }, + "PostSetupIntentsIntentBodyPaymentMethodOptionsBacsDebit": { + "fields": { + "mandate_options": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, "PostSetupIntentsIntentBodyPaymentMethodOptionsCard": { "fields": { "mandate_options": { @@ -135221,6 +138509,15 @@ } } }, + "bacs_debit": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostSetupIntentsIntentConfirmBodyPaymentMethodOptionsBacsDebit", + "type": "named" + } + } + }, "card": { "type": { "type": "nullable", @@ -135360,6 +138657,19 @@ } } }, + "PostSetupIntentsIntentConfirmBodyPaymentMethodOptionsBacsDebit": { + "fields": { + "mandate_options": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, "PostSetupIntentsIntentConfirmBodyPaymentMethodOptionsCard": { "fields": { "mandate_options": { @@ -142738,7 +146048,7 @@ } }, "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`", "type": { "name": "PostTaxIdsBodyType", "type": "named" @@ -144632,6 +147942,15 @@ "type": "named" } }, + "state_sales_tax": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsUsStateSalesTax", + "type": "named" + } + } + }, "type": { "type": { "name": "PostTaxRegistrationsBodyCountryOptionsUsType", @@ -144660,6 +147979,38 @@ } } }, + "PostTaxRegistrationsBodyCountryOptionsUsStateSalesTax": { + "fields": { + "elections": { + "type": { + "element_type": { + "name": "PostTaxRegistrationsBodyCountryOptionsUsStateSalesTaxElections", + "type": "named" + }, + "type": "array" + } + } + } + }, + "PostTaxRegistrationsBodyCountryOptionsUsStateSalesTaxElections": { + "fields": { + "jurisdiction": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "PostTaxRegistrationsBodyCountryOptionsUsStateSalesTaxElectionsType", + "type": "named" + } + } + } + }, "PostTaxRegistrationsBodyCountryOptionsVn": { "fields": { "type": { @@ -146799,7 +150150,7 @@ } }, "display_name": { - "description": "A name for the location.", + "description": "A name for the location. Maximum length is 1000 characters.", "type": { "name": "String", "type": "named" @@ -147210,6 +150561,15 @@ "PostTerminalReadersReaderProcessPaymentIntentBodyProcessConfig": { "description": "Configuration overrides", "fields": { + "allow_redisplay": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TerminalAllowRedisplay", + "type": "named" + } + } + }, "enable_customer_cancellation": { "type": { "type": "nullable", @@ -147254,10 +150614,10 @@ }, "PostTerminalReadersReaderProcessSetupIntentBody": { "fields": { - "customer_consent_collected": { - "description": "Customer Consent Collected", + "allow_redisplay": { + "description": "This field indicates whether this payment method can be shown again to its customer in a checkout flow. Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.", "type": { - "name": "Boolean", + "name": "TerminalAllowRedisplay", "type": "named" } }, @@ -147508,7 +150868,7 @@ } }, "status": { - "description": "The networking status of the reader.", + "description": "The networking status of the reader. We do not recommend using this field in flows that may block taking payments.", "type": { "type": "nullable", "underlying_type": { @@ -150068,6 +153428,91 @@ } } }, + "PostTestHelpersIssuingSettlementsBody": { + "fields": { + "bin": { + "description": "The Bank Identification Number reflecting this settlement record.", + "type": { + "name": "String", + "type": "named" + } + }, + "clearing_date": { + "description": "The date that the transactions are cleared and posted to user's accounts.", + "type": { + "name": "Int32", + "type": "named" + } + }, + "currency": { + "description": "Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).", + "type": { + "name": "String", + "type": "named" + } + }, + "expand": { + "description": "Specifies which fields in the response should be expanded.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "String", + "type": "named" + }, + "type": "array" + } + } + }, + "interchange_fees": { + "description": "The total interchange received as reimbursement for the transactions.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "net_total": { + "description": "The total net amount required to settle with the network.", + "type": { + "name": "Int32", + "type": "named" + } + }, + "network_settlement_identifier": { + "description": "The Settlement Identification Number assigned by the network.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "transaction_count": { + "description": "The total number of transactions reflected in this settlement.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + }, + "transaction_volume": { + "description": "The total transaction amount reflected in this settlement.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "Int32", + "type": "named" + } + } + } + } + }, "PostTestHelpersIssuingTransactionsCreateForceCaptureBody": { "fields": { "amount": { @@ -151591,6 +155036,15 @@ }, "PostTestHelpersTreasuryOutboundPaymentsIdBodyTrackingDetailsUsDomesticWire": { "fields": { + "chips": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, "imad": { "type": { "type": "nullable", @@ -151751,6 +155205,15 @@ }, "PostTestHelpersTreasuryOutboundTransfersOutboundTransferBodyTrackingDetailsUsDomesticWire": { "fields": { + "chips": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, "imad": { "type": { "type": "nullable", @@ -154285,7 +157748,7 @@ } }, "currency": { - "description": "3-letter [ISO code for currency](https://stripe.com/docs/payouts).", + "description": "Three-letter [ISO code for currency](https://www.iso.org/iso-4217-currency-codes.html) in lowercase. Must be a [supported currency](https://docs.stripe.com/currencies).", "type": { "name": "String", "type": "named" @@ -156617,7 +160080,7 @@ } }, "code": { - "description": "The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer.", + "description": "The customer-facing code. Regardless of case, this code must be unique across all active promotion codes for each customer. Valid characters are lower case letters (a-z), upper case letters (A-Z), and digits (0-9).", "type": { "name": "String", "type": "named" @@ -159754,7 +163217,7 @@ } }, "payment_method": { - "description": "ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.corp.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.", + "description": "ID of the payment method used with this SetupIntent. If the payment method is `card_present` and isn't a digital wallet, then the [generated_card](https://docs.stripe.com/api/setup_attempts/object#setup_attempt_object-payment_method_details-card_present-generated_card) associated with the `latest_attempt` is attached to the Customer instead.", "type": { "type": "nullable", "underlying_type": { @@ -159938,6 +163401,15 @@ } } }, + "bacs_debit": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "SetupIntentPaymentMethodOptionsBacsDebit", + "type": "named" + } + } + }, "card": { "type": { "type": "nullable", @@ -160027,6 +163499,19 @@ } } }, + "SetupIntentPaymentMethodOptionsBacsDebit": { + "fields": { + "mandate_options": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + } + } + }, "SetupIntentPaymentMethodOptionsCard": { "fields": { "mandate_options": { @@ -165070,7 +168555,7 @@ } }, "type": { - "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown`", + "description": "Type of the tax ID, one of `ad_nrt`, `ae_trn`, `ar_cuit`, `au_abn`, `au_arn`, `bg_uic`, `bh_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `ca_bn`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `ca_qst`, `ch_uid`, `ch_vat`, `cl_tin`, `cn_tin`, `co_nit`, `cr_tin`, `de_stn`, `do_rcn`, `ec_ruc`, `eg_tin`, `es_cif`, `eu_oss_vat`, `eu_vat`, `gb_vat`, `ge_vat`, `hk_br`, `hr_oib`, `hu_tin`, `id_npwp`, `il_vat`, `in_gst`, `is_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `ke_pin`, `kr_brn`, `kz_bin`, `li_uid`, `mx_rfc`, `my_frp`, `my_itn`, `my_sst`, `ng_tin`, `no_vat`, `no_voec`, `nz_gst`, `om_vat`, `pe_ruc`, `ph_tin`, `ro_tin`, `rs_pib`, `ru_inn`, `ru_kpp`, `sa_vat`, `sg_gst`, `sg_uen`, `si_tin`, `sv_nit`, `th_vat`, `tr_tin`, `tw_vat`, `ua_vat`, `us_ein`, `uy_ruc`, `ve_rif`, `vn_tin`, or `za_vat`. Note that some legacy tax IDs have type `unknown`", "type": { "name": "TaxIdType", "type": "named" @@ -165745,6 +169230,15 @@ "type": "named" } }, + "state_sales_tax": { + "type": { + "type": "nullable", + "underlying_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsUsStateSalesTax", + "type": "named" + } + } + }, "type": { "description": "Type of registration in the US.", "type": { @@ -165776,6 +169270,44 @@ } } }, + "TaxProductRegistrationsResourceCountryOptionsUsStateSalesTax": { + "fields": { + "elections": { + "description": "Elections for the state sales tax registration.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElection", + "type": "named" + }, + "type": "array" + } + } + } + } + }, + "TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElection": { + "fields": { + "jurisdiction": { + "description": "A [FIPS code](https://www.census.gov/library/reference/code-lists/ansi.html) representing the local jurisdiction.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, + "type": { + "description": "The type of the election for the state sales tax registration.", + "type": { + "name": "TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElectionType", + "type": "named" + } + } + } + }, "TaxProductResourceCustomerDetails": { "fields": { "address": { @@ -165830,7 +169362,7 @@ "TaxProductResourceCustomerDetailsResourceTaxId": { "fields": { "type": { - "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown`", + "description": "The type of the tax ID, one of `ad_nrt`, `ar_cuit`, `eu_vat`, `bo_tin`, `br_cnpj`, `br_cpf`, `cn_tin`, `co_nit`, `cr_tin`, `do_rcn`, `ec_ruc`, `eu_oss_vat`, `hr_oib`, `pe_ruc`, `ro_tin`, `rs_pib`, `sv_nit`, `uy_ruc`, `ve_rif`, `vn_tin`, `gb_vat`, `nz_gst`, `au_abn`, `au_arn`, `in_gst`, `no_vat`, `no_voec`, `za_vat`, `ch_vat`, `mx_rfc`, `sg_uen`, `ru_inn`, `ru_kpp`, `ca_bn`, `hk_br`, `es_cif`, `tw_vat`, `th_vat`, `jp_cn`, `jp_rn`, `jp_trn`, `li_uid`, `my_itn`, `us_ein`, `kr_brn`, `ca_qst`, `ca_gst_hst`, `ca_pst_bc`, `ca_pst_mb`, `ca_pst_sk`, `my_sst`, `sg_gst`, `ae_trn`, `cl_tin`, `sa_vat`, `id_npwp`, `my_frp`, `il_vat`, `ge_vat`, `ua_vat`, `is_vat`, `bg_uic`, `hu_tin`, `si_tin`, `ke_pin`, `tr_tin`, `eg_tin`, `ph_tin`, `bh_vat`, `kz_bin`, `ng_tin`, `om_vat`, `de_stn`, `ch_uid`, or `unknown`", "type": { "name": "TaxProductResourceCustomerDetailsResourceTaxIdType", "type": "named" @@ -166543,7 +170075,7 @@ } }, "status": { - "description": "The `active` status indicates you have all required settings to calculate tax. A status can transition out of `active` when new required settings are introduced.", + "description": "The status of the Tax `Settings`.", "type": { "name": "TaxSettingsStatus", "type": "named" @@ -167325,7 +170857,7 @@ } }, "status": { - "description": "The networking status of the reader.", + "description": "The networking status of the reader. We do not recommend using this field in flows that may block taking payments.", "type": { "type": "nullable", "underlying_type": { @@ -167792,6 +171324,12 @@ "name": "TestHelpersTestClockStatus", "type": "named" } + }, + "status_details": { + "type": { + "name": "BillingClocksResourceStatusDetailsStatusDetails", + "type": "named" + } } } }, @@ -167954,6 +171492,65 @@ } } }, + "ThresholdsResourceUsageAlertFilter": { + "fields": { + "customer": { + "description": "Limit the scope of the alert to this customer ID", + "type": { + "type": "nullable", + "underlying_type": { + "name": "JSON", + "type": "named" + } + } + }, + "type": { + "type": { + "name": "ThresholdsResourceUsageAlertFilterType", + "type": "named" + } + } + } + }, + "ThresholdsResourceUsageThresholdConfig": { + "description": "The usage threshold alert configuration enables setting up alerts for when a certain usage threshold on a specific meter is crossed.", + "fields": { + "filters": { + "description": "The filters allow limiting the scope of this usage alert. You can only specify up to one filter at this time.", + "type": { + "type": "nullable", + "underlying_type": { + "element_type": { + "name": "ThresholdsResourceUsageAlertFilter", + "type": "named" + }, + "type": "array" + } + } + }, + "gte": { + "description": "The value at which this alert will trigger.", + "type": { + "name": "Int32", + "type": "named" + } + }, + "meter": { + "description": "The [Billing Meter](/api/billing/meter) ID whose usage is monitored.", + "type": { + "name": "JSON", + "type": "named" + } + }, + "recurrence": { + "description": "Defines how the alert will behave.", + "type": { + "name": "ThresholdsResourceUsageThresholdConfigRecurrence", + "type": "named" + } + } + } + }, "Token": { "description": "Tokenization is the process Stripe uses to collect sensitive card or bank\naccount details, or personally identifiable information (PII), directly from\nyour customers in a secure manner. A token representing this information is\nreturned to your server to use. Use our\n[recommended payments integrations](https://stripe.com/docs/payments) to perform this process\non the client-side. This guarantees that no sensitive card data touches your server,\nand allows your integration to operate in a PCI-compliant way.\n\nIf you can't use client-side tokenization, you can also create tokens using\nthe API with either your publishable or secret API key. If\nyour integration uses this method, you're responsible for any PCI compliance\nthat it might require, and you must keep your secret API key safe. Unlike with\nclient-side tokenization, your customer's information isn't sent directly to\nStripe, so we can't determine how it's handled or stored.\n\nYou can't store or use tokens more than once. To store card or bank account\ninformation for later use, create [Customer](https://stripe.com/docs/api#customers)\nobjects or [External accounts](/api#external_accounts).\n[Radar](https://stripe.com/docs/radar), our integrated solution for automatic fraud protection,\nperforms best with integrations that use client-side tokenization.", "fields": { @@ -168300,7 +171897,7 @@ } }, "source_transaction": { - "description": "ID of the charge or payment that was used to fund the transfer. If null, the transfer was funded from the available balance.", + "description": "ID of the charge that was used to fund the transfer. If null, the transfer was funded from the available balance.", "type": { "type": "nullable", "underlying_type": { @@ -169366,7 +172963,7 @@ } }, "TreasuryInboundTransfer": { - "description": "Use [InboundTransfers](https://stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.", + "description": "Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.\n\nRelated guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers)", "fields": { "amount": { "description": "Amount (in cents) transferred.", @@ -169586,7 +173183,7 @@ } }, "TreasuryOutboundPayment": { - "description": "Use OutboundPayments to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers).\n\nSimulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.", + "description": "Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers).\n\nSimulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.\n\nRelated guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments)", "fields": { "amount": { "description": "Amount (in cents) transferred.", @@ -169892,11 +173489,24 @@ }, "TreasuryOutboundPaymentsResourceUsDomesticWireTrackingDetails": { "fields": { + "chips": { + "description": "CHIPS System Sequence Number (SSN) of the OutboundPayment for payments sent over the `us_domestic_wire` network.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, "imad": { "description": "IMAD of the OutboundPayment for payments sent over the `us_domestic_wire` network.", "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } }, "omad": { @@ -169912,7 +173522,7 @@ } }, "TreasuryOutboundTransfer": { - "description": "Use OutboundTransfers to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.\n\nSimulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.", + "description": "Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.\n\nSimulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.\n\nRelated guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers)", "fields": { "amount": { "description": "Amount (in cents) transferred.", @@ -170173,11 +173783,24 @@ }, "TreasuryOutboundTransfersResourceUsDomesticWireTrackingDetails": { "fields": { + "chips": { + "description": "CHIPS System Sequence Number (SSN) of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.", + "type": { + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } + } + }, "imad": { "description": "IMAD of the OutboundTransfer for transfers sent over the `us_domestic_wire` network.", "type": { - "name": "String", - "type": "named" + "type": "nullable", + "underlying_type": { + "name": "String", + "type": "named" + } } }, "omad": { @@ -170423,7 +174046,7 @@ } }, "outbound_payment": { - "description": "Use OutboundPayments to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers).\n\nSimulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.", + "description": "Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers).\n\nSimulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.\n\nRelated guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments)", "type": { "type": "nullable", "underlying_type": { @@ -171152,7 +174775,7 @@ } }, "inbound_transfer": { - "description": "Use [InboundTransfers](https://stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.", + "description": "Use [InboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers) to add funds to your [FinancialAccount](https://stripe.com/docs/api#financial_accounts) via a PaymentMethod that is owned by you. The funds will be transferred via an ACH debit.\n\nRelated guide: [Moving money with Treasury using InboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/into/inbound-transfers)", "type": { "type": "nullable", "underlying_type": { @@ -171172,7 +174795,7 @@ } }, "outbound_payment": { - "description": "Use OutboundPayments to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers).\n\nSimulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.", + "description": "Use [OutboundPayments](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments) to send funds to another party's external bank account or [FinancialAccount](https://stripe.com/docs/api#financial_accounts). To send money to an account belonging to the same user, use an [OutboundTransfer](https://stripe.com/docs/api#outbound_transfers).\n\nSimulate OutboundPayment state changes with the `/v1/test_helpers/treasury/outbound_payments` endpoints. These methods can only be called on test mode objects.\n\nRelated guide: [Moving money with Treasury using OutboundPayment objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-payments)", "type": { "type": "nullable", "underlying_type": { @@ -171182,7 +174805,7 @@ } }, "outbound_transfer": { - "description": "Use OutboundTransfers to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.\n\nSimulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.", + "description": "Use [OutboundTransfers](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers) to transfer funds from a [FinancialAccount](https://stripe.com/docs/api#financial_accounts) to a PaymentMethod belonging to the same entity. To send funds to a different party, use [OutboundPayments](https://stripe.com/docs/api#outbound_payments) instead. You can send funds over ACH rails or through a domestic wire transfer to a user's own external bank account.\n\nSimulate OutboundTransfer state changes with the `/v1/test_helpers/treasury/outbound_transfers` endpoints. These methods can only be called on test mode objects.\n\nRelated guide: [Moving money with Treasury using OutboundTransfer objects](https://docs.stripe.com/docs/treasury/moving-money/financial-accounts/out-of/outbound-transfers)", "type": { "type": "nullable", "underlying_type": { @@ -171485,7 +175108,8 @@ "nullable": true, "properties": { "fields": { - "type": "AccountLinksFields" + "type": "AccountLinksFields", + "nullable": true }, "future_requirements": { "type": "AccountLinksFutureRequirements", @@ -171524,6 +175148,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -171811,6 +175438,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -173419,6 +177049,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -174994,6 +178627,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -175034,7 +178670,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -175112,6 +178751,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -175279,6 +178921,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -175333,7 +178978,10 @@ "type": "String" } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -175404,6 +179052,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -175498,6 +179149,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -175665,6 +179319,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -175719,7 +179376,10 @@ "type": "String" } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -175778,6 +179438,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -176291,6 +179954,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -176813,6 +180479,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -176868,7 +180537,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -177377,6 +181049,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -177899,6 +181574,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -177954,7 +181632,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "account": { @@ -178016,6 +181697,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -178067,6 +181751,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -178098,7 +181785,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "domain": { @@ -178151,10 +181841,601 @@ "type": "String", "maxLength": 5000 } - }, - "metadata": { - "type": "JSON", - "nullable": true + }, + "metadata": { + "type": "JSON", + "nullable": true + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + }, + "metadata": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/application_fees/{fee}/refunds/{id}", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostApplicationFeesFeeRefundsIdBody", + "type": "named" + } + } + }, + "fee": { + "type": { + "name": "String", + "type": "named" + } + }, + "id": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "PostApplicationFeesFeeRefundsId", + "result_type": { + "name": "FeeRefund", + "type": "named" + } + }, + { + "request": { + "url": "/v1/application_fees/{id}/refund", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "amount": { + "type": "Int32", + "nullable": true + }, + "directive": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/application_fees/{id}/refund", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostApplicationFeesIdRefundBody", + "type": "named" + } + } + }, + "id": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "PostApplicationFeesIdRefund", + "result_type": { + "name": "ApplicationFee", + "type": "named" + } + }, + { + "request": { + "url": "/v1/application_fees/{id}/refunds", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "amount": { + "type": "Int32", + "nullable": true + }, + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + }, + "metadata": { + "type": "JSON", + "nullable": true + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + }, + "metadata": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/application_fees/{id}/refunds", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostApplicationFeesIdRefundsBody", + "type": "named" + } + } + }, + "id": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "PostApplicationFeesIdRefunds", + "result_type": { + "name": "FeeRefund", + "type": "named" + } + }, + { + "request": { + "url": "/v1/apps/secrets", + "method": "post", + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "properties": { + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + }, + "expires_at": { + "type": "UnixTime", + "nullable": true + }, + "name": { + "type": "String", + "maxLength": 5000 + }, + "payload": { + "type": "String", + "maxLength": 5000 + }, + "scope": { + "type": "object", + "properties": { + "type": { + "type": "AppsType" + }, + "user": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + }, + "scope": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/apps/secrets", + "type": { + "name": "PostAppsSecretsBody", + "type": "named" + } + } + }, + "name": "PostAppsSecrets", + "result_type": { + "name": "AppsSecret", + "type": "named" + } + }, + { + "request": { + "url": "/v1/apps/secrets/delete", + "method": "post", + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "properties": { + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + }, + "name": { + "type": "String", + "maxLength": 5000 + }, + "scope": { + "type": "object", + "properties": { + "type": { + "type": "AppsType" + }, + "user": { + "type": "String", + "nullable": true, + "maxLength": 5000 + } + } + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + }, + "scope": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/apps/secrets/delete", + "type": { + "name": "PostAppsSecretsDeleteBody", + "type": "named" + } + } + }, + "name": "PostAppsSecretsDelete", + "result_type": { + "name": "AppsSecret", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/alerts", + "method": "post", + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "properties": { + "alert_type": { + "type": "BillingAlertType" + }, + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + }, + "title": { + "type": "String", + "maxLength": 256 + }, + "usage_threshold": { + "type": "object", + "nullable": true, + "properties": { + "filters": { + "type": "array", + "nullable": true, + "items": { + "type": "object", + "properties": { + "customer": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "type": { + "type": "BillingType" + } + } + } + }, + "gte": { + "type": "Int32" + }, + "meter": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "recurrence": { + "type": "BillingRecurrence" + } + } + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + }, + "usage_threshold": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/billing/alerts", + "type": { + "name": "PostBillingAlertsBody", + "type": "named" + } + } + }, + "name": "PostBillingAlerts", + "result_type": { + "name": "BillingAlert", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/alerts/{id}/activate", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/billing/alerts/{id}/activate", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostBillingAlertsIdActivateBody", + "type": "named" + } + } + }, + "id": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "PostBillingAlertsIdActivate", + "result_type": { + "name": "BillingAlert", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/alerts/{id}/archive", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/billing/alerts/{id}/archive", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostBillingAlertsIdArchiveBody", + "type": "named" + } + } + }, + "id": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "PostBillingAlertsIdArchive", + "result_type": { + "name": "BillingAlert", + "type": "named" + } + }, + { + "request": { + "url": "/v1/billing/alerts/{id}/deactivate", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } } } }, @@ -178162,31 +182443,24 @@ "expand": { "style": "deepObject", "explode": true - }, - "metadata": { - "style": "deepObject", - "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { "body": { - "description": "Request body of POST /v1/application_fees/{fee}/refunds/{id}", + "description": "Request body of POST /v1/billing/alerts/{id}/deactivate", "type": { "type": "nullable", "underlying_type": { - "name": "PostApplicationFeesFeeRefundsIdBody", + "name": "PostBillingAlertsIdDeactivateBody", "type": "named" } } }, - "fee": { - "type": { - "name": "String", - "type": "named" - } - }, "id": { "type": { "name": "String", @@ -178194,42 +182468,65 @@ } } }, - "name": "PostApplicationFeesFeeRefundsId", + "name": "PostBillingAlertsIdDeactivate", "result_type": { - "name": "FeeRefund", + "name": "BillingAlert", "type": "named" } }, { "request": { - "url": "/v1/application_fees/{id}/refund", + "url": "/v1/billing/credit_grants", "method": "post", - "parameters": [ - { - "style": "simple", - "name": "id", - "in": "path", - "schema": { - "type": "String", - "maxLength": 5000 - } - } - ], "requestBody": { "contentType": "application/x-www-form-urlencoded", "schema": { "type": "object", - "nullable": true, "properties": { "amount": { - "type": "Int32", - "nullable": true + "type": "object", + "properties": { + "monetary": { + "type": "object", + "nullable": true, + "properties": { + "currency": { + "type": "String" + }, + "value": { + "type": "Int32" + } + } + }, + "type": { + "type": "PostBillingCreditGrantsBodyAmountType" + } + } }, - "directive": { + "applicability_config": { + "type": "object", + "properties": { + "scope": { + "type": "object", + "properties": { + "price_type": { + "type": "BillingPriceType" + } + } + } + } + }, + "category": { + "type": "BillingCategory" + }, + "customer": { "type": "String", - "nullable": true, "maxLength": 5000 }, + "effective_at": { + "type": "UnixTime", + "nullable": true + }, "expand": { "type": "array", "nullable": true, @@ -178237,44 +182534,63 @@ "type": "String", "maxLength": 5000 } + }, + "expires_at": { + "type": "UnixTime", + "nullable": true + }, + "metadata": { + "type": "JSON", + "nullable": true + }, + "name": { + "type": "String", + "nullable": true, + "maxLength": 250 } } }, "encoding": { + "amount": { + "style": "deepObject", + "explode": true + }, + "applicability_config": { + "style": "deepObject", + "explode": true + }, "expand": { "style": "deepObject", "explode": true + }, + "metadata": { + "style": "deepObject", + "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { "body": { - "description": "Request body of POST /v1/application_fees/{id}/refund", - "type": { - "type": "nullable", - "underlying_type": { - "name": "PostApplicationFeesIdRefundBody", - "type": "named" - } - } - }, - "id": { + "description": "Request body of POST /v1/billing/credit_grants", "type": { - "name": "String", + "name": "PostBillingCreditGrantsBody", "type": "named" } } }, - "name": "PostApplicationFeesIdRefund", + "name": "PostBillingCreditGrants", "result_type": { - "name": "ApplicationFee", + "name": "BillingCreditGrant", "type": "named" } }, { "request": { - "url": "/v1/application_fees/{id}/refunds", + "url": "/v1/billing/credit_grants/{id}", "method": "post", "parameters": [ { @@ -178293,10 +182609,6 @@ "type": "object", "nullable": true, "properties": { - "amount": { - "type": "Int32", - "nullable": true - }, "expand": { "type": "array", "nullable": true, @@ -178305,6 +182617,10 @@ "maxLength": 5000 } }, + "expires_at": { + "type": "UnixTime", + "nullable": true + }, "metadata": { "type": "JSON", "nullable": true @@ -178316,45 +182632,65 @@ "style": "deepObject", "explode": true }, + "expires_at": { + "style": "deepObject", + "explode": true + }, "metadata": { "style": "deepObject", "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { "body": { - "description": "Request body of POST /v1/application_fees/{id}/refunds", + "description": "Request body of POST /v1/billing/credit_grants/{id}", "type": { "type": "nullable", "underlying_type": { - "name": "PostApplicationFeesIdRefundsBody", + "name": "PostBillingCreditGrantsIdBody", "type": "named" } } }, "id": { + "description": "Unique identifier for the object.", "type": { "name": "String", "type": "named" } } }, - "name": "PostApplicationFeesIdRefunds", + "name": "PostBillingCreditGrantsId", "result_type": { - "name": "FeeRefund", + "name": "BillingCreditGrant", "type": "named" } }, { "request": { - "url": "/v1/apps/secrets", + "url": "/v1/billing/credit_grants/{id}/expire", "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], "requestBody": { "contentType": "application/x-www-form-urlencoded", "schema": { "type": "object", + "nullable": true, "properties": { "expand": { "type": "array", @@ -178363,31 +182699,6 @@ "type": "String", "maxLength": 5000 } - }, - "expires_at": { - "type": "UnixTime", - "nullable": true - }, - "name": { - "type": "String", - "maxLength": 5000 - }, - "payload": { - "type": "String", - "maxLength": 5000 - }, - "scope": { - "type": "object", - "properties": { - "type": { - "type": "AppsType" - }, - "user": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - } } } }, @@ -178395,37 +182706,58 @@ "expand": { "style": "deepObject", "explode": true - }, - "scope": { - "style": "deepObject", - "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { "body": { - "description": "Request body of POST /v1/apps/secrets", + "description": "Request body of POST /v1/billing/credit_grants/{id}/expire", "type": { - "name": "PostAppsSecretsBody", + "type": "nullable", + "underlying_type": { + "name": "PostBillingCreditGrantsIdExpireBody", + "type": "named" + } + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", "type": "named" } } }, - "name": "PostAppsSecrets", + "name": "PostBillingCreditGrantsIdExpire", "result_type": { - "name": "AppsSecret", + "name": "BillingCreditGrant", "type": "named" } }, { "request": { - "url": "/v1/apps/secrets/delete", + "url": "/v1/billing/credit_grants/{id}/void", "method": "post", + "parameters": [ + { + "style": "simple", + "name": "id", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], "requestBody": { "contentType": "application/x-www-form-urlencoded", "schema": { "type": "object", + "nullable": true, "properties": { "expand": { "type": "array", @@ -178434,23 +182766,6 @@ "type": "String", "maxLength": 5000 } - }, - "name": { - "type": "String", - "maxLength": 5000 - }, - "scope": { - "type": "object", - "properties": { - "type": { - "type": "AppsType" - }, - "user": { - "type": "String", - "nullable": true, - "maxLength": 5000 - } - } } } }, @@ -178458,26 +182773,35 @@ "expand": { "style": "deepObject", "explode": true - }, - "scope": { - "style": "deepObject", - "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { "body": { - "description": "Request body of POST /v1/apps/secrets/delete", + "description": "Request body of POST /v1/billing/credit_grants/{id}/void", "type": { - "name": "PostAppsSecretsDeleteBody", + "type": "nullable", + "underlying_type": { + "name": "PostBillingCreditGrantsIdVoidBody", + "type": "named" + } + } + }, + "id": { + "description": "Unique identifier for the object.", + "type": { + "name": "String", "type": "named" } } }, - "name": "PostAppsSecretsDelete", + "name": "PostBillingCreditGrantsIdVoid", "result_type": { - "name": "AppsSecret", + "name": "BillingCreditGrant", "type": "named" } }, @@ -178514,7 +182838,7 @@ } }, "type": { - "type": "BillingType" + "type": "PostBillingMeterEventAdjustmentsBodyType" } } }, @@ -178528,6 +182852,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -178590,6 +182917,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -178687,6 +183017,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -178746,6 +183079,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -178810,6 +183146,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -178874,6 +183213,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -179015,6 +183357,7 @@ "properties": { "default_allowed_updates": { "type": "array", + "nullable": true, "items": { "type": "BillingPortalDefaultAllowedUpdates" } @@ -179024,6 +183367,7 @@ }, "products": { "type": "array", + "nullable": true, "items": { "type": "object", "properties": { @@ -179090,6 +183434,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -179320,6 +183667,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -179522,6 +183872,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -179744,6 +184097,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -179906,6 +184262,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -180013,6 +184372,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -180224,6 +184586,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -180287,6 +184652,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -180384,6 +184752,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -180495,6 +184866,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -180574,6 +184948,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182020,6 +186397,10 @@ "properties": { "enabled": { "type": "Boolean" + }, + "required": { + "type": "CheckoutRequired", + "nullable": true } } }, @@ -182119,6 +186500,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182184,6 +186568,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182247,6 +186634,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182337,6 +186727,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182413,6 +186806,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182477,6 +186873,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182602,6 +187001,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182680,6 +187082,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182720,7 +187125,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "coupon": { @@ -182894,6 +187302,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -182961,6 +187372,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -183024,6 +187438,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -183148,6 +187565,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -183297,6 +187717,11 @@ "amount_tax_display": { "type": "CustomersAmountTaxDisplay", "nullable": true + }, + "template": { + "type": "String", + "nullable": true, + "maxLength": 5000 } } } @@ -183472,6 +187897,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -183663,6 +188091,11 @@ "amount_tax_display": { "type": "CustomersAmountTaxDisplay", "nullable": true + }, + "template": { + "type": "String", + "nullable": true, + "maxLength": 5000 } } } @@ -183816,6 +188249,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -183856,7 +188292,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -183927,6 +188366,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184009,6 +188451,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184112,6 +188557,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184307,6 +188755,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184384,6 +188835,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184473,6 +188927,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184576,6 +189033,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184771,6 +189231,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184848,6 +189311,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184931,6 +189397,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -184971,7 +189440,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -185058,6 +189530,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -185152,6 +189627,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -185347,6 +189825,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -185424,6 +189905,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -185513,6 +189997,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -186197,6 +190684,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -186934,6 +191424,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187020,6 +191513,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187075,7 +191571,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -187140,6 +191639,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187185,7 +191687,10 @@ "type": "String" } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "customer": { @@ -187392,6 +191897,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187455,6 +191963,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187522,6 +192033,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187593,6 +192107,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187665,6 +192182,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187722,6 +192242,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187789,6 +192312,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187858,6 +192384,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187941,6 +192470,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -187995,6 +192527,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188067,6 +192602,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188136,6 +192674,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188205,6 +192746,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188327,6 +192871,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188419,6 +192966,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188546,6 +193096,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188668,6 +193221,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188731,6 +193287,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188794,6 +193353,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -188820,6 +193382,138 @@ "type": "named" } }, + { + "request": { + "url": "/v1/invoice_rendering_templates/{template}/archive", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "template", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/invoice_rendering_templates/{template}/archive", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoiceRenderingTemplatesTemplateArchiveBody", + "type": "named" + } + } + }, + "template": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "PostInvoiceRenderingTemplatesTemplateArchive", + "result_type": { + "name": "InvoiceRenderingTemplate", + "type": "named" + } + }, + { + "request": { + "url": "/v1/invoice_rendering_templates/{template}/unarchive", + "method": "post", + "parameters": [ + { + "style": "simple", + "name": "template", + "in": "path", + "schema": { + "type": "String", + "maxLength": 5000 + } + } + ], + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "nullable": true, + "properties": { + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/invoice_rendering_templates/{template}/unarchive", + "type": { + "type": "nullable", + "underlying_type": { + "name": "PostInvoiceRenderingTemplatesTemplateUnarchiveBody", + "type": "named" + } + } + }, + "template": { + "type": { + "name": "String", + "type": "named" + } + } + }, + "name": "PostInvoiceRenderingTemplatesTemplateUnarchive", + "result_type": { + "name": "InvoiceRenderingTemplate", + "type": "named" + } + }, { "request": { "url": "/v1/invoiceitems", @@ -188998,6 +193692,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -189187,6 +193884,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -189227,7 +193927,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "invoiceitem": { @@ -189493,10 +194196,12 @@ "nullable": true, "properties": { "count": { - "type": "Int32" + "type": "Int32", + "nullable": true }, "interval": { - "type": "InvoicesInterval" + "type": "InvoicesInterval", + "nullable": true }, "type": { "type": "PostInvoicesBodyPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanType" @@ -189625,6 +194330,15 @@ "nullable": true } } + }, + "template": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "template_version": { + "type": "Int32", + "nullable": true } } }, @@ -189844,6 +194558,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -190796,6 +195513,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -191054,10 +195774,12 @@ "nullable": true, "properties": { "count": { - "type": "Int32" + "type": "Int32", + "nullable": true }, "interval": { - "type": "InvoicesInterval" + "type": "InvoicesInterval", + "nullable": true }, "type": { "type": "PostInvoicesInvoiceBodyPaymentSettingsPaymentMethodOptionsCardInstallmentsPlanType" @@ -191182,6 +195904,15 @@ "nullable": true } } + }, + "template": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "template_version": { + "type": "Int32", + "nullable": true } } }, @@ -191408,6 +196139,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -191448,7 +196182,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "invoice": { @@ -191706,6 +196443,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -191770,6 +196510,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192047,6 +196790,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192118,6 +196864,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192212,6 +196961,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192301,6 +197053,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192361,6 +197116,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192628,6 +197386,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192688,6 +197449,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192759,6 +197523,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192834,6 +197601,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -192905,6 +197675,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -193198,6 +197971,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -193488,6 +198264,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -193750,6 +198529,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -193986,6 +198768,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -194306,6 +199091,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -194612,6 +199400,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -194683,6 +199474,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -194807,6 +199601,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -194947,6 +199744,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -195018,6 +199818,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -195083,6 +199886,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -195151,6 +199957,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -195276,6 +200085,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -195330,6 +200142,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -195402,6 +200217,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -196029,6 +200847,10 @@ "type": "object", "nullable": true, "properties": { + "mandate_options": { + "type": "JSON", + "nullable": true + }, "setup_future_usage": { "type": "PaymentIntentsSetupFutureUsage", "nullable": true @@ -196104,10 +200926,12 @@ "nullable": true, "properties": { "count": { - "type": "Int32" + "type": "Int32", + "nullable": true }, "interval": { - "type": "PaymentIntentsInterval" + "type": "PaymentIntentsInterval", + "nullable": true }, "type": { "type": "PostPaymentIntentsBodyPaymentMethodOptionsCardInstallmentsPlanType" @@ -196919,6 +201743,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -197475,6 +202302,10 @@ "type": "object", "nullable": true, "properties": { + "mandate_options": { + "type": "JSON", + "nullable": true + }, "setup_future_usage": { "type": "PaymentIntentsSetupFutureUsage", "nullable": true @@ -197550,10 +202381,12 @@ "nullable": true, "properties": { "count": { - "type": "Int32" + "type": "Int32", + "nullable": true }, "interval": { - "type": "PaymentIntentsInterval" + "type": "PaymentIntentsInterval", + "nullable": true }, "type": { "type": "PostPaymentIntentsIntentBodyPaymentMethodOptionsCardInstallmentsPlanType" @@ -198335,6 +203168,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -198406,6 +203242,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -198474,6 +203313,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -198581,6 +203423,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -199142,6 +203987,10 @@ "type": "object", "nullable": true, "properties": { + "mandate_options": { + "type": "JSON", + "nullable": true + }, "setup_future_usage": { "type": "PaymentIntentsSetupFutureUsage", "nullable": true @@ -199217,10 +204066,12 @@ "nullable": true, "properties": { "count": { - "type": "Int32" + "type": "Int32", + "nullable": true }, "interval": { - "type": "PaymentIntentsInterval" + "type": "PaymentIntentsInterval", + "nullable": true }, "type": { "type": "PostPaymentIntentsIntentConfirmBodyPaymentMethodOptionsCardInstallmentsPlanType" @@ -199997,6 +204848,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -200098,6 +204952,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -200179,6 +205036,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -200731,6 +205591,10 @@ "properties": { "enabled": { "type": "Boolean" + }, + "required": { + "type": "PaymentLinksRequired", + "nullable": true } } }, @@ -200823,6 +205687,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -201301,6 +206168,10 @@ "properties": { "enabled": { "type": "Boolean" + }, + "required": { + "type": "PaymentLinksRequired", + "nullable": true } } } @@ -201368,6 +206239,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -202250,6 +207124,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -203136,6 +208013,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -203195,6 +208075,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -203253,6 +208136,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -203316,6 +208202,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -203894,6 +208783,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204077,6 +208969,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204143,6 +209038,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204203,6 +209101,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204292,6 +209193,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204354,6 +209258,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204417,6 +209324,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204488,6 +209398,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204660,6 +209573,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204740,6 +209656,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -204780,7 +209699,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "plan": { @@ -205028,6 +209950,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -205120,6 +210045,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -205170,6 +210098,27 @@ "type": "JSON", "nullable": true }, + "custom_unit_amount": { + "type": "object", + "nullable": true, + "properties": { + "enabled": { + "type": "Boolean" + }, + "maximum": { + "type": "Int32", + "nullable": true + }, + "minimum": { + "type": "Int32", + "nullable": true + }, + "preset": { + "type": "Int32", + "nullable": true + } + } + }, "recurring": { "type": "object", "nullable": true, @@ -205312,6 +210261,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -205481,6 +210433,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -205521,7 +210476,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "id": { @@ -205577,6 +210535,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -205623,7 +210584,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "id": { @@ -205730,6 +210694,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -205810,6 +210777,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -206190,6 +211160,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -206557,6 +211530,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -206620,6 +211596,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -206683,6 +211662,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -206750,6 +211732,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -206809,6 +211794,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -206840,7 +211828,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "item": { @@ -206902,6 +211893,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -206974,6 +211968,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -207014,7 +212011,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "value_list": { @@ -207108,6 +212108,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -207172,6 +212175,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -207234,6 +212240,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -207336,6 +212345,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -207390,6 +212402,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -207936,6 +212951,16 @@ "type": "JSON", "nullable": true }, + "bacs_debit": { + "type": "object", + "nullable": true, + "properties": { + "mandate_options": { + "type": "JSON", + "nullable": true + } + } + }, "card": { "type": "object", "nullable": true, @@ -208229,6 +213254,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -208718,6 +213746,16 @@ "type": "JSON", "nullable": true }, + "bacs_debit": { + "type": "object", + "nullable": true, + "properties": { + "mandate_options": { + "type": "JSON", + "nullable": true + } + } + }, "card": { "type": "object", "nullable": true, @@ -208975,6 +214013,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -209043,6 +214084,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -209522,6 +214566,16 @@ "type": "JSON", "nullable": true }, + "bacs_debit": { + "type": "object", + "nullable": true, + "properties": { + "mandate_options": { + "type": "JSON", + "nullable": true + } + } + }, "card": { "type": "object", "nullable": true, @@ -209771,6 +214825,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -209855,6 +214912,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -209984,6 +215044,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -210068,6 +215131,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -210449,6 +215515,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -210768,6 +215837,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -210841,6 +215913,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -211016,6 +216091,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -211197,6 +216275,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -211258,6 +216339,9 @@ } } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -211334,6 +216418,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -211887,6 +216974,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -212434,6 +217524,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -212505,6 +217598,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -212572,6 +217668,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -213284,6 +218383,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -214020,6 +219122,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -214110,6 +219215,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -214150,7 +219258,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "subscription_exposed_id": { @@ -214216,6 +219327,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -214460,6 +219574,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -215254,6 +220371,28 @@ "type": "String", "maxLength": 5000 }, + "state_sales_tax": { + "type": "object", + "nullable": true, + "properties": { + "elections": { + "type": "array", + "items": { + "type": "object", + "properties": { + "jurisdiction": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "type": { + "type": "PostTaxRegistrationsBodyCountryOptionsUsStateSalesTaxElectionsType" + } + } + } + } + } + }, "type": { "type": "PostTaxRegistrationsBodyCountryOptionsUsType" } @@ -215307,6 +220446,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -215377,6 +220519,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -215492,6 +220637,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -215557,6 +220705,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -215673,6 +220824,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -215744,6 +220898,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -215775,7 +220932,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "id": { @@ -215862,6 +221022,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -215957,6 +221120,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -216431,6 +221597,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -216910,6 +222079,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -216950,7 +222122,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "configuration": { @@ -216997,6 +222172,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217063,7 +222241,7 @@ "configuration_overrides": { "type": "String", "nullable": true, - "maxLength": 1000 + "maxLength": 500 }, "display_name": { "type": "String", @@ -217097,6 +222275,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217213,6 +222394,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217253,7 +222437,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "location": { @@ -217316,6 +222503,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217387,6 +222577,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217427,7 +222620,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "reader": { @@ -217480,6 +222676,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217542,6 +222741,10 @@ "type": "object", "nullable": true, "properties": { + "allow_redisplay": { + "type": "TerminalAllowRedisplay", + "nullable": true + }, "enable_customer_cancellation": { "type": "Boolean", "nullable": true @@ -217574,6 +222777,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217617,8 +222823,8 @@ "schema": { "type": "object", "properties": { - "customer_consent_collected": { - "type": "Boolean" + "allow_redisplay": { + "type": "TerminalAllowRedisplay" }, "expand": { "type": "array", @@ -217654,6 +222860,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217758,6 +222967,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -217861,6 +223073,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -218334,6 +223549,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -218401,6 +223619,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -218730,6 +223951,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219024,6 +224248,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219087,6 +224314,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219275,6 +224505,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219341,6 +224574,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219405,6 +224641,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219468,6 +224707,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219531,6 +224773,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219594,6 +224839,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219657,6 +224905,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219720,6 +224971,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219783,6 +225037,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219868,6 +225125,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -219891,6 +225151,81 @@ "type": "named" } }, + { + "request": { + "url": "/v1/test_helpers/issuing/settlements", + "method": "post", + "requestBody": { + "contentType": "application/x-www-form-urlencoded", + "schema": { + "type": "object", + "properties": { + "bin": { + "type": "String", + "maxLength": 5000 + }, + "clearing_date": { + "type": "Int32" + }, + "currency": { + "type": "String" + }, + "expand": { + "type": "array", + "nullable": true, + "items": { + "type": "String", + "maxLength": 5000 + } + }, + "interchange_fees": { + "type": "Int32", + "nullable": true + }, + "net_total": { + "type": "Int32" + }, + "network_settlement_identifier": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, + "transaction_count": { + "type": "Int32", + "nullable": true + }, + "transaction_volume": { + "type": "Int32", + "nullable": true + } + } + }, + "encoding": { + "expand": { + "style": "deepObject", + "explode": true + } + } + }, + "response": { + "contentType": "application/json" + } + }, + "arguments": { + "body": { + "description": "Request body of POST /v1/test_helpers/issuing/settlements", + "type": { + "name": "PostTestHelpersIssuingSettlementsBody", + "type": "named" + } + } + }, + "name": "PostTestHelpersIssuingSettlements", + "result_type": { + "name": "IssuingSettlement", + "type": "named" + } + }, { "request": { "url": "/v1/test_helpers/issuing/transactions/create_force_capture", @@ -220214,6 +225549,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -220554,6 +225892,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -220612,6 +225953,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -220674,6 +226018,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -220775,6 +226122,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -220834,6 +226184,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -220865,7 +226218,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "test_clock": { @@ -220920,6 +226276,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -220994,6 +226353,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221057,6 +226419,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221120,6 +226485,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221194,6 +226562,11 @@ "type": "object", "nullable": true, "properties": { + "chips": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, "imad": { "type": "String", "nullable": true, @@ -221220,6 +226593,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221280,6 +226656,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221343,6 +226722,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221420,6 +226802,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221494,6 +226879,11 @@ "type": "object", "nullable": true, "properties": { + "chips": { + "type": "String", + "nullable": true, + "maxLength": 5000 + }, "imad": { "type": "String", "nullable": true, @@ -221520,6 +226910,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221580,6 +226973,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221643,6 +227039,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221720,6 +227119,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221822,6 +227224,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -221915,6 +227320,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223029,6 +228437,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223107,6 +228518,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223174,6 +228588,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223237,6 +228654,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223324,6 +228744,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223399,6 +228822,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223475,6 +228901,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223555,6 +228984,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223624,6 +229056,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223678,6 +229113,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -223872,6 +229310,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224067,6 +229508,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224263,6 +229707,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224345,6 +229792,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224399,6 +229849,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224630,6 +230083,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224684,6 +230140,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224787,6 +230246,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224841,6 +230303,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -224931,6 +230396,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -225021,6 +230489,9 @@ "explode": true } } + }, + "response": { + "contentType": "application/json" } }, "arguments": { @@ -225061,7 +230532,10 @@ "maxLength": 5000 } } - ] + ], + "response": { + "contentType": "application/json" + } }, "arguments": { "webhook_endpoint": { @@ -225860,7 +231334,8 @@ "verification_missing_executives", "verification_missing_owners", "verification_requires_additional_memorandum_of_associations", - "verification_requires_additional_proof_of_registration" + "verification_requires_additional_proof_of_registration", + "verification_supportability" ], "type": "enum" } @@ -226389,6 +231864,153 @@ "type": "enum" } }, + "BillingAlertAlertType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "usage_threshold" + ], + "type": "enum" + } + }, + "BillingAlertObject": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "billing.alert" + ], + "type": "enum" + } + }, + "BillingAlertStatus": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "active", + "archived", + "inactive" + ], + "type": "enum" + } + }, + "BillingAlertType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "usage_threshold" + ], + "type": "enum" + } + }, + "BillingCategory": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "paid", + "promotional" + ], + "type": "enum" + } + }, + "BillingCreditBalanceSummaryObject": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "billing.credit_balance_summary" + ], + "type": "enum" + } + }, + "BillingCreditBalanceTransactionObject": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "billing.credit_balance_transaction" + ], + "type": "enum" + } + }, + "BillingCreditBalanceTransactionType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "credit", + "debit" + ], + "type": "enum" + } + }, + "BillingCreditGrantCategory": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "paid", + "promotional" + ], + "type": "enum" + } + }, + "BillingCreditGrantObject": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "billing.credit_grant" + ], + "type": "enum" + } + }, + "BillingCreditGrantsResourceAmountType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "monetary" + ], + "type": "enum" + } + }, + "BillingCreditGrantsResourceBalanceCreditType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "credits_granted" + ], + "type": "enum" + } + }, + "BillingCreditGrantsResourceBalanceDebitType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "credits_applied", + "credits_expired", + "credits_voided" + ], + "type": "enum" + } + }, + "BillingCreditGrantsResourceScopePriceType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "metered" + ], + "type": "enum" + } + }, "BillingEventTimeWindow": { "aggregate_functions": {}, "comparison_operators": {}, @@ -226618,130 +232240,150 @@ "type": "enum" } }, - "BillingPortalMode": { - "aggregate_functions": {}, - "comparison_operators": {}, - "representation": { - "one_of": [ - "at_period_end", - "immediately" - ], - "type": "enum" - } - }, - "BillingPortalObject": { - "aggregate_functions": {}, - "comparison_operators": {}, - "representation": { - "one_of": [ - "list" - ], - "type": "enum" - } - }, - "BillingPortalOptions": { - "aggregate_functions": {}, - "comparison_operators": {}, - "representation": { - "one_of": [ - "customer_service", - "low_quality", - "missing_features", - "other", - "switched_service", - "too_complex", - "too_expensive", - "unused" - ], - "type": "enum" - } - }, - "BillingPortalProrationBehavior": { + "BillingPortalMode": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "at_period_end", + "immediately" + ], + "type": "enum" + } + }, + "BillingPortalObject": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "list" + ], + "type": "enum" + } + }, + "BillingPortalOptions": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "customer_service", + "low_quality", + "missing_features", + "other", + "switched_service", + "too_complex", + "too_expensive", + "unused" + ], + "type": "enum" + } + }, + "BillingPortalProrationBehavior": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always_invoice", + "create_prorations", + "none" + ], + "type": "enum" + } + }, + "BillingPortalSessionLocale": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "auto", + "bg", + "cs", + "da", + "de", + "el", + "en", + "en-AU", + "en-CA", + "en-GB", + "en-IE", + "en-IN", + "en-NZ", + "en-SG", + "es", + "es-419", + "et", + "fi", + "fil", + "fr", + "fr-CA", + "hr", + "hu", + "id", + "it", + "ja", + "ko", + "lt", + "lv", + "ms", + "mt", + "nb", + "nl", + "pl", + "pt", + "pt-BR", + "ro", + "ru", + "sk", + "sl", + "sv", + "th", + "tr", + "vi", + "zh", + "zh-HK", + "zh-TW" + ], + "type": "enum" + } + }, + "BillingPortalSessionObject": { "aggregate_functions": {}, "comparison_operators": {}, "representation": { "one_of": [ - "always_invoice", - "create_prorations", - "none" + "billing_portal.session" ], "type": "enum" } }, - "BillingPortalSessionLocale": { + "BillingPortalType": { "aggregate_functions": {}, "comparison_operators": {}, "representation": { "one_of": [ - "auto", - "bg", - "cs", - "da", - "de", - "el", - "en", - "en-AU", - "en-CA", - "en-GB", - "en-IE", - "en-IN", - "en-NZ", - "en-SG", - "es", - "es-419", - "et", - "fi", - "fil", - "fr", - "fr-CA", - "hr", - "hu", - "id", - "it", - "ja", - "ko", - "lt", - "lv", - "ms", - "mt", - "nb", - "nl", - "pl", - "pt", - "pt-BR", - "ro", - "ru", - "sk", - "sl", - "sv", - "th", - "tr", - "vi", - "zh", - "zh-HK", - "zh-TW" + "hosted_confirmation", + "portal_homepage", + "redirect" ], "type": "enum" } }, - "BillingPortalSessionObject": { + "BillingPriceType": { "aggregate_functions": {}, "comparison_operators": {}, "representation": { "one_of": [ - "billing_portal.session" + "metered" ], "type": "enum" } }, - "BillingPortalType": { + "BillingRecurrence": { "aggregate_functions": {}, "comparison_operators": {}, "representation": { "one_of": [ - "hosted_confirmation", - "portal_homepage", - "redirect" + "one_time" ], "type": "enum" } @@ -226762,7 +232404,7 @@ "comparison_operators": {}, "representation": { "one_of": [ - "cancel" + "customer" ], "type": "enum" } @@ -228038,6 +233680,17 @@ "type": "enum" } }, + "CheckoutRequired": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "if_supported", + "never" + ], + "type": "enum" + } + }, "CheckoutRevolutPayPaymentMethodOptionsSetupFutureUsage": { "aggregate_functions": {}, "comparison_operators": {}, @@ -228753,6 +234406,17 @@ "type": "enum" } }, + "CreditNotesPretaxCreditAmountType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "credit_balance_transaction", + "discount" + ], + "type": "enum" + } + }, "CreditNotesReason": { "aggregate_functions": {}, "comparison_operators": {}, @@ -229479,6 +235143,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -229784,6 +235449,17 @@ "type": "enum" } }, + "DisputePaymentMethodDetailsAmazonPayDisputeType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "chargeback", + "claim" + ], + "type": "enum" + } + }, "DisputePaymentMethodDetailsCardCaseType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -229800,6 +235476,7 @@ "comparison_operators": {}, "representation": { "one_of": [ + "amazon_pay", "card", "klarna", "paypal" @@ -229968,6 +235645,7 @@ "finance_report_run", "identity_document", "identity_document_downloadable", + "issuing_regulatory_reporting", "pci_document", "selfie", "sigma_scheduled_query", @@ -230002,6 +235680,7 @@ "finance_report_run", "identity_document", "identity_document_downloadable", + "issuing_regulatory_reporting", "pci_document", "selfie", "sigma_scheduled_query", @@ -230607,6 +236286,17 @@ "type": "enum" } }, + "GetBillingCreditBalanceSummaryFilterType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "applicability_scope", + "credit_grant" + ], + "type": "enum" + } + }, "GetChargesSearchResultObject": { "aggregate_functions": {}, "comparison_operators": {}, @@ -230720,6 +236410,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -230802,6 +236493,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -231543,6 +237235,48 @@ "type": "enum" } }, + "InvoiceRenderingTemplateObject": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "invoice_rendering_template" + ], + "type": "enum" + } + }, + "InvoiceRenderingTemplateStatus": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "active", + "archived" + ], + "type": "enum" + } + }, + "InvoiceRenderingTemplatesObject": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "list" + ], + "type": "enum" + } + }, + "InvoiceRenderingTemplatesStatus": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "active", + "archived" + ], + "type": "enum" + } + }, "InvoiceStatus": { "aggregate_functions": {}, "comparison_operators": {}, @@ -231919,6 +237653,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -231965,6 +237700,17 @@ "type": "enum" } }, + "InvoicesResourcePretaxCreditAmountType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "credit_balance_transaction", + "discount" + ], + "type": "enum" + } + }, "InvoicesResumeAt": { "aggregate_functions": {}, "comparison_operators": {}, @@ -233653,7 +239399,8 @@ "failure", "pending", "returned", - "shipped" + "shipped", + "submitted" ], "type": "enum" } @@ -235793,6 +241540,17 @@ "type": "enum" } }, + "IssuingSettlementStatus": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "complete", + "pending" + ], + "type": "enum" + } + }, "IssuingStatus": { "aggregate_functions": {}, "comparison_operators": {}, @@ -236391,6 +242149,19 @@ "type": "enum" } }, + "PaymentFlowsPrivatePaymentMethodsCardPresentCommonWalletType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "apple_pay", + "google_pay", + "samsung_pay", + "unknown" + ], + "type": "enum" + } + }, "PaymentFlowsPrivatePaymentMethodsUsBankAccountLinkedAccountOptionsFiltersAccountSubcategories": { "aggregate_functions": {}, "comparison_operators": {}, @@ -236512,6 +242283,18 @@ "type": "enum" } }, + "PaymentIntentPaymentMethodOptionsBacsDebitSetupFutureUsage": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "none", + "off_session", + "on_session" + ], + "type": "enum" + } + }, "PaymentIntentPaymentMethodOptionsBlikSetupFutureUsage": { "aggregate_functions": {}, "comparison_operators": {}, @@ -237893,6 +243676,17 @@ "type": "enum" } }, + "PaymentLinksRequired": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "if_supported", + "never" + ], + "type": "enum" + } + }, "PaymentLinksResourceAfterCompletionType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -238228,6 +244022,17 @@ "type": "enum" } }, + "PaymentLinksResourceTaxIdCollectionRequired": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "if_supported", + "never" + ], + "type": "enum" + } + }, "PaymentLinksSetupFutureUsage": { "aggregate_functions": {}, "comparison_operators": {}, @@ -238415,6 +244220,16 @@ "type": "enum" } }, + "PaymentMethodDetailsCardPresentOfflineType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "deferred" + ], + "type": "enum" + } + }, "PaymentMethodDetailsCardPresentReadMethod": { "aggregate_functions": {}, "comparison_operators": {}, @@ -238949,18 +244764,6 @@ "type": "enum" } }, - "PaymentMethodOptionsBacsDebitSetupFutureUsage": { - "aggregate_functions": {}, - "comparison_operators": {}, - "representation": { - "one_of": [ - "none", - "off_session", - "on_session" - ], - "type": "enum" - } - }, "PaymentMethodOptionsBancontactPreferredLanguage": { "aggregate_functions": {}, "comparison_operators": {}, @@ -240057,6 +245860,17 @@ "type": "enum" } }, + "PaymentPagesCheckoutSessionTaxIdCollectionRequired": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "if_supported", + "never" + ], + "type": "enum" + } + }, "PaymentPagesCheckoutSessionTaxIdType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -240094,6 +245908,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -240590,6 +246405,26 @@ "type": "enum" } }, + "PostBillingCreditGrantsBodyAmountType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "monetary" + ], + "type": "enum" + } + }, + "PostBillingMeterEventAdjustmentsBodyType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "cancel" + ], + "type": "enum" + } + }, "PostBillingMetersBodyCustomerMappingType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -241168,6 +247003,7 @@ "customer_signature", "dispute_evidence", "identity_document", + "issuing_regulatory_reporting", "pci_document", "tax_document_user_upload", "terminal_reader_splashscreen" @@ -241252,6 +247088,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -244087,6 +249924,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -244745,6 +250583,18 @@ "type": "enum" } }, + "PostTaxRegistrationsBodyCountryOptionsUsStateSalesTaxElectionsType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "local_use_tax", + "simplified_sellers_use_tax", + "single_local_use_tax" + ], + "type": "enum" + } + }, "PostTaxRegistrationsBodyCountryOptionsUsType": { "aggregate_functions": {}, "comparison_operators": {}, @@ -248286,6 +254136,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -248469,6 +254320,18 @@ "type": "enum" } }, + "TaxProductRegistrationsResourceCountryOptionsUsStateSalesTaxElectionType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "local_use_tax", + "simplified_sellers_use_tax", + "single_local_use_tax" + ], + "type": "enum" + } + }, "TaxProductResourceCustomerDetailsAddressSource": { "aggregate_functions": {}, "comparison_operators": {}, @@ -248517,6 +254380,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -248980,6 +254844,7 @@ "gb_vat", "ge_vat", "hk_br", + "hr_oib", "hu_tin", "id_npwp", "il_vat", @@ -249025,6 +254890,18 @@ "type": "enum" } }, + "TerminalAllowRedisplay": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "always", + "limited", + "unspecified" + ], + "type": "enum" + } + }, "TerminalConfigurationObject": { "aggregate_functions": {}, "comparison_operators": {}, @@ -250017,6 +255894,26 @@ "type": "enum" } }, + "ThresholdsResourceUsageAlertFilterType": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "customer" + ], + "type": "enum" + } + }, + "ThresholdsResourceUsageThresholdConfigRecurrence": { + "aggregate_functions": {}, + "comparison_operators": {}, + "representation": { + "one_of": [ + "one_time" + ], + "type": "enum" + } + }, "TokenObject": { "aggregate_functions": {}, "comparison_operators": {}, @@ -250337,7 +256234,7 @@ "card_issuing", "deposit_insurance", "financial_addresses.aba", - "finanical_addresses.aba.forwarding", + "financial_addresses.aba.forwarding", "inbound_transfers.ach", "intra_stripe_flows", "outbound_payments.ach", @@ -250377,7 +256274,7 @@ "card_issuing", "deposit_insurance", "financial_addresses.aba", - "finanical_addresses.aba.forwarding", + "financial_addresses.aba.forwarding", "inbound_transfers.ach", "intra_stripe_flows", "outbound_payments.ach", @@ -250397,7 +256294,7 @@ "card_issuing", "deposit_insurance", "financial_addresses.aba", - "finanical_addresses.aba.forwarding", + "financial_addresses.aba.forwarding", "inbound_transfers.ach", "intra_stripe_flows", "outbound_payments.ach", @@ -250766,6 +256663,7 @@ "one_of": [ "account_closed", "account_frozen", + "international_transaction", "other" ], "type": "enum" @@ -250840,6 +256738,7 @@ "account_closed", "account_frozen", "insufficient_funds", + "international_transaction", "other" ], "type": "enum" @@ -251253,7 +257152,8 @@ "2023-08-16", "2023-10-16", "2024-04-10", - "2024-06-20" + "2024-06-20", + "2024-09-30.acacia" ], "type": "enum" } diff --git a/connector-definition/.hasura-connector/connector-metadata.yaml b/connector-definition/.hasura-connector/connector-metadata.yaml index 3310281..e9155c3 100644 --- a/connector-definition/.hasura-connector/connector-metadata.yaml +++ b/connector-definition/.hasura-connector/connector-metadata.yaml @@ -1,17 +1,14 @@ packagingDefinition: type: PrebuiltDockerImage dockerImage: ghcr.io/hasura/ndc-stripe:{{VERSION}} +documentationPage: https://github.com/hasura/ndc-stripe supportedEnvironmentVariables: - - STRIPE_SERVER_URL - - STRIPE_BASIC_AUTH_TOKEN - - STRIPE_BEARER_AUTH_TOKEN - - STRIPE_TIMEOUT - - STRIPE_RETRY_TIMES - - STRIPE_RETRY_DELAY - - STRIPE_RETRY_HTTP_STATUS + - name: STRIPE_BEARER_AUTH_TOKEN + description: The API key to authenticate Stripe APIs + required: true + - name: STRIPE_TIMEOUT + description: Default request timeout in seconds + defaultValue: "30" + required: false commands: {} -dockerComposeWatch: - # copy config files into the existing container and restart it - - path: ./config - target: /etc/connector - action: sync+restart +dockerComposeWatch: [] diff --git a/schema/config.yaml b/schema/config.yaml index 654a706..dfa51b4 100644 --- a/schema/config.yaml +++ b/schema/config.yaml @@ -1,4 +1,4 @@ -file: https://raw.githubusercontent.com/stripe/openapi/v1178/openapi/spec3.json +file: https://raw.githubusercontent.com/stripe/openapi/v1296/openapi/spec3.json spec: oas3 envPrefix: STRIPE trimPrefix: /v1 diff --git a/scripts/test.sh b/scripts/test.sh index 2db81fa..499c8a6 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,7 +1,7 @@ #!/bin/bash ROOT="$(pwd)" -NDC_TEST_VERSION=v0.1.5 +NDC_TEST_VERSION=v0.1.3 http_wait() { printf "$1:\t " diff --git a/testdata/mock/mutation/PostTerminalReadersReaderProcessSetupIntent/expected.json b/testdata/mock/mutation/PostTerminalReadersReaderProcessSetupIntent/expected.json deleted file mode 100644 index 0712d43..0000000 --- a/testdata/mock/mutation/PostTerminalReadersReaderProcessSetupIntent/expected.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "operation_results": [ - { - "result": { - "action": null, - "device_sw_version": null, - "device_type": "bbpos_wisepos_e", - "ip_address": "192.168.2.2", - "label": "Blue Rabbit", - "livemode": false, - "location": null, - "metadata": {}, - "object": "terminal.reader", - "serial_number": "123-456-789", - "status": "online" - }, - "type": "procedure" - } - ] -} diff --git a/testdata/mock/mutation/PostTerminalReadersReaderProcessSetupIntent/request.json b/testdata/mock/mutation/PostTerminalReadersReaderProcessSetupIntent/request.json deleted file mode 100644 index 1c6d72f..0000000 --- a/testdata/mock/mutation/PostTerminalReadersReaderProcessSetupIntent/request.json +++ /dev/null @@ -1,275 +0,0 @@ -{ - "collection_relationships": {}, - "operations": [ - { - "type": "procedure", - "name": "PostTerminalReadersReaderProcessSetupIntent", - "arguments": { - "body": { - "customer_consent_collected": true, - "expand": ["jZwVmpj4br"], - "process_config": { - "enable_customer_cancellation": true - }, - "setup_intent": "fITEyT6sg5" - }, - "reader": "OIICu1QvDo" - }, - "fields": { - "fields": { - "action": { - "column": "action", - "fields": { - "fields": { - "failure_code": { - "column": "failure_code", - "type": "column" - }, - "failure_message": { - "column": "failure_message", - "type": "column" - }, - "process_payment_intent": { - "column": "process_payment_intent", - "fields": { - "fields": { - "payment_intent": { - "column": "payment_intent", - "type": "column" - }, - "process_config": { - "column": "process_config", - "fields": { - "fields": { - "enable_customer_cancellation": { - "column": "enable_customer_cancellation", - "type": "column" - }, - "skip_tipping": { - "column": "skip_tipping", - "type": "column" - }, - "tipping": { - "column": "tipping", - "fields": { - "fields": { - "amount_eligible": { - "column": "amount_eligible", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - }, - "process_setup_intent": { - "column": "process_setup_intent", - "fields": { - "fields": { - "generated_card": { - "column": "generated_card", - "type": "column" - }, - "process_config": { - "column": "process_config", - "fields": { - "fields": { - "enable_customer_cancellation": { - "column": "enable_customer_cancellation", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - }, - "setup_intent": { - "column": "setup_intent", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - }, - "refund_payment": { - "column": "refund_payment", - "fields": { - "fields": { - "amount": { - "column": "amount", - "type": "column" - }, - "charge": { - "column": "charge", - "type": "column" - }, - "metadata": { - "column": "metadata", - "type": "column" - }, - "payment_intent": { - "column": "payment_intent", - "type": "column" - }, - "reason": { - "column": "reason", - "type": "column" - }, - "refund": { - "column": "refund", - "type": "column" - }, - "refund_application_fee": { - "column": "refund_application_fee", - "type": "column" - }, - "refund_payment_config": { - "column": "refund_payment_config", - "fields": { - "fields": { - "enable_customer_cancellation": { - "column": "enable_customer_cancellation", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - }, - "reverse_transfer": { - "column": "reverse_transfer", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - }, - "set_reader_display": { - "column": "set_reader_display", - "fields": { - "fields": { - "cart": { - "column": "cart", - "fields": { - "fields": { - "currency": { - "column": "currency", - "type": "column" - }, - "line_items": { - "column": "line_items", - "fields": { - "fields": { - "fields": { - "amount": { - "column": "amount", - "type": "column" - }, - "description": { - "column": "description", - "type": "column" - }, - "quantity": { - "column": "quantity", - "type": "column" - } - }, - "type": "object" - }, - "type": "array" - }, - "type": "column" - }, - "tax": { - "column": "tax", - "type": "column" - }, - "total": { - "column": "total", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - }, - "type": { - "column": "type", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - }, - "status": { - "column": "status", - "type": "column" - }, - "type": { - "column": "type", - "type": "column" - } - }, - "type": "object" - }, - "type": "column" - }, - "device_sw_version": { - "column": "device_sw_version", - "type": "column" - }, - "device_type": { - "column": "device_type", - "type": "column" - }, - "ip_address": { - "column": "ip_address", - "type": "column" - }, - "label": { - "column": "label", - "type": "column" - }, - "livemode": { - "column": "livemode", - "type": "column" - }, - "location": { - "column": "location", - "type": "column" - }, - "metadata": { - "column": "metadata", - "type": "column" - }, - "object": { - "column": "object", - "type": "column" - }, - "serial_number": { - "column": "serial_number", - "type": "column" - }, - "status": { - "column": "status", - "type": "column" - } - }, - "type": "object" - } - } - ] -} diff --git a/testdata/mock/query/GetAccount/request.json b/testdata/mock/query/GetAccount/request.json index fdb2cd2..090cf4a 100644 --- a/testdata/mock/query/GetAccount/request.json +++ b/testdata/mock/query/GetAccount/request.json @@ -2,7 +2,7 @@ "arguments": { "expand": { "type": "literal", - "value": ["customer"] + "value": [] } }, "collection": "GetAccount", diff --git a/testdata/mock/query/GetAccounts/request.json b/testdata/mock/query/GetAccounts/request.json index ef51c72..e82a864 100644 --- a/testdata/mock/query/GetAccounts/request.json +++ b/testdata/mock/query/GetAccounts/request.json @@ -4,21 +4,13 @@ "type": "literal", "value": null }, - "ending_before": { - "type": "literal", - "value": "mx1ycmXB3O" - }, "expand": { "type": "literal", - "value": ["customer"] + "value": [] }, "limit": { "type": "literal", "value": 3 - }, - "starting_after": { - "type": "literal", - "value": "rQ3tqBwrKX" } }, "collection": "GetAccounts", diff --git a/testdata/mock/query/GetAccountsAccount/request.json b/testdata/mock/query/GetAccountsAccount/request.json index 046024c..f2c52fe 100644 --- a/testdata/mock/query/GetAccountsAccount/request.json +++ b/testdata/mock/query/GetAccountsAccount/request.json @@ -2,11 +2,11 @@ "arguments": { "account": { "type": "literal", - "value": "TYrM0mcVgD" + "value": "acct_1Q9xpf2fXb4OkYU5" }, "expand": { "type": "literal", - "value": ["AL5I9yGCRC"] + "value": [] } }, "collection": "GetAccountsAccount", diff --git a/testdata/mock/query/GetAccountsAccountBankAccountsId/request.json b/testdata/mock/query/GetAccountsAccountBankAccountsId/request.json index e2146db..6f78fa8 100644 --- a/testdata/mock/query/GetAccountsAccountBankAccountsId/request.json +++ b/testdata/mock/query/GetAccountsAccountBankAccountsId/request.json @@ -2,11 +2,11 @@ "arguments": { "account": { "type": "literal", - "value": "SALWucs0f0" + "value": "acct_1Q9xpf2fXb4OkYU5" }, "expand": { "type": "literal", - "value": ["J85VAdOpx4"] + "value": [] }, "id": { "type": "literal",