Noah Api
API class for the Noah on/off-ramp integration.
Wraps the api/v3/clients/me/integrations/noah endpoint family. Each suspend fun builds the URL, JSON-encodes the request body via Gson, calls the underlying PortalRequests transport, and decodes the response into the matching NoahXxxResponse data class. Transport failures surface in the returned Result as thrown by PortalRequests:
HTTP 400 → io.portalhq.android.exceptions.PortalException.Api.HttpBadRequest
HTTP 401 → io.portalhq.android.exceptions.PortalException.Api.HttpUnauthorized
other 4xx/5xx → io.portalhq.android.exceptions.PortalException.Api.HttpRequestFailed
network/IO failures → raw java.io.IOException
Parameters
The base URL of the API server (e.g. "https://api.portalhq.io").
The API key used for authentication (sent as a bearer token).
An instance of PortalRequests to handle HTTP requests.
Functions
Retrieves the saved payment methods available to the current customer for payouts.
Retrieves the input form schema for a specific payout channel.
Retrieves the list of payout channels available given a country / currency / amount tuple.
Retrieves the list of supported payout countries (and supported fiat currencies per country).
Requests a payout quote (price + fees) for a given channel and amount.
Initiates a hosted KYC flow for the current customer.
Initiates a fiat -> crypto payin and returns the bank instructions the user should fund.
Initiates a payout and returns the on-chain trigger conditions the resulting transaction must satisfy.
Simulates a fiat deposit landing for a payin in sandbox / test environments.