Home / Servers / Stripe API / get_credit_notes_preview
Preview a credit note
An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.
Preview a credit note Get a preview of a credit note without creating it. [GET /v1/credit_notes/preview]
Name on the gateway: stripe_api__get_credit_notes_preview · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
amount | integer | The integer amount in cents (or local equivalent) representing the total… |
credit_amount | integer | The integer amount in cents (or local equivalent) representing the amount to… |
effective_at | integer | The date when this credit note is in effect. Same as created unless… |
email_type | credit_note | none | Type of email to send to the customer, one of credit_note or none and the… |
expand | array | Specifies which fields in the response should be expanded. |
invoice required | string | ID of the invoice. |
lines | array | Line items that make up the credit note. One of amount, lines, or… |
memo | string | The credit note's memo appears on the credit note PDF. |
metadata | object | Set of key-value pairs that you can attach to an object. This can be useful… |
out_of_band_amount | integer | The integer amount in cents (or local equivalent) representing the amount that… |
reason | duplicate | fraudulent | order_change | product_unsatisfactory | Reason for issuing this credit note, one of duplicate, fraudulent… |
refund_amount | integer | The integer amount in cents (or local equivalent) representing the amount to… |
refunds | array | Refunds to link to this credit note. |
shipping_cost | object | When shipping_cost contains the shipping_rate from the invoice, the… |
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_credit_notes_preview",
"arguments": {
"invoice": "…"
}
}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 preview a credit note tool with amount set to ….