View Source Hyperswitch.Accounts (hyperswitch v0.1.0)

Link to this section Summary

Functions

Create a new account for a merchant and the merchant could be a seller or retailer or client who likes to receive and send payments.

To delete a merchant account.

Retrieve a merchant account details.

To update an existing merchant account. Helpful in updating merchant details such as email, contact details, or other configuration details like webhook, routing algorithm etc

Link to this section Types

@type account_id() :: binary()
Link to this type

create_account_params()

View Source
@type create_account_params() :: map()
Link to this type

create_account_response()

View Source
@type create_account_response() :: Hyperswitch.Client.response()
Link to this type

delete_account_response()

View Source
@type delete_account_response() :: Hyperswitch.Client.response()
@type get_accont_response() :: Hyperswitch.Client.response()
Link to this type

update_account_params()

View Source
@type update_account_params() :: map()
Link to this type

update_account_response()

View Source
@type update_account_response() :: Hyperswitch.Client.response()

Link to this section Functions

@spec create_account(create_account_params()) :: create_account_response()

Create a new account for a merchant and the merchant could be a seller or retailer or client who likes to receive and send payments.

Link to this function

delete_account(account_id)

View Source
@spec delete_account(account_id()) :: delete_account_response()

To delete a merchant account.

@spec get_account(account_id()) :: get_accont_response()

Retrieve a merchant account details.

Link to this function

update_account(account_id, body)

View Source
@spec update_account(account_id(), update_account_params()) ::
  update_account_response()

To update an existing merchant account. Helpful in updating merchant details such as email, contact details, or other configuration details like webhook, routing algorithm etc