(add-line-items stripe-client invoice-id params)
(add-line-items stripe-client invoice-id params opts)
Adds line items to an invoice.
Stripe API docs: https://stripe.com/docs/api/invoice-line-item/bulk
Adds line items to an invoice. Stripe API docs: https://stripe.com/docs/api/invoice-line-item/bulk
(create-invoice stripe-client payload)
(create-invoice stripe-client payload opts)
Creates a new invoice. Stripe API docs: https://stripe.com/docs/api/invoices/create
payload
: A map of invoice data to send to Stripe.opts
: (Optional) A map of additional options:
:api-key, :idempotency-key, :stripe-account, etc.Creates a new invoice. Stripe API docs: https://stripe.com/docs/api/invoices/create - `payload`: A map of invoice data to send to Stripe. - `opts`: (Optional) A map of additional options: :api-key, :idempotency-key, :stripe-account, etc.
(create-preview-invoice stripe-client params)
(create-preview-invoice stripe-client params opts)
Gets a preview for a new invoice.
Stripe API docs: https://stripe.com/docs/api/invoices/create_preview
Gets a preview for a new invoice. Stripe API docs: https://stripe.com/docs/api/invoices/create_preview
(delete-invoice stripe-client invoice-id)
(delete-invoice stripe-client invoice-id opts)
Deletes a draft invoice. Stripe API docs: https://stripe.com/docs/api/invoices/delete
invoice-id
: The ID of the invoice to delete.opts
: (Optional) A map of additional options.Deletes a draft invoice. Stripe API docs: https://stripe.com/docs/api/invoices/delete - `invoice-id`: The ID of the invoice to delete. - `opts`: (Optional) A map of additional options.
(finalize-invoice stripe-client invoice-id)
(finalize-invoice stripe-client invoice-id payload)
(finalize-invoice stripe-client invoice-id payload opts)
Finalizes a draft invoice. Stripe API docs: https://stripe.com/docs/api/invoices/finalize
invoice-id
: The ID of the invoice to finalize.payload
: (Optional) A map of finalization options.opts
: (Optional) A map of additional options.Finalizes a draft invoice. Stripe API docs: https://stripe.com/docs/api/invoices/finalize - `invoice-id`: The ID of the invoice to finalize. - `payload`: (Optional) A map of finalization options. - `opts`: (Optional) A map of additional options.
(list-invoices stripe-client)
(list-invoices stripe-client params)
(list-invoices stripe-client params opts)
Returns a list of invoices. Stripe API docs: https://stripe.com/docs/api/invoices/list
params
: (Optional) A map of query parameters.opts
: (Optional) A map of additional options.Returns a list of invoices. Stripe API docs: https://stripe.com/docs/api/invoices/list - `params`: (Optional) A map of query parameters. - `opts`: (Optional) A map of additional options.
(list-line-items stripe-client invoice-id)
(list-line-items stripe-client invoice-id params)
(list-line-items stripe-client invoice-id params opts)
Lists all line items for an invoice.
Stripe API docs: https://stripe.com/docs/api/invoices/lines
Lists all line items for an invoice. Stripe API docs: https://stripe.com/docs/api/invoices/lines
(list-upcoming-line-items stripe-client params)
(list-upcoming-line-items stripe-client params opts)
Lists all line items for an upcoming invoice.
Stripe API docs: https://stripe.com/docs/api/invoices/upcoming_lines
Lists all line items for an upcoming invoice. Stripe API docs: https://stripe.com/docs/api/invoices/upcoming_lines
(mark-invoice-uncollectible stripe-client invoice-id)
(mark-invoice-uncollectible stripe-client invoice-id opts)
Marks an invoice as uncollectible. Stripe API docs: https://stripe.com/docs/api/invoices/mark_uncollectible
invoice-id
: The ID of the invoice to mark as uncollectible.opts
: (Optional) A map of additional options.Marks an invoice as uncollectible. Stripe API docs: https://stripe.com/docs/api/invoices/mark_uncollectible - `invoice-id`: The ID of the invoice to mark as uncollectible. - `opts`: (Optional) A map of additional options.
(pay-invoice stripe-client invoice-id)
(pay-invoice stripe-client invoice-id payload)
(pay-invoice stripe-client invoice-id payload opts)
Pays an invoice. Stripe API docs: https://stripe.com/docs/api/invoices/pay
invoice-id
: The ID of the invoice to pay.payload
: (Optional) A map of payment options.opts
: (Optional) A map of additional options.Pays an invoice. Stripe API docs: https://stripe.com/docs/api/invoices/pay - `invoice-id`: The ID of the invoice to pay. - `payload`: (Optional) A map of payment options. - `opts`: (Optional) A map of additional options.
(remove-line-items stripe-client invoice-id params)
(remove-line-items stripe-client invoice-id params opts)
Removes line items from an invoice.
Stripe API docs: https://stripe.com/docs/api/invoice-line-item/invoices/remove-lines/bulk
Removes line items from an invoice. Stripe API docs: https://stripe.com/docs/api/invoice-line-item/invoices/remove-lines/bulk
(retrieve-invoice stripe-client invoice-id)
(retrieve-invoice stripe-client invoice-id opts)
Retrieves the details of an existing invoice. Stripe API docs: https://stripe.com/docs/api/invoices/retrieve
invoice-id
: The ID of the invoice to retrieve.opts
: (Optional) A map of additional options.Retrieves the details of an existing invoice. Stripe API docs: https://stripe.com/docs/api/invoices/retrieve - `invoice-id`: The ID of the invoice to retrieve. - `opts`: (Optional) A map of additional options.
(retrieve-upcoming stripe-client params)
(retrieve-upcoming stripe-client params opts)
Retrieves the upcoming invoice.
Stripe API docs: https://stripe.com/docs/api/invoices/upcoming
Retrieves the upcoming invoice. Stripe API docs: https://stripe.com/docs/api/invoices/upcoming
(search-invoices stripe-client params)
(search-invoices stripe-client params opts)
Searches for invoices.
Stripe API docs: https://stripe.com/docs/api/invoices/search
Searches for invoices. Stripe API docs: https://stripe.com/docs/api/invoices/search
(send-invoice stripe-client invoice-id)
(send-invoice stripe-client invoice-id opts)
Sends an invoice to the customer. Stripe API docs: https://stripe.com/docs/api/invoices/send
invoice-id
: The ID of the invoice to send.opts
: (Optional) A map of additional options.Sends an invoice to the customer. Stripe API docs: https://stripe.com/docs/api/invoices/send - `invoice-id`: The ID of the invoice to send. - `opts`: (Optional) A map of additional options.
(update-invoice stripe-client invoice-id payload)
(update-invoice stripe-client invoice-id payload opts)
Updates an existing invoice. Stripe API docs: https://stripe.com/docs/api/invoices/update
invoice-id
: The ID of the invoice to update.payload
: A map of invoice data to update.opts
: (Optional) A map of additional options.Updates an existing invoice. Stripe API docs: https://stripe.com/docs/api/invoices/update - `invoice-id`: The ID of the invoice to update. - `payload`: A map of invoice data to update. - `opts`: (Optional) A map of additional options.
(update-line-item stripe-client invoice-id line-item-id params)
(update-line-item stripe-client invoice-id line-item-id params opts)
Updates an invoice's line item.
Stripe API docs: https://www.stripe.com/docs/api/invoice-line-item/update
Updates an invoice's line item. Stripe API docs: https://www.stripe.com/docs/api/invoice-line-item/update
(update-line-items stripe-client invoice-id params)
(update-line-items stripe-client invoice-id params opts)
Updates line items on an invoice.
Stripe API docs: https://stripe.com/docs/api/invoice-line-item/invoices/update-lines/bulk
Updates line items on an invoice. Stripe API docs: https://stripe.com/docs/api/invoice-line-item/invoices/update-lines/bulk
(void-invoice stripe-client invoice-id)
(void-invoice stripe-client invoice-id opts)
Voids an invoice. Stripe API docs: https://stripe.com/docs/api/invoices/void
invoice-id
: The ID of the invoice to void.opts
: (Optional) A map of additional options.Voids an invoice. Stripe API docs: https://stripe.com/docs/api/invoices/void - `invoice-id`: The ID of the invoice to void. - `opts`: (Optional) A map of additional options.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close