provider POST
/v1/payment_methods/{payment_method}/detach @utdk/stripe
/v1/payment_methods/{payment_method}/detach Detach a PaymentMethod from a Customer
<p>Detaches a PaymentMethod object from a Customer. After a PaymentMethod is detached, it can no longer be used for a payment or re-attached to a Customer.</p>
- payment_method 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.
Code snippet
Updates live as you fill in the form above.
TypeScript
import stripe from '@utdk/stripe';
await stripe.postpaymentmethodspaymentmethoddetach()