Payment Method Endpoints
Defines every HTTP endpoint used by PaymentMethodsAPI.
Each case encapsulates the path parameters required to construct the endpoint URL, the HTTP method, and any query string items. Merchants interact with these indirectly through PaymentMethodsAPI and do not need to instantiate cases directly.
Inheritors
Types
Attaches a payment method to a customer or merchant account.
Blocks a payment method, preventing it from being used for new transactions.
Creates an ACH payment method by exchanging a Plaid public token for a connected bank account.
Creates a new payment method (card, ACH, or Google Pay).
Detaches a payment method from its associated customer or account.
Fetches a paginated list of all payment methods.
Fetches all payment methods associated with a specific merchant account.
Fetches all payment methods associated with a specific customer.
Fetches a single payment method by its unique identifier.
Unblocks a previously blocked payment method, restoring its ability to be used for transactions.
Updates mutable fields on an existing payment method.
Properties
The fully qualified URL string for this endpoint.
HTTP method, e.g. "GET", "POST", "DELETE".
Optional query-string parameters appended to endpointURL.