Mollie.Organizations (mollie v0.6.2)
Retrieve organization info. You can only retrieve organizations that the authenticated organization is connected to.
Link to this section Summary
Functions
Retrieve an organization by its ID.
Retrieve all organizations that are connected to your partner-account. This API is only for partners.
Retrieve the currently authenticated organization.
Link to this section Functions
Link to this function
find(client, id)
Specs
find(Mollie.Client.t(), binary()) :: Mollie.response()
Retrieve an organization by its ID.
Example
Mollie.Organizations.find client, "org_12345678"
More info at: https://docs.mollie.com/reference/v2/organizations-api/get-organization
Link to this function
list(client, params \\ %{})
Specs
list(Mollie.Client.t(), map() | list()) :: Mollie.response()
Retrieve all organizations that are connected to your partner-account. This API is only for partners.
Example
Mollie.Organizations.list client
More info at: https://docs.mollie.com/reference/v2/organizations-api/list-organizations
Link to this function
me(client)
Specs
me(Mollie.Client.t()) :: Mollie.response()
Retrieve the currently authenticated organization.
Example
Mollie.Organizations.me client
More info at: https://docs.mollie.com/reference/v2/organizations-api/current-organization