Home / Servers / Stripe API / post_test_helpers_issuing_authorizations

Create a test-mode authorization

An MCP tool from the Stripe API server, hosted on mcp.hjlabs.in.

Create a test-mode authorization [POST /v1/test_helpers/issuing/authorizations]

Name on the gateway: stripe_api__post_test_helpers_issuing_authorizations · may change things.

Parameters

NameTypeDescription
amountintegerThe total amount to attempt to authorize. This amount is in the provided…
amount_detailsobjectDetailed breakdown of amount components. These amounts are denominated in…
authorization_methodchip | contactless | keyed_in | online | swipeHow the card details were provided. Defaults to online.
card requiredstringCard associated with this authorization.
currencystringThe currency of the authorization. If not provided, defaults to the currency…
expandarraySpecifies which fields in the response should be expanded.
fleetobjectFleet-specific information for authorizations using Fleet cards.
fraud_disputability_likelihoodneutral | unknown | very_likely | very_unlikelyProbability that this transaction can be disputed in the event of fraud.…
fuelobjectInformation about fuel that was purchased with this transaction.
is_amount_controllablebooleanIf set true, you may provide amount to control how much to hold for the…
merchant_amountintegerThe total amount to attempt to authorize. This amount is in the provided…
merchant_currencystringThe currency of the authorization. If not provided, defaults to the currency…
merchant_dataobjectDetails about the seller (grocery store, e-commerce website, etc.) where the…
network_dataobjectDetails about the authorization, such as identifiers, set by the card network.
risk_assessmentobjectStripe’s assessment of the fraud risk for this authorization.
verification_dataobjectVerifications that Stripe performed on information that the cardholder…
walletapple_pay | google_pay | samsung_payThe digital wallet used for this transaction. One of apple_pay, google_pay, or…

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:

call_tool arguments
{
  "name": "stripe_api__post_test_helpers_issuing_authorizations",
  "arguments": {
    "card": "…"
  }
}

Or connect the Stripe API server directly, which lists 606 tools including this one:

Run in your terminal
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 create a test-mode authorization tool with amount set to ….

More from Stripe API