Everstack

Activation callback from cloud (called by cloud after successful payment)

POST/v1/gateway/activation-callback
POST/v1/gateway/activation-callback

Your instance endpoint, shown on the instance page in the dashboard. Each instance has its own host; there is no shared API host.

Request Body

PropertyTypeRequiredDescription
signedPayloadstringNo
callbackSecretstringNo

Responses

200 A successful response.

PropertyTypeDescription
successboolean
instanceIdstring
planTierstring
messagestring

default An unexpected error response.

PropertyTypeDescription
codeinteger
messagestring
detailsobject[]

Request

curl -X POST "http://localhost:8089/v1/gateway/activation-callback" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"signedPayload":"string","callbackSecret":"string"}'
const response = await fetch("http://localhost:8089/v1/gateway/activation-callback", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
  "signedPayload": "string",
  "callbackSecret": "string"
}),
});
const data = await response.json();
import requests

response = requests.post(
    "http://localhost:8089/v1/gateway/activation-callback",
    headers={
        "Authorization": "Bearer YOUR_API_KEY",
        "Content-Type": "application/json",
    },
    json={
  "signedPayload": "string",
  "callbackSecret": "string"
},
)
data = response.json()

Response

{
  "success": true,
  "instanceId": "string",
  "planTier": "string",
  "message": "string"
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string"
    }
  ]
}