Stripe | Financial Infrastructure to Grow Your Revenue

Stripe | Financial Infrastructure to Grow Your Revenue

4466 articles

Resources


resources Resource commands make API requests using the CLI for a given resource. The Stripe CLI has commands to interact with all types of Stripe API resources. A complete list of available resources and examples are included in the API Reference Guide. Select Stripe CLI from the language dropdown to see a complete example for each resource. Use the help command on any resource to see what operations you can perform. For example, run stripe customers --help to see help for the Customers resource. Use stripe resources to see a complete list of available resources. > All commands support making live requests with the --live flag. Command: stripe {resource command} ### Arguments - `

Operation to perform on API object. Each type of API resource includes a set of operations that you can perform (such asdelete, list, and retrieve). ### Flags - --param=valueParameters to attach to the operation being performed. --d, --data

Additional data to send with an API request. Supports setting nested values (e.gnested[param]=value`). ### Examples Listing supported operations sh stripe customers --help Available Operations: create delete list ... Create a resource sh stripe customers create \ --email= \ --name="Jenny Rosen" \ --description="My First Test Customer" Update a resource sh stripe customers update cus_9s6XKzkNRiz8i3 \ -d "metadata[key]=value" Retrieve a resource sh stripe customers retrieve cus_9s6XKzkNRiz8i3 Response { "id": "cus_9s6XKzkNRiz8i3", "object": "customer", "address": null, "balance": 0, "created": 1680893993, "currency": null, "default_source": null, "delinquent": false, "description": "My First Test Customer", "discount": null, "email": "", "invoice_prefix": "0759376C", "invoice_settings": { "custom_fields": null, "default_payment_method": null, "footer": null, "rendering_options": null }, "livemode": false, "metadata": {}, "name": "Jenny Rosen", "next_invoice_sequence": 1, "phone": null, "preferred_locales": [], "shipping": null, "tax_exempt": "none", "test_clock": null }

Last verified 2026-09-24

Is this helpful?