Skip to main content

Billing API

SaaSus Billing API Schema (1.0.0)

SaaSus Billing API Schema

stripe

Stripe Resource Operations

Get Stripe Connection information

Get information on connnections with external billing SaaS. Currently possible to integrate with Stripe. Without integration, you will need to implement billing using the SaaSus SDK/API.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "is_registered": true
}

Update Stripe Connection Info

Updates information on connection with external billing SaaS. Currently possible to connect to Stripe.

Authorizations:
Bearer
Request Body schema: application/json
secret_key
required
string

secret key

Responses

Request samples

Content type
application/json
{
  • "secret_key": "sk_test_09l3shTSTKHYCzzZZsiLl2vA"
}

Response samples

Content type
application/json
{
  • "type": "string",
  • "message": "string"
}

Delete Stripe Connection

Delete connection with external billing SaaS

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "type": "string",
  • "message": "string"
}

error

Testing Purpose Error

Return Internal Server Error

This endpoint is used for testing purposes. Returns a server error with status code 500.

Authorizations:
Bearer

Responses

Response samples

Content type
application/json
{
  • "type": "string",
  • "message": "string"
}