Skip to main content
GET
/
v1
/
sdk
/
platform-config
Get environment-aware platform config for the authenticated provider
curl --request GET \
  --url https://api.example.com/v1/sdk/platform-config
{
  "stripePublishableKey": "pk_test_..."
}

Response

200 - application/json

Platform config

stripePublishableKey
string

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_..."