Skip to content
Website API / Integrations

Test an integration

POSThttps://<your Reveata origin>/api/v1/websites/{website}/integrations/{integrationId}/test

Calls the provider with the stored credentials and updates the integration status. At most 10 tests per integration every 10 minutes. Needs the admin role.

Related: List payment integrations in Integrations.

Try in playground

Request

Path parameters

websitestringrequired

Website id or domain, e.g. example.com

1–253 characters

integrationIdstringrequired

Pattern: ^[a-f0-9]{24}$

Headers

Authorizationstringrequired

Bearer followed by an account token or an OAuth access token with the settings:write scope.

Response

Whether the credentials work.

{
  "status": "string",
  "data": {
    "ok": true,
    "code": "invalid_credentials",
    "message": "string",
    "integration": {
      "id": "string",
      "siteId": "string",
      "provider": "stripe",
      "status": "pending",
      "externalAccountId": "string",
      "externalAccountName": "string",
      "lastSyncAt": "2026-01-01T00:00:00.000Z",
      "lastError": "string",
      "connectedBy": "string",
      "createdAt": "2026-01-01T00:00:00.000Z",
      "webhook": {
        "url": "string",
        "setup": "auto",
        "configured": true,
        "lastReceivedAt": "2026-01-01T00:00:00.000Z",
        "canRegister": true,
        "events": [],
        "lastDelivery": {
          "type": "string",
          "status": "processing",
          "error": "string",
          "receivedAt": "2026-01-01T00:00:00.000Z"
        }
      },
      "details": "string",
      "lastErrorAt": "2026-01-01T00:00:00.000Z",
      "stats": {
        "payments": 0,
        "lastPaymentAt": "2026-01-01T00:00:00.000Z"
      },
      "progress": {
        "phase": "string",
        "done": 0,
        "total": "string",
        "startedAt": "2026-01-01T00:00:00.000Z"
      }
    }
  }
}

Response fields

FieldTypeDescription
status"ok"
dataobject
data.okboolean
data.codestring | null | null
data.messagestring
data.integrationobject
data.integration.idstring
data.integration.siteIdstring
data.integration.providerstring
data.integration.statusstring
data.integration.externalAccountIdstring | null | null
data.integration.externalAccountNamestring | null | null
data.integration.lastSyncAtstring (date-time) | null | null
data.integration.lastErrorstring | null | null
data.integration.connectedBystring
data.integration.createdAtstring (date-time)
data.integration.webhookobject
data.integration.webhook.urlstring
data.integration.webhook.setupstring
data.integration.webhook.configuredboolean
data.integration.webhook.lastReceivedAtstring (date-time) | null | null
data.integration.webhook.canRegisterboolean
data.integration.webhook.eventsstring[]
data.integration.webhook.lastDeliveryobject | null | null
data.integration.webhook.lastDelivery.typestring
data.integration.webhook.lastDelivery.statusstring
data.integration.webhook.lastDelivery.errorstring | null | null
data.integration.webhook.lastDelivery.receivedAtstring (date-time)
data.integration.detailsobject<string, string | number | boolean>
data.integration.lastErrorAtstring (date-time) | null | null
data.integration.statsobject
data.integration.stats.paymentsinteger
data.integration.stats.lastPaymentAtstring (date-time) | null | null
data.integration.progressobject | null | null
data.integration.progress.phasestring
data.integration.progress.doneinteger
data.integration.progress.totalinteger | null | null
data.integration.progress.startedAtstring (date-time)