POST
/
api
/
v2
/
billing
/
billingSystemConfig
curl --request POST \
  --url https://api.vida.dev/api/v2/billing/billingSystemConfig \
  --header 'Content-Type: application/json' \
  --data '{
  "billingSystemType": "stripe",
  "apiKey": "somekey",
  "publishableKey": "somepublishablekey",
  "webhookSigningKey": "somewebhooksigningkey",
  "site": "vida",
  "webhookUsername": "someusername",
  "webhookPassword": "somepassword"
}'
{
  "success": true,
  "message": "Success"
}

Authorizations

token
string
query
required

Vida API Token

Body

application/json
billingSystemType
string
required

Type of billing system

Example:

"stripe"

apiKey
string

Required - API Key used for billing system access

Example:

"somekey"

publishableKey
string

Required - Publishable Key used for embeded checkouts

Example:

"somepublishablekey"

webhookSigningKey
string

Required for Stripe only - used for validating webhooks are signed by Stripe

Example:

"somewebhooksigningkey"

site
string

Required for Chargebee only - site (without chargebee.com) of your payment system

Example:

"vida"

webhookUsername
string

Required for Chargebee only - username for webhook authentication

Example:

"someusername"

webhookPassword
string

Required for Chargebee only - password for webhook authentication

Example:

"somepassword"

Response

200
application/json
Successfull response
success
boolean
Example:

true

message
string
Example:

"Success"