Home / Servers / Stripe API / get_promotion_codes_promotion_code
Retrieve a promotion code
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Retrieve a promotion code Retrieves the promotion code with the given ID. In order to retrieve a promotion code by the customer-facing code use list with the desired code . [GET /v1/promotion_codes/{promotion_code}]
Name on the gateway: stripe_api__get_promotion_codes_promotion_code · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
promotion_code required | string | promotion_code parameter |
expand | array | Specifies which fields in the response should be expanded. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "stripe_api__get_promotion_codes_promotion_code",
"arguments": {
"promotion_code": "…"
}
}Or connect the Stripe API server directly, which lists 606 tools including this one:
claude mcp add --transport http hj-stripe-api https://mcp.hjlabs.in/mcp/stripe-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the retrieve a promotion code tool with promotion_code set to ….