Cancel a payment method setup
Cancels a setup still waiting on the buyer (requiresPaymentMethod or requiresAction), so its client secret can’t be used. Fails with status_conflict from any other status. {paymentMethodSetup} takes the setup’s pmset_ ID.
Authentication
Path parameters
The setup’s pmset_ ID.
Headers
This endpoint is in the payments=v1 beta. Send this header to use it.
Response
The type of object. Always paymentMethodSetup.
The customer the card is being added to, always as its cus_ ID.
Set when status is failed.
true for an object on a live account, false on a test account.
String key-value pairs of your own, up to 500 characters per value. Always updatable.
Set while status is requiresPaymentMethod or requiresAction, otherwise null.
The pm_ payment method, set as soon as the setup succeeds: in that response when Paid confirmed it, otherwise by the paymentMethodSetup.succeeded event.
requiresPaymentMethod: waiting for the card form. requiresAction: waiting for the buyer (3-D Secure). processing: the card network is still answering; it settles on its own, usually within seconds, and can’t be canceled. succeeded, failed and canceled are final. Expect new values.
What the setup collects: a card, or a usBankAccount the buyer links through the processor and authorises Paid to debit. Expect new values.