The Mercury Organization API — the org tied to the API token, and partner onboarding.
Summary
Functions
Returns the organisation associated with the API token. GET /organisation
Submits pre-fill data for a new Mercury applicant (partner integration
flows). data may be any JSON-serializable map. POST /onboarding
Functions
@spec get(client :: Mercury.Client.t()) :: {:ok, Mercury.OrganizationInfo.t()} | {:error, Exception.t()}
Returns the organisation associated with the API token. GET /organisation
@spec get!(client :: Mercury.Client.t()) :: Mercury.OrganizationInfo.t()
@spec submit_onboarding(client :: Mercury.Client.t(), data :: map()) :: :ok | {:error, Exception.t()}
Submits pre-fill data for a new Mercury applicant (partner integration
flows). data may be any JSON-serializable map. POST /onboarding
@spec submit_onboarding!(client :: Mercury.Client.t(), data :: map()) :: :ok