provider POST /v1/forwarding/requests
@utdk/stripe /v1/forwarding/requests
Create a ForwardingRequest
<p>Creates a ForwardingRequest object.</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.

postforwardingrequests
POST/v1/forwarding/requests
<p>Creates a ForwardingRequest object.</p>

Input

Specifies which fields in the response should be expanded.

Set of [key-value pairs](https://docs.stripe.com/api/metadata) that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to `metadata`.

required

The PaymentMethod to insert into the forwarded request. Forwarding previously consumed PaymentMethods is allowed.

required

The field kinds to be replaced in the forwarded request.

The request body and headers to be sent to the destination endpoint.

required

The destination URL for the forwarded request. Must be supported by the config.

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