> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solvapay.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get environment-aware platform config for the authenticated provider

> Returns browser-safe platform values resolved against the provider environment. Today: the SolvaPay platform Stripe publishable key. This endpoint is the canonical home for future platform-wide, environment-gated SDK config (API version hints, feature flags, public hosted URLs) — additions land here instead of bloating /sdk/merchant (strictly provider identity) or /sdk/payment-intents (runs too late for pre-intent UI decisions).



## OpenAPI

````yaml /api-reference/openapi.json get /v1/sdk/platform-config
openapi: 3.0.0
info:
  contact: {}
  description: The SolvaPay REST API specification
  title: SolvaPay REST API
  version: '1.0'
servers: []
security: []
tags: []
paths:
  /v1/sdk/platform-config:
    get:
      tags:
        - Platform Config
      summary: Get environment-aware platform config for the authenticated provider
      description: >-
        Returns browser-safe platform values resolved against the provider
        environment. Today: the SolvaPay platform Stripe publishable key. This
        endpoint is the canonical home for future platform-wide,
        environment-gated SDK config (API version hints, feature flags, public
        hosted URLs) — additions land here instead of bloating /sdk/merchant
        (strictly provider identity) or /sdk/payment-intents (runs too late for
        pre-intent UI decisions).
      operationId: getPlatformConfig
      parameters: []
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SdkPlatformConfigResponseDto'
          description: Platform config
      security:
        - SecretKey: []
components:
  schemas:
    SdkPlatformConfigResponseDto:
      properties:
        stripePublishableKey:
          description: >-
            SolvaPay's platform Stripe publishable key for the authenticated
            provider's environment. Safe to expose browser-side; paired with the
            connected `accountId` returned from `create-payment-intent` for
            Stripe Connect direct charges. Omitted when not configured so
            callers can fall back cleanly to a hosted flow.
          example: pk_test_...
          type: string
      type: object
  securitySchemes:
    SecretKey:
      bearerFormat: JWT
      description: >-
        Provider secret API key (sk_live_… / sk_test_…) supplied as a Bearer
        token.
      scheme: bearer
      type: http

````