provider POST /v1/payment_records/report_payment
@utdk/stripe /v1/payment_records/report_payment
Report a payment
<p>Report a new Payment Record. You may report a Payment Record as it is initialized and later report updates through the other report_* methods, or report Payment Records in a terminal state directly, through this method.</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.

postpaymentrecordsreportpayment
POST/v1/payment_records/report_payment
<p>Report a new Payment Record. You may report a Payment Record as it is initialized and later report updates through the other report_* methods, or report Payment Records in a terminal state directly, through this method.</p>

Input

required

The amount you initially requested for this payment.

Customer information for this payment.

Indicates whether the customer was present in your checkout flow during this payment.

An arbitrary string attached to the object. Often useful for displaying to users.

Specifies which fields in the response should be expanded.

Information about the payment attempt failure.

Information about the payment attempt guarantee.

required

When the reported payment was initiated. Measured in seconds since the Unix epoch.

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`.

The outcome of the reported payment.

required

Information about the Payment Method debited for this payment.

Processor information for this payment.

Shipping information for this payment.

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