View Source Hyperswitch.Customers (hyperswitch v0.1.0)
Link to this section Summary
Functions
Create a customer object and store the customer details to be reused for future payments. Incase the customer already exists in the system, this API will respond with the customer details.
Delete a customer record.
Retrieve a customer's details.
Updates the customer's details in a customer object.
Link to this section Types
@type create_customer_params() :: map()
@type create_customer_response() :: Hyperswitch.Client.response()
@type customer_id() :: binary()
@type delete_customer_response() :: Hyperswitch.Client.response()
@type get_customer_response() :: Hyperswitch.Client.response()
@type update_customer_params() :: map()
@type update_customer_response() :: Hyperswitch.Client.response()
Link to this section Functions
@spec create_customer(create_customer_params()) :: create_customer_response()
Create a customer object and store the customer details to be reused for future payments. Incase the customer already exists in the system, this API will respond with the customer details.
@spec delete_customer(customer_id()) :: delete_customer_response()
Delete a customer record.
@spec get_customer(customer_id()) :: get_customer_response()
Retrieve a customer's details.
@spec update_customer(customer_id(), create_customer_params()) :: update_customer_response()
Updates the customer's details in a customer object.