Test an integration
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.
Request
Path parameters
websitestringrequiredWebsite id or domain, e.g. example.com
1–253 characters
integrationIdstringrequiredPattern: ^[a-f0-9]{24}$
Headers
AuthorizationstringrequiredBearer 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
| Field | Type | Description |
|---|---|---|
| status | "ok" | |
| data | object | |
| data.ok | boolean | |
| data.code | string | null | null | |
| data.message | string | |
| data.integration | object | |
| data.integration.id | string | |
| data.integration.siteId | string | |
| data.integration.provider | string | |
| data.integration.status | string | |
| data.integration.externalAccountId | string | null | null | |
| data.integration.externalAccountName | string | null | null | |
| data.integration.lastSyncAt | string (date-time) | null | null | |
| data.integration.lastError | string | null | null | |
| data.integration.connectedBy | string | |
| data.integration.createdAt | string (date-time) | |
| data.integration.webhook | object | |
| data.integration.webhook.url | string | |
| data.integration.webhook.setup | string | |
| data.integration.webhook.configured | boolean | |
| data.integration.webhook.lastReceivedAt | string (date-time) | null | null | |
| data.integration.webhook.canRegister | boolean | |
| data.integration.webhook.events | string[] | |
| data.integration.webhook.lastDelivery | object | null | null | |
| data.integration.webhook.lastDelivery.type | string | |
| data.integration.webhook.lastDelivery.status | string | |
| data.integration.webhook.lastDelivery.error | string | null | null | |
| data.integration.webhook.lastDelivery.receivedAt | string (date-time) | |
| data.integration.details | object<string, string | number | boolean> | |
| data.integration.lastErrorAt | string (date-time) | null | null | |
| data.integration.stats | object | |
| data.integration.stats.payments | integer | |
| data.integration.stats.lastPaymentAt | string (date-time) | null | null | |
| data.integration.progress | object | null | null | |
| data.integration.progress.phase | string | |
| data.integration.progress.done | integer | |
| data.integration.progress.total | integer | null | null | |
| data.integration.progress.startedAt | string (date-time) |