provider POST /v1/payment_intents/{intent}/apply_customer_balance
@utdk/stripe /v1/payment_intents/{intent}/apply_customer_balance
Reconcile a customer_balance PaymentIntent
<p>Manually reconcile the remaining amount for a <code>customer_balance</code> PaymentIntent.</p>
intent path required
string

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.

postpaymentintentsintentapplycustomerbalance
POST/v1/payment_intents/{intent}/apply_customer_balance
<p>Manually reconcile the remaining amount for a <code>customer_balance</code> PaymentIntent.</p>

Parameters

required

Input

Amount that you intend to apply to this PaymentIntent from the customer’s cash balance. If the PaymentIntent was created by an Invoice, the full amount of the PaymentIntent is applied regardless of this parameter. A positive integer representing how much to charge in the [smallest currency unit](https://docs.stripe.com/currencies#zero-decimal) (for example, 100 cents to charge 1 USD or 100 to charge 100 JPY, a zero-decimal currency). The maximum amount is the amount of the PaymentIntent. When you omit the amount, it defaults to the remaining amount requested on the PaymentIntent.

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.

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