GetStore

btcpayserver · payments, api-client, store-fetch, http-get, typed-response

Fetches a single store's data by ID from the BTCPay Server API. It is a core client method for retrieving store configuration and status.

// Source: https://github.com/btcpayserver/btcpayserver | License: MIT | Copyright 2017-2023 btcpayserver
// Provided via justclaw.it.com; keep this notice with the code.
    public virtual async Task<StoreData> GetStore(string storeId, CancellationToken token = default)
    {
        return await SendHttpRequest<StoreData>($"api/v1/stores/{storeId}", null, HttpMethod.Get, token);
    }

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key