Stripe Starter toolkit auto-generated from the official [OpenAPI specification](https://raw.githubusercontent.com/stripe/openapi/refs/heads/master/openapi/spec3.json).
260 lines
10 KiB
JSON
260 lines
10 KiB
JSON
{
|
|
"name": "GetCreditBalanceTransactions",
|
|
"fully_qualified_name": "StripeApi.GetCreditBalanceTransactions@0.1.0",
|
|
"description": "Retrieve a list of credit balance transactions.\n\nThis tool calls the Stripe API endpoint to fetch credit balance transactions. It should be used to review or analyze credit activity associated with billing accounts.",
|
|
"toolkit": {
|
|
"name": "ArcadeStripeApi",
|
|
"description": null,
|
|
"version": "0.1.0"
|
|
},
|
|
"input": {
|
|
"parameters": [
|
|
{
|
|
"name": "customer_id",
|
|
"required": true,
|
|
"description": "The unique identifier of the customer for which to fetch credit balance transactions.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The customer for which to fetch credit balance transactions."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "customer"
|
|
},
|
|
{
|
|
"name": "credit_grant_id",
|
|
"required": false,
|
|
"description": "The identifier for the specific credit grant to fetch its credit balance transactions.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The credit grant for which to fetch credit balance transactions."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "credit_grant"
|
|
},
|
|
{
|
|
"name": "pagination_ending_cursor",
|
|
"required": false,
|
|
"description": "A pagination cursor ID to fetch the previous page of the list. Use an object ID to identify your position.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "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."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "ending_before"
|
|
},
|
|
{
|
|
"name": "fields_to_expand",
|
|
"required": false,
|
|
"description": "List of fields in the response that should be expanded for additional details.",
|
|
"value_schema": {
|
|
"val_type": "array",
|
|
"inner_val_type": "string",
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Specifies which fields in the response should be expanded."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "expand"
|
|
},
|
|
{
|
|
"name": "max_transactions_to_return",
|
|
"required": false,
|
|
"description": "Specify the maximum number of transactions to return, ranging between 1 and 100. The default is 10.",
|
|
"value_schema": {
|
|
"val_type": "integer",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "limit"
|
|
},
|
|
{
|
|
"name": "pagination_starting_after",
|
|
"required": false,
|
|
"description": "An object ID cursor to fetch the next page of credit balance transactions.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "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."
|
|
},
|
|
"inferrable": true,
|
|
"http_endpoint_parameter_name": "starting_after"
|
|
}
|
|
]
|
|
},
|
|
"output": {
|
|
"description": "Response from the API endpoint 'GetBillingCreditBalanceTransactions'.",
|
|
"available_modes": [
|
|
"value",
|
|
"error",
|
|
"null"
|
|
],
|
|
"value_schema": {
|
|
"val_type": "json",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": null
|
|
}
|
|
},
|
|
"requirements": {
|
|
"authorization": null,
|
|
"secrets": [
|
|
{
|
|
"key": "STRIPE_API_KEY"
|
|
}
|
|
],
|
|
"metadata": null
|
|
},
|
|
"deprecation_message": null,
|
|
"metadata": {
|
|
"object_type": "api_wrapper_tool",
|
|
"version": "1.0.0",
|
|
"description": "Tools that enable LLMs to interact directly with the Stripe API."
|
|
},
|
|
"http_endpoint": {
|
|
"metadata": {
|
|
"object_type": "http_endpoint",
|
|
"version": "1.0.0",
|
|
"description": ""
|
|
},
|
|
"url": "https://api.stripe.com/v1/billing/credit_balance_transactions",
|
|
"http_method": "GET",
|
|
"headers": {},
|
|
"parameters": [
|
|
{
|
|
"name": "credit_grant",
|
|
"tool_parameter_name": "credit_grant_id",
|
|
"description": "The credit grant for which to fetch credit balance transactions.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The credit grant for which to fetch credit balance transactions."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "customer",
|
|
"tool_parameter_name": "customer_id",
|
|
"description": "The customer for which to fetch credit balance transactions.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "The customer for which to fetch credit balance transactions."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": true,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "ending_before",
|
|
"tool_parameter_name": "pagination_ending_cursor",
|
|
"description": "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.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "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."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "expand",
|
|
"tool_parameter_name": "fields_to_expand",
|
|
"description": "Specifies which fields in the response should be expanded.",
|
|
"value_schema": {
|
|
"val_type": "array",
|
|
"inner_val_type": "string",
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "Specifies which fields in the response should be expanded."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "limit",
|
|
"tool_parameter_name": "max_transactions_to_return",
|
|
"description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10.",
|
|
"value_schema": {
|
|
"val_type": "integer",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "A limit on the number of objects to be returned. Limit can range between 1 and 100, and the default is 10."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
},
|
|
{
|
|
"name": "starting_after",
|
|
"tool_parameter_name": "pagination_starting_after",
|
|
"description": "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.",
|
|
"value_schema": {
|
|
"val_type": "string",
|
|
"inner_val_type": null,
|
|
"enum": null,
|
|
"properties": null,
|
|
"inner_properties": null,
|
|
"description": "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."
|
|
},
|
|
"accepted_as": "query",
|
|
"required": false,
|
|
"deprecated": false,
|
|
"documentation_urls": []
|
|
}
|
|
],
|
|
"documentation_urls": [],
|
|
"secrets": [
|
|
{
|
|
"arcade_key": "STRIPE_API_KEY",
|
|
"parameter_name": "Authorization",
|
|
"accepted_as": "header",
|
|
"formatted_value": "Bearer {authorization}",
|
|
"description": "",
|
|
"is_auth_token": false
|
|
}
|
|
]
|
|
}
|
|
}
|