provider POST /v1/test_helpers/issuing/authorizations
@utdk/stripe /v1/test_helpers/issuing/authorizations
Create a test-mode authorization
<p>Create a test-mode authorization.</p>

Try it

Authentication
Configure credentials for Stripe API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

posttesthelpersissuingauthorizations
POST/v1/test_helpers/issuing/authorizations
<p>Create a test-mode authorization.</p>

Input

The total amount to attempt to authorize. This amount is in the provided currency, or defaults to the card's currency, and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).

Detailed breakdown of amount components. These amounts are denominated in `currency` and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).

How the card details were provided. Defaults to online.

required

Card associated with this authorization.

The currency of the authorization. If not provided, defaults to the currency of the card. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).

Specifies which fields in the response should be expanded.

Fleet-specific information for authorizations using Fleet cards.

Probability that this transaction can be disputed in the event of fraud. Assessed by comparing the characteristics of the authorization to card network rules.

Information about fuel that was purchased with this transaction.

If set `true`, you may provide [amount](https://docs.stripe.com/api/issuing/authorizations/approve#approve_issuing_authorization-amount) to control how much to hold for the authorization.

The total amount to attempt to authorize. This amount is in the provided merchant currency, and in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal).

The currency of the authorization. If not provided, defaults to the currency of the card. Three-letter [ISO currency code](https://www.iso.org/iso-4217-currency-codes.html), in lowercase. Must be a [supported currency](https://stripe.com/docs/currencies).

Details about the seller (grocery store, e-commerce website, etc.) where the card authorization happened.

Details about the authorization, such as identifiers, set by the card network.

Stripe’s assessment of the fraud risk for this authorization.

Verifications that Stripe performed on information that the cardholder provided to the merchant.

The digital wallet used for this transaction. One of `apple_pay`, `google_pay`, or `samsung_pay`. Will populate as `null` when no digital wallet was utilized.

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import stripe from '@utdk/stripe';

await stripe.posttesthelpersissuingauthorizations()