curl --request POST \
--url https://api.gigstack.io/v2/teams/{id}/integrations/stripe/standard-accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expected_generation": 4503599627370495,
"livemode": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
operation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
expected_generation: 4503599627370495,
livemode: true
})
};
fetch('https://api.gigstack.io/v2/teams/{id}/integrations/stripe/standard-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gigstack.io/v2/teams/{id}/integrations/stripe/standard-accounts"
payload = {
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expected_generation": 4503599627370495,
"livemode": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"team_id": "<string>",
"billing_account_id": "<string>",
"requester": {
"credential_kind": "firebase",
"source_team_id": "<string>",
"credential_id": "<string>",
"person_id": "<string>"
},
"method": "oauth",
"livemode": true,
"expected_generation": 4503599627370495,
"generation": 4503599627370495,
"status": "pending",
"created_at": 4503599627370495,
"expires_at": 4503599627370495,
"updated_at": 4503599627370495,
"steps": {
"oauth_exchange": {
"status": "not_started",
"remote_id": "<string>"
},
"account_verification": {
"status": "not_started",
"remote_id": "<string>"
},
"manual_webhook": {
"status": "not_started",
"remote_id": "<string>"
},
"connect_webhook": {
"status": "not_started",
"remote_id": "<string>"
},
"transfer_webhook": {
"status": "not_started",
"remote_id": "<string>"
},
"credential_commit": {
"status": "not_started",
"remote_id": "<string>"
},
"account_onboarding_link": {
"status": "not_started",
"remote_id": "<string>"
},
"platform_account_create": {
"status": "not_started",
"remote_id": "<string>"
}
},
"provider_revocation": "not_performed",
"provider_webhook_removal": "not_performed",
"browser_handoff_url": "<string>",
"provider_account_id": "<string>"
},
"timestamp": 4503599627370495,
"message": "<string>"
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}Create a Standard Stripe account
Creates one selected-mode Standard account with the current team email and team ID. Save operation UUID before transport. Current original machine grant or personal editor; historical key creator is never impersonated. Returns safe account ID and browser handoff, never a provider account object or onboarding URL. Unknown provider results require read-only UUID reconciliation and never automatic account creation replay. Creating the account does not establish onboarding or charges activation.
curl --request POST \
--url https://api.gigstack.io/v2/teams/{id}/integrations/stripe/standard-accounts \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expected_generation": 4503599627370495,
"livemode": true
}
'const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
operation_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
expected_generation: 4503599627370495,
livemode: true
})
};
fetch('https://api.gigstack.io/v2/teams/{id}/integrations/stripe/standard-accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.gigstack.io/v2/teams/{id}/integrations/stripe/standard-accounts"
payload = {
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expected_generation": 4503599627370495,
"livemode": True
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"success": true,
"data": {
"operation_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"team_id": "<string>",
"billing_account_id": "<string>",
"requester": {
"credential_kind": "firebase",
"source_team_id": "<string>",
"credential_id": "<string>",
"person_id": "<string>"
},
"method": "oauth",
"livemode": true,
"expected_generation": 4503599627370495,
"generation": 4503599627370495,
"status": "pending",
"created_at": 4503599627370495,
"expires_at": 4503599627370495,
"updated_at": 4503599627370495,
"steps": {
"oauth_exchange": {
"status": "not_started",
"remote_id": "<string>"
},
"account_verification": {
"status": "not_started",
"remote_id": "<string>"
},
"manual_webhook": {
"status": "not_started",
"remote_id": "<string>"
},
"connect_webhook": {
"status": "not_started",
"remote_id": "<string>"
},
"transfer_webhook": {
"status": "not_started",
"remote_id": "<string>"
},
"credential_commit": {
"status": "not_started",
"remote_id": "<string>"
},
"account_onboarding_link": {
"status": "not_started",
"remote_id": "<string>"
},
"platform_account_create": {
"status": "not_started",
"remote_id": "<string>"
}
},
"provider_revocation": "not_performed",
"provider_webhook_removal": "not_performed",
"browser_handoff_url": "<string>",
"provider_account_id": "<string>"
},
"timestamp": 4503599627370495,
"message": "<string>"
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}{
"success": false,
"error": {
"code": "validation_failed",
"message": "Request validation failed",
"details": [
"currency: Field is required"
]
},
"timestamp": 1767225600000
}Authorizations
Authentication Method: HTTP Bearer token.
The runtime requires the literal Bearer prefix — a bare token in the
Authorization header is rejected with 401 unauthorized.
Header Format: Authorization: Bearer YOUR_API_KEY
Your API key is a JWT. Live keys operate on live data (livemode: true);
test keys operate on isolated test data (livemode: false).
Get your key at: app.gigstack.pro/settings?tab=api
Errors: credential failures are answered by the authentication layer with a raw
{ "message": … } body, not the standardized envelope — 401 for a missing, malformed or
expired token, 403 for a revoked key or a plan without API access. See the Unauthorized
and AuthForbidden responses.
Path Parameters
^[A-Za-z0-9_-]{1,128}$