Transfer Trial Credit
POST
/organizations/{slug}/transfer-trial-credit
const url = 'https://api.mengi.cloud/organizations/example/transfer-trial-credit';const options = {method: 'POST'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.mengi.cloud/organizations/example/transfer-trial-creditMove the caller’s remaining personal trial credit to this organization.
Campaign (QR) trial credit lands on the personal account; this lets an ADMIN/OWNER of a team organization bring it along. Refused (409) when the organization already has trial credit or a payment method, or when the personal workspace still owns billable resources.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”slug
required
Slug
string
Responses
Section titled “Responses”Successful Response
Media typeapplication/json
Examplegenerated
exampleValidation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}