provider POST /v1/test_helpers/issuing/transactions/create_unlinked_refund
@utdk/stripe /v1/test_helpers/issuing/transactions/create_unlinked_refund
Create a test-mode unlinked refund
<p>Allows the user to refund an arbitrary amount, also known as a unlinked refund.</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.

posttesthelpersissuingtransactionscreateunlinkedrefund
POST/v1/test_helpers/issuing/transactions/create_unlinked_refund
<p>Allows the user to refund an arbitrary amount, also known as a unlinked refund.</p>

Input

required

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

required

Card associated with this unlinked refund transaction.

The currency of the unlinked refund. 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.

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

Additional purchase information that is optionally provided by the merchant.

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.posttesthelpersissuingtransactionscreateunlinkedrefund()