v20

latestOpenAPI 3.0.0raw.githubusercontent.com2026-07-214885191.3 KB
Platform Config

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).

get/v1/sdk/platform-config

Response

Platform config

stripePublishableKeystring

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 response

{
  "stripePublishableKey": "pk_test_..."
}