Liking cljdoc? Tell your friends :D

stream.clojure.stripe.api.checkout

Info: This ns is auto-generated from the Stripe OpenAPI spec.

Info: This ns is auto-generated from the Stripe OpenAPI spec.
raw docstring

create-sessionsclj

(create-sessions {:keys [body]})

Create a Checkout Session

HTTP Method: POST Endpoint: /v1/checkout/sessions

Example Usage: (create-sessions {})

Create a Checkout Session

HTTP Method: POST
Endpoint: /v1/checkout/sessions

Example Usage:
  (create-sessions {})
sourceraw docstring

list-all-sessionsclj

(list-all-sessions {:keys [query-params]})

List all Checkout Sessions

HTTP Method: GET Endpoint: /v1/checkout/sessions

Query Parameters:

  • created (Unknown): Only return Checkout Sessions that were created during the given date interval.
  • customer (String): Only return the Checkout Sessions for the Customer specified.
  • customer-account (String): Only return the Checkout Sessions for the Account specified.
  • customer-details (Object): Only return the Checkout Sessions for the Customer details specified.
  • 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.
  • payment-intent (String): Only return the Checkout Session for the PaymentIntent specified.
  • payment-link (String): Only return the Checkout Sessions for the Payment Link specified.
  • 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 the Checkout Sessions matching the given status.
  • subscription (String): Only return the Checkout Session for the subscription specified.

Example Usage: (list-all-sessions {:query-params {:limit 10}})

List all Checkout Sessions

HTTP Method: GET
Endpoint: /v1/checkout/sessions

Query Parameters:
  - created (Unknown): Only return Checkout Sessions that were created during the given date interval.
  - customer (String): Only return the Checkout Sessions for the Customer specified.
  - customer-account (String): Only return the Checkout Sessions for the Account specified.
  - customer-details (Object): Only return the Checkout Sessions for the Customer details specified.
  - 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.
  - payment-intent (String): Only return the Checkout Session for the PaymentIntent specified.
  - payment-link (String): Only return the Checkout Sessions for the Payment Link specified.
  - 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 the Checkout Sessions matching the given status.
  - subscription (String): Only return the Checkout Session for the subscription specified.

Example Usage:
  (list-all-sessions {:query-params {:limit 10}})
sourceraw docstring

list-all-sessions-session-line-itemsclj

(list-all-sessions-session-line-items {:keys [session-id query-params]})

Retrieve a Checkout Session's line items

HTTP Method: GET Endpoint: /v1/checkout/sessions/{session-id}/line_items

Path Parameters:

  • session-id (String): The session-id parameter. (required)

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.

Example Usage: (list-all-sessions-session-line-items {:session-id example-session-id :query-params {:limit 10}})

Retrieve a Checkout Session's line items

HTTP Method: GET
Endpoint: /v1/checkout/sessions/{session-id}/line_items

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

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.

Example Usage:
  (list-all-sessions-session-line-items {:session-id example-session-id :query-params {:limit 10}})
sourceraw docstring

post-sessions-session-expireclj

(post-sessions-session-expire {:keys [session-id body]})

Expire a Checkout Session

HTTP Method: POST Endpoint: /v1/checkout/sessions/{session-id}/expire

Path Parameters:

  • session-id (String): The session-id parameter. (required)

Example Usage: (post-sessions-session-expire {:session-id example-session-id})

Expire a Checkout Session

HTTP Method: POST
Endpoint: /v1/checkout/sessions/{session-id}/expire

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

Example Usage:
  (post-sessions-session-expire {:session-id example-session-id})
sourceraw docstring

retrieve-sessions-sessionclj

(retrieve-sessions-session {:keys [session-id query-params]})

Retrieve a Checkout Session

HTTP Method: GET Endpoint: /v1/checkout/sessions/{session-id}

Path Parameters:

  • session-id (String): The session-id parameter. (required)

Query Parameters:

  • expand (Array): Specifies which fields in the response should be expanded.

Example Usage: (retrieve-sessions-session {:session-id example-session-id :query-params {:limit 10}})

Retrieve a Checkout Session

HTTP Method: GET
Endpoint: /v1/checkout/sessions/{session-id}

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

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

Example Usage:
  (retrieve-sessions-session {:session-id example-session-id :query-params {:limit 10}})
sourceraw docstring

update-sessions-sessionclj

(update-sessions-session {:keys [session-id body]})

Update a Checkout Session

HTTP Method: POST Endpoint: /v1/checkout/sessions/{session-id}

Path Parameters:

  • session-id (String): The session-id parameter. (required)

Example Usage: (update-sessions-session {:session-id example-session-id})

Update a Checkout Session

HTTP Method: POST
Endpoint: /v1/checkout/sessions/{session-id}

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

Example Usage:
  (update-sessions-session {:session-id example-session-id})
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close