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-07-29.dahlia")
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
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_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_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
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
18 changes: 9 additions & 9 deletions src/main/stream/clojure/stripe/api/customers.clj
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,8 @@
[{:keys [customer-id bank-account-id]}]
(stripe-request :delete {:endpoint "/v1/customers/{customer-id}/bank_accounts/{bank-account-id}" :path-params {:customer-id customer-id :bank-account-id bank-account-id}}))

(defn post-customer-bank-accounts-id
"No description available.
(defn update-customer-bank-accounts-id
"Update a card

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

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

Expand Down Expand Up @@ -474,8 +474,8 @@
[{:keys [customer-id source-id]}]
(stripe-request :delete {:endpoint "/v1/customers/{customer-id}/sources/{source-id}" :path-params {:customer-id customer-id :source-id source-id}}))

(defn post-customer-sources-id
"No description available.
(defn update-customer-sources-id
"Update a card

HTTP Method: POST
Endpoint: /v1/customers/{customer-id}/sources/{source-id}
Expand All @@ -485,7 +485,7 @@
- source-id (String): The source-id parameter. (required)

Example Usage:
(post-customer-sources-id {:customer-id example-customer-id :source-id example-source-id})"
(update-customer-sources-id {:customer-id example-customer-id :source-id example-source-id})"
[{:keys [customer-id source-id body]}]
(stripe-request :post {:endpoint "/v1/customers/{customer-id}/sources/{source-id}" :path-params {:customer-id customer-id :source-id source-id} :body body}))

Expand Down Expand Up @@ -664,8 +664,8 @@
[{:keys [customer-id card-id]}]
(stripe-request :delete {:endpoint "/v1/customers/{customer-id}/cards/{card-id}" :path-params {:customer-id customer-id :card-id card-id}}))

(defn post-customer-cards-id
"No description available.
(defn update-customer-cards-id
"Update a card

HTTP Method: POST
Endpoint: /v1/customers/{customer-id}/cards/{card-id}
Expand All @@ -675,7 +675,7 @@
- card-id (String): The card-id parameter. (required)

Example Usage:
(post-customer-cards-id {:customer-id example-customer-id :card-id example-card-id})"
(update-customer-cards-id {:customer-id example-customer-id :card-id example-card-id})"
[{:keys [customer-id card-id body]}]
(stripe-request :post {:endpoint "/v1/customers/{customer-id}/cards/{card-id}" :path-params {:customer-id customer-id :card-id card-id} :body body}))

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


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

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

Example Usage:
(post-external-accounts-id {:external-account-id example-external-account-id})"
(update-external-accounts-id {:external-account-id example-external-account-id})"
[{:keys [external-account-id body]}]
(stripe-request :post {:endpoint "/v1/external_accounts/{external-account-id}" :path-params {:external-account-id external-account-id} :body body}))
2 changes: 1 addition & 1 deletion src/main/stream/clojure/stripe/api/payment_intents.clj
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
- 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.
- page (String): A cursor for pagination across multiple pages of results. Don't include this parameter on the first call. Use the next_page value returned in a previous response to request subsequent results.
- query (String): The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for payment intents](https://docs.stripe.com/search#query-fields-for-payment-intents). (required)
- query (String): The search query string. See [search query language](https://docs.stripe.com/search#search-query-language) and the list of supported [query fields for payment intents](https://docs.stripe.com/search#query-fields-for-paymentintents). (required)

Example Usage:
(list-all-payment-intents-search {:query-params {:limit 10}})"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
Endpoint: /v1/payment_method_configurations

Query Parameters:
- active (Boolean): Whether the configuration is active.
- application (Unknown): The Connect application to filter by.
- 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.
Expand Down
6 changes: 3 additions & 3 deletions src/main/stream/clojure/stripe/api/payment_methods.clj
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
[{:keys [query-params]}]
(stripe-request :get {:endpoint "/v1/payment_methods" :query-params query-params}))

(defn post-payment-methods
"Shares a PaymentMethod
(defn create-payment-methods
"Create a PaymentMethod

HTTP Method: POST
Endpoint: /v1/payment_methods

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

Expand Down
19 changes: 19 additions & 0 deletions src/main/stream/clojure/stripe/api/payment_records.clj
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,25 @@
[{:keys [body]}]
(stripe-request :post {:endpoint "/v1/payment_records/report_payment" :body body}))

(defn list-all-payment-records
"List Payment Records

HTTP Method: GET
Endpoint: /v1/payment_records

Query Parameters:
- created-after (Integer): Only return Payment Records that were created after this unix timestamp.
- created-before (Integer): Only return Payment Records that were created before this unix timestamp.
- 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.

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

(defn post-payment-records-id-report-payment-attempt-canceled
"Report payment attempt canceled

Expand Down
2 changes: 1 addition & 1 deletion src/main/stream/clojure/stripe/api/refunds.clj
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
(stripe-request :get {:endpoint "/v1/refunds" :query-params query-params}))

(defn create
"Create customer balance refund
"Create a refund

HTTP Method: POST
Endpoint: /v1/refunds
Expand Down
6 changes: 3 additions & 3 deletions src/main/stream/clojure/stripe/api/sources.clj
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,13 @@
[{:keys [source-id query-params]}]
(stripe-request :get {:endpoint "/v1/sources/{source-id}/source_transactions" :path-params {:source-id source-id} :query-params query-params}))

(defn post
"Shares a source
(defn create
"Create a source

HTTP Method: POST
Endpoint: /v1/sources

Example Usage:
(post {})"
(create {})"
[{:keys [body]}]
(stripe-request :post {:endpoint "/v1/sources" :body body}))
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
- canceled-at (Unknown): Only return subscription schedules that were created canceled the given date interval.
- completed-at (Unknown): Only return subscription schedules that completed during the given date interval.
- created (Unknown): Only return subscription schedules that were created during the given date interval.
- customer (String): Only return subscription schedules for the given customer.
- customer (String): Only return subscription schedules for the given customer. The response will not include subscription schedules for customers with a test clock attached if this parameter is not set.
- customer-account (String): Only return subscription schedules for the given account.
- 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.
Expand Down
Loading