libs/billing-api-client/src/docs/CheckoutUrlApi.md
All URIs are relative to http://localhost:6100
| Method | HTTP request | Description |
|---|---|---|
| getCheckoutUrl | GET /organization/{organizationId}/checkout-url | Get organization checkout url |
| getV2CheckoutURL | GET /v2/organization/{organizationId}/checkout-url | Get organization checkout url |
string getCheckoutUrl()
Get organization checkout url
import {
CheckoutUrlApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new CheckoutUrlApi(configuration);
let organizationId: string; //Organization ID (default to undefined)
const { status, data } = await apiInstance.getCheckoutUrl(
organizationId
);
| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | [string] | Organization ID | defaults to undefined |
string
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string getV2CheckoutURL()
Get organization checkout url from v2 billing
import {
CheckoutUrlApi,
Configuration
} from './api';
const configuration = new Configuration();
const apiInstance = new CheckoutUrlApi(configuration);
let organizationId: string; //Organization ID (default to undefined)
const { status, data } = await apiInstance.getV2CheckoutURL(
organizationId
);
| Name | Type | Description | Notes |
|---|---|---|---|
| organizationId | [string] | Organization ID | defaults to undefined |
string
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]