Stripe API [2023-10-16]
Number of APIs: 438
Stripe API Qodex Collection
This is a Qodex collection covering the Stripe API. See https://stripe.com/docs/api for more details.
Prerequisites
Getting Started
To get started fork the collection from [Stripe's public workspace] within Qodex.

Enter a name for your fork and select the workspace where it will be created:

You can also fork the environment template from the Stripe Developers Workspace:

Set your API key
To run requests you'll need to supply your testmode secret API key and set it as an [environment variable] within your workspace.
To set any environment variable, create a new envionment within Qodex:

Add your secret key as a variable to the environment and save:

Set the environment to active:

Now within the collection set it to use the environment you just created:

If your environment is set up correctly, you should see your secret key value if you mouse over the secret_key
variable in the Token field:

Be sure to save the collection after you've configured the set the key:

Make a test call
You should be ready now to make a test call. An easy first call is to create a customer:

Since no parameters are required to create a customer, you can just hit the Send button to run this request:

If your environment is set up you'll get a customer object back as the response to the call:

Add parameters to the call by clicking the body tab, where you'll see a list of available parameters. Select and populate the ones you want to use. Here's an example of adding an email parameter:

You'll see the email address in the reponse:

Passing Metadata In a Request
Right now metadata does not show up as a optional parameter on requests, but it can still be provided to calls that will accept it. Here's an example of adding 2 metadata fields to the customer create call:

Metadata key value pairs can be updated in a similar manner. To remove a metadata key during an update call, supply the metadata[key]
parameter without setting a value. This will pass an empty string as part of the request:

To remove all metadata pass the metadata
parameter without a value set:

Changelog
To keep track of major Stripe API updates and version, reference the API upgrades page in our documentation. For a detailed list of API changes, please refer to our API Changelog.
If you need to report a bug or request an update, feel free to open an issue on our GitHub repository.
-
Financial Connections Accounts - Subscribe to data refreshes of an Account POST {{baseUrl}}/v1/financial_connections/accounts/:account/subscribe
-
Terminal Configurations - Create a Configuration POST {{baseUrl}}/v1/terminal/configurations
-
Radar Value List Items - Delete a value list item DELETE {{baseUrl}}/v1/radar/value_list_items/:item
-
Tax Calculations - Create a tax transaction from a calculation POST {{baseUrl}}/v1/tax/transactions/create_from_calculation
-
Personalization Designs - List all personalization designs GET {{baseUrl}}/v1/issuing/personalization_designs
-
Subscription Items - Create a usage record POST {{baseUrl}}/v1/subscription_items/:subscription_item/usage_records
-
Persons - Create a person POST {{baseUrl}}/v1/accounts/:account/persons
-
Tax Registrations - Retrieve a registration GET {{baseUrl}}/v1/tax/registrations/:id
-
Refunds - Retrieve a refund GET {{baseUrl}}/v1/refunds/:refund
-
Radar Fraud Early Warnings - Retrieve an early fraud warning GET {{baseUrl}}/v1/radar/early_fraud_warnings/:early_fraud_warning