Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dev/versions.clj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(ns versions
"Info: This ns is auto-generated from the Stripe OpenAPI spec.")

(def stripe-api-version "2026-01-28.clover")
(def stripe-api-version "2026-09-30.endive")
32 changes: 23 additions & 9 deletions src/main/stream/clojure/stripe/api/accounts.clj
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@
[{:keys [query-params]}]
(stripe-request :get {:endpoint "/v1/accounts" :query-params query-params}))

(defn post
"No description available.
(defn create
"Create an account

HTTP Method: POST
Endpoint: /v1/accounts

Example Usage:
(post {})"
(create {})"
[{:keys [body]}]
(stripe-request :post {:endpoint "/v1/accounts" :body body}))

Expand Down Expand Up @@ -127,8 +127,8 @@
[{:keys [account-id bank-account-id]}]
(stripe-request :delete {:endpoint "/v1/accounts/{account-id}/bank_accounts/{bank-account-id}" :path-params {:account-id account-id :bank-account-id bank-account-id}}))

(defn post-account-bank-id
"No description available.
(defn update-account-bank-id
"Update a bank account

HTTP Method: POST
Endpoint: /v1/accounts/{account-id}/bank_accounts/{bank-account-id}
Expand All @@ -138,7 +138,7 @@
- bank-account-id (String): The bank-account-id parameter. (required)

Example Usage:
(post-account-bank-id {:account-id example-account-id :bank-account-id example-bank-account-id})"
(update-account-bank-id {:account-id example-account-id :bank-account-id example-bank-account-id})"
[{:keys [account-id bank-account-id body]}]
(stripe-request :post {:endpoint "/v1/accounts/{account-id}/bank_accounts/{bank-account-id}" :path-params {:account-id account-id :bank-account-id bank-account-id} :body body}))

Expand Down Expand Up @@ -225,6 +225,20 @@
[{:keys [account-id body]}]
(stripe-request :post {:endpoint "/v1/accounts/{account-id}/people" :path-params {:account-id account-id} :body body}))

(defn post-account-unreject
"Unreject an account

HTTP Method: POST
Endpoint: /v1/accounts/{account-id}/unreject

Path Parameters:
- account-id (String): The account-id parameter. (required)

Example Usage:
(post-account-unreject {:account-id example-account-id})"
[{:keys [account-id body]}]
(stripe-request :post {:endpoint "/v1/accounts/{account-id}/unreject" :path-params {:account-id account-id} :body body}))

(defn retrieve-account
"Retrieve account

Expand Down Expand Up @@ -437,8 +451,8 @@
[{:keys [account-id external-account-id]}]
(stripe-request :delete {:endpoint "/v1/accounts/{account-id}/external_accounts/{external-account-id}" :path-params {:account-id account-id :external-account-id external-account-id}}))

(defn post-account-external-id
"No description available.
(defn update-account-external-id
"Update a bank account

HTTP Method: POST
Endpoint: /v1/accounts/{account-id}/external_accounts/{external-account-id}
Expand All @@ -448,7 +462,7 @@
- external-account-id (String): The external-account-id parameter. (required)

Example Usage:
(post-account-external-id {:account-id example-account-id :external-account-id example-external-account-id})"
(update-account-external-id {:account-id example-account-id :external-account-id example-external-account-id})"
[{:keys [account-id external-account-id body]}]
(stripe-request :post {:endpoint "/v1/accounts/{account-id}/external_accounts/{external-account-id}" :path-params {:account-id account-id :external-account-id external-account-id} :body body}))

Expand Down
80 changes: 80 additions & 0 deletions src/main/stream/clojure/stripe/api/apps.clj
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,20 @@
(:require [stream.clojure.stripe.request :refer [stripe-request]]))


(defn post-installs-id-uninstall
"Uninstall an app install

HTTP Method: POST
Endpoint: /v1/apps/installs/{install-id}/uninstall

Path Parameters:
- install-id (String): The install-id parameter. (required)

Example Usage:
(post-installs-id-uninstall {:install-id example-install-id})"
[{:keys [install-id body]}]
(stripe-request :post {:endpoint "/v1/apps/installs/{install-id}/uninstall" :path-params {:install-id install-id} :body body}))

(defn list-all-secrets
"List secrets

Expand Down Expand Up @@ -32,6 +46,37 @@
[{:keys [body]}]
(stripe-request :post {:endpoint "/v1/apps/secrets" :body body}))

(defn retrieve-installs-id
"Retrieve an app install

HTTP Method: GET
Endpoint: /v1/apps/installs/{install-id}

Path Parameters:
- install-id (String): The install-id parameter. (required)

Query Parameters:
- expand (Array): Specifies which fields in the response should be expanded.

Example Usage:
(retrieve-installs-id {:install-id example-install-id :query-params {:limit 10}})"
[{:keys [install-id query-params]}]
(stripe-request :get {:endpoint "/v1/apps/installs/{install-id}" :path-params {:install-id install-id} :query-params query-params}))

(defn update-installs-id
"Update an app install

HTTP Method: POST
Endpoint: /v1/apps/installs/{install-id}

Path Parameters:
- install-id (String): The install-id parameter. (required)

Example Usage:
(update-installs-id {:install-id example-install-id})"
[{:keys [install-id body]}]
(stripe-request :post {:endpoint "/v1/apps/installs/{install-id}" :path-params {:install-id install-id} :body body}))

(defn post-secrets-delete
"Delete a Secret

Expand All @@ -43,6 +88,41 @@
[{:keys [body]}]
(stripe-request :post {:endpoint "/v1/apps/secrets/delete" :body body}))

(defn list-all-installs
"List all app installs

HTTP Method: GET
Endpoint: /v1/apps/installs

Query Parameters:
- account (String): Only return installs made by this account. Only useful to app developers and embedding platforms, whose lists span the accounts that installed their app.
- app (String): Only return installs for the app specified by this app ID.
- approval-required (Boolean): Only return installs whose installer must authorize pending permissions, content security policy entries, or endpoints.
- channel (String): Only return installs in the distribution channel specified by this channel name.
- created (Unknown): Only return app installs that were created during the given date interval.
- created-by (String): Only return installs created by the embedding platform specified by this account ID.
- ending-before (String): 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.
- expand (Array): Specifies which fields in the response should be expanded.
- limit (Integer): A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
- starting-after (String): 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.
- status (String): Only return installs with the given status.

Example Usage:
(list-all-installs {:query-params {:limit 10}})"
[{:keys [query-params]}]
(stripe-request :get {:endpoint "/v1/apps/installs" :query-params query-params}))

(defn create-installs
"Create an app install

HTTP Method: POST
Endpoint: /v1/apps/installs

Example Usage:
(create-installs {})"
[{:keys [body]}]
(stripe-request :post {:endpoint "/v1/apps/installs" :body body}))

(defn list-all-secrets-find
"Find a Secret

Expand Down
2 changes: 1 addition & 1 deletion src/main/stream/clojure/stripe/api/balance.clj
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- payout (String): For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID.
- source (String): Only returns transactions associated with the given object.
- starting-after (String): 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 (String): Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`.
- type (String): Only returns transactions of the given type. One of: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_dispute_provisional_credit`, `issuing_dispute_provisional_credit_reversal`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`.

Example Usage:
(list-all-history {:query-params {:limit 10}})"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- payout (String): For automatic Stripe payouts only, only returns transactions that were paid out on the specified payout ID.
- source (String): Only returns transactions associated with the given object.
- starting-after (String): 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 (String): Only returns transactions of the given type. One of: `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, or `transfer_refund`.
- type (String): Only returns transactions of the given type. One of: `tax_fund`, `adjustment`, `advance`, `advance_funding`, `anticipation_repayment`, `application_fee`, `application_fee_refund`, `charge`, `climate_order_purchase`, `climate_order_refund`, `connect_collection_transfer`, `contribution`, `inbound_transfer`, `inbound_transfer_reversal`, `issuing_authorization_hold`, `issuing_authorization_release`, `issuing_dispute`, `issuing_dispute_provisional_credit`, `issuing_dispute_provisional_credit_reversal`, `issuing_transaction`, `obligation_outbound`, `obligation_reversal_inbound`, `payment`, `payment_failure_refund`, `payment_network_reserve_hold`, `payment_network_reserve_release`, `payment_refund`, `payment_reversal`, `payment_unreconciled`, `payout`, `payout_cancel`, `payout_failure`, `payout_minimum_balance_hold`, `payout_minimum_balance_release`, `refund`, `refund_failure`, `reserve_transaction`, `reserved_funds`, `reserve_hold`, `reserve_release`, `stripe_fee`, `stripe_fx_fee`, `stripe_balance_payment_debit`, `stripe_balance_payment_debit_reversal`, `tax_fee`, `topup`, `topup_reversal`, `transfer`, `transfer_cancel`, `transfer_failure`, `transfer_refund`, or `fee_credit_funding`.

Example Usage:
(list-all-balance-transactions {:query-params {:limit 10}})"
Expand Down
74 changes: 74 additions & 0 deletions src/main/stream/clojure/stripe/api/billing.clj
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,35 @@
[{:keys [query-params]}]
(stripe-request :get {:endpoint "/v1/billing/credit_balance_summary" :query-params query-params}))

(defn list-all-feedback-options
"List all feedback options

HTTP Method: GET
Endpoint: /v1/billing/feedback_options

Query Parameters:
- ending-before (String): 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.
- expand (Array): Specifies which fields in the response should be expanded.
- limit (Integer): A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.
- starting-after (String): 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.
- status (String): Filter results to only include feedback options with the given status.

Example Usage:
(list-all-feedback-options {:query-params {:limit 10}})"
[{:keys [query-params]}]
(stripe-request :get {:endpoint "/v1/billing/feedback_options" :query-params query-params}))

(defn create-feedback-options
"Create a feedback option

HTTP Method: POST
Endpoint: /v1/billing/feedback_options

Example Usage:
(create-feedback-options {})"
[{:keys [body]}]
(stripe-request :post {:endpoint "/v1/billing/feedback_options" :body body}))

(defn post-meters-id-reactivate
"Reactivate a billing meter

Expand All @@ -262,6 +291,37 @@
[{:keys [meter-id body]}]
(stripe-request :post {:endpoint "/v1/billing/meters/{meter-id}/reactivate" :path-params {:meter-id meter-id} :body body}))

(defn retrieve-feedback-options-id
"Retrieve a feedback option

HTTP Method: GET
Endpoint: /v1/billing/feedback_options/{feedback-option-id}

Path Parameters:
- feedback-option-id (String): The ID of the feedback option to retrieve.

Query Parameters:
- expand (Array): Specifies which fields in the response should be expanded.

Example Usage:
(retrieve-feedback-options-id {:feedback-option-id example-feedback-option-id :query-params {:limit 10}})"
[{:keys [feedback-option-id query-params]}]
(stripe-request :get {:endpoint "/v1/billing/feedback_options/{feedback-option-id}" :path-params {:feedback-option-id feedback-option-id} :query-params query-params}))

(defn update-feedback-options-id
"Update a feedback option

HTTP Method: POST
Endpoint: /v1/billing/feedback_options/{feedback-option-id}

Path Parameters:
- feedback-option-id (String): The ID of the feedback option to update.

Example Usage:
(update-feedback-options-id {:feedback-option-id example-feedback-option-id})"
[{:keys [feedback-option-id body]}]
(stripe-request :post {:endpoint "/v1/billing/feedback_options/{feedback-option-id}" :path-params {:feedback-option-id feedback-option-id} :body body}))

(defn post-credit-grants-id-void
"Void a credit grant

Expand All @@ -276,6 +336,20 @@
[{:keys [credit-grant-id body]}]
(stripe-request :post {:endpoint "/v1/billing/credit_grants/{credit-grant-id}/void" :path-params {:credit-grant-id credit-grant-id} :body body}))

(defn post-feedback-options-id-deactivate
"Deactivate a feedback option

HTTP Method: POST
Endpoint: /v1/billing/feedback_options/{feedback-option-id}/deactivate

Path Parameters:
- feedback-option-id (String): The ID of the feedback option to deactivate.

Example Usage:
(post-feedback-options-id-deactivate {:feedback-option-id example-feedback-option-id})"
[{:keys [feedback-option-id body]}]
(stripe-request :post {:endpoint "/v1/billing/feedback_options/{feedback-option-id}/deactivate" :path-params {:feedback-option-id feedback-option-id} :body body}))

(defn retrieve-credit-grants-id
"Retrieve a credit grant

Expand Down
10 changes: 5 additions & 5 deletions src/main/stream/clojure/stripe/api/charges.clj
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
[{:keys [query-params]}]
(stripe-request :get {:endpoint "/v1/charges" :query-params query-params}))

(defn post
"No description available.
(defn create
"Create a charge

HTTP Method: POST
Endpoint: /v1/charges

Example Usage:
(post {})"
(create {})"
[{:keys [body]}]
(stripe-request :post {:endpoint "/v1/charges" :body body}))

Expand All @@ -56,7 +56,7 @@
(stripe-request :get {:endpoint "/v1/charges/{charge-id}/refunds" :path-params {:charge-id charge-id} :query-params query-params}))

(defn create-charge-refunds
"Create customer balance refund
"Create a refund

HTTP Method: POST
Endpoint: /v1/charges/{charge-id}/refunds
Expand Down Expand Up @@ -84,7 +84,7 @@
(stripe-request :post {:endpoint "/v1/charges/{charge-id}/dispute/close" :path-params {:charge-id charge-id} :body body}))

(defn post-charge-capture
"Capture a payment
"Capture a charge

HTTP Method: POST
Endpoint: /v1/charges/{charge-id}/capture
Expand Down
Loading