SDK
createCheckout
Function from @cognitivx/api-client
createCheckout
Kind: Function
Source: packages/api-client/src/endpoints/orgs.ts:160
Generated from the TypeScript source for @cognitivx/api-client.
Signature
createCheckout(id, body)Parameters
[
{
"name": "id",
"type": {
"type": "intrinsic",
"name": "string"
},
"summary": ""
},
{
"name": "body",
"type": {
"type": "reflection",
"declaration": {
"id": 553,
"name": "__type",
"variant": "declaration",
"kind": 65536,
"flags": {},
"children": [
{
"id": 555,
"name": "interval",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/api-client/src/endpoints/orgs.ts",
"line": 162,
"character": 25,
"url": "https://github.com/ParsaBarati/CognitiveX/blob/1090be99c91b488bd57bc6c8e9230d568d32dad0/packages/api-client/src/endpoints/orgs.ts#L162"
}
],
"type": {
"type": "union",
"types": [
{
"type": "literal",
"value": "monthly"
},
{
"type": "literal",
"value": "annual"
}
]
}
},
{
"id": 554,
"name": "seats",
"variant": "declaration",
"kind": 1024,
"flags": {},
"sources": [
{
"fileName": "packages/api-client/src/endpoints/orgs.ts",
"line": 162,
"character": 10,
"url": "https://github.com/ParsaBarati/CognitiveX/blob/1090be99c91b488bd57bc6c8e9230d568d32dad0/packages/api-client/src/endpoints/orgs.ts#L162"
}
],
"type": {
"type": "intrinsic",
"name": "number"
}
}
],
"groups": [
{
"title": "Properties",
"children": [
555,
554
]
}
]
}
},
"summary": ""
}
]TypeDoc reflection
{
"name": "createCheckout",
"kind": "Function",
"source": "packages/api-client/src/endpoints/orgs.ts:160"
}