Skip to main content
POST
Configure a billing provider

Authorizations

token
string
query
required

Vida API Token

Query Parameters

targetAccountId
integer
required

Reseller or partner account whose billing provider configuration should be replaced.

Body

application/json
billingSystemType
enum<string>
required
Available options:
stripe
Example:

"stripe"

apiKey
string
required

Stripe secret API key.

Example:

"<stripe-secret-key>"

publishableKey
string
required

Stripe publishable key used for customer checkout.

Example:

"<stripe-publishable-key>"

webhookSigningKey
string
required

Signing secret for the reseller-specific Vida webhook endpoint.

Example:

"<stripe-webhook-signing-secret>"

Response

Billing provider configuration stored successfully.

success
boolean
Example:

true

message
string
Example:

"Success"