View Source Hyperswitch.PaymentMethods (hyperswitch v0.1.0)
Link to this section Summary
Functions
To create a payment method against a customer object. In case of cards, this API could be used only by PCI compliant merchants.
Delete payment method.
To retrieve a payment method.
To filter and list the applicable payment methods for a particular Merchant ID or Customer ID.
To update an existing payment method attached to a customer object. This API is useful for use cases such as updating the card number for expired cards to prevent discontinuity in recurring payments.
Link to this section Types
@type account_or_customer_id() :: Hyperswitch.Accounts.account_id() | Hyperswitch.Customers.customer_id()
@type create_method_params() :: map()
@type create_method_response() :: Hyperswitch.Client.response()
@type delete_method_response() :: Hyperswitch.Client.response()
@type get_method_response() :: Hyperswitch.Client.response()
@type method_id() :: binary()
@type update_method_params() :: map()
@type update_method_response() :: Hyperswitch.Client.response()
Link to this section Functions
@spec create_method(create_method_params()) :: create_method_response()
To create a payment method against a customer object. In case of cards, this API could be used only by PCI compliant merchants.
@spec delete_method(method_id()) :: delete_method_response()
Delete payment method.
@spec get_method(method_id()) :: get_method_response()
To retrieve a payment method.
@spec get_method( account_or_customer_id(), keyword() ) :: get_method_response()
To filter and list the applicable payment methods for a particular Merchant ID or Customer ID.
@spec update_method(method_id(), create_method_params()) :: update_method_response()
To update an existing payment method attached to a customer object. This API is useful for use cases such as updating the card number for expired cards to prevent discontinuity in recurring payments.