Get billing provider configuration
Returns the configured Stripe or Chargebee provider for the selected reseller or partner account. Credential values are redacted and are display-only; do not submit them in an update request.
OpenAPI
````yaml get /api/v2/billing/billingSystemConfig
openapi: 3.0.0
info:
version: 2.0.0
title: GetVoiceBot API
description: GetVoiceBot API Documentation
servers:
- url: https://api.getvoicebot.com
description: GetVoiceBot Production
variables:
baseUrl:
default: api.getvoicebot.com
description: Production API Root
security: []
tags:
- name: Agents
- name: Inbound Email
description: Control which senders may create inbound email work for an Agent.
- name: Features
description: Inspect capabilities available within an account hierarchy.
- name: Conversation Logs
description: Query conversation activity and calculate account-level metrics.
- name: Computer Agents
description: Set up, configure, inspect, and manage GetVoiceBot Computer Agents.
- name: Computer Agent Sessions
description: View and reset Computer Agent sessions.
- name: Accounts
- name: Agent Templates
description: Create, manage, and apply reusable Agent configurations.
paths:
/api/v2/billing/billingSystemConfig:
get:
tags:
- Billing
summary: Get billing provider configuration
description: >-
Returns the configured Stripe or Chargebee provider for the selected
reseller or partner account. Credential values are redacted and are
display-only; do not submit them in an update request.
parameters:
- name: targetAccountId
in: query
description: >-
Reseller or partner account whose billing provider configuration
should be returned.
required: true
schema:
type: integer
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
message:
type: string
example: Billing system configuration fetched successfully
billingConfig:
type: object
properties:
billingSystemType:
type: string
enum:
- stripe
- chargebee
example: stripe
apiKey:
type: string
description: Redacted provider API key.
example: sk_liXXXXXXXXXXXXXX12345
publishableKey:
type: string
description: Redacted provider publishable key.
example: pk_liXXXXXXXXXXXXXX12345
webhookSigningKey:
type: string
description: >-
Redacted Stripe webhook signing secret when Stripe is
configured.
example: whsecXXXXXXXXXXXXXX12345
site:
type: string
description: Chargebee site name when Chargebee is configured.
example: acme
webhookUsername:
type: string
description: >-
Chargebee webhook basic-auth username when Chargebee
is configured.
example: gvb-webhooks
webhookPassword:
type: string
description: >-
Redacted Chargebee webhook password when Chargebee is
configured.
example: passXXXXXXXXX12345
'401':
description: Authentication is required.
'403':
description: The requester cannot manage billing for the selected account.
'404':
description: No billing provider is configured for the selected account.
security:
- apiKeyAuth: []
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: query
name: token
description: GetVoiceBot API Token
````
