# checkTestPurchase

Source: <https://telegafirst.com/docs/api-op-checktestpurchase>
Locale: ru
releaseGitSha: 0bb11ef116e17ec64c802d5476eaff442e53d252
sourceContentDigest: f00d9569c296f2b52f0d2b3b311b6db844d346fc13ceb9478dd8ef46fdd0fa4d
Version: 8

# checkTestPurchase

`GET /api/v1/tools/onboarding/quest-purchase/check`

checkTestPurchase

## Авторизация и права

Scopes: ALL. Auth alternatives: OR; scopes внутри альтернативы: ALL.

| Поле | Значение |
| - | - |
| security.0.hubApiKey | \[] |
| security.1.hubBearer | \[] |
| securitySchemes.hubApiKey.in | "header" |
| securitySchemes.hubApiKey.name | "X-Api-Key" |
| securitySchemes.hubApiKey.type | "apiKey" |
| securitySchemes.hubBearer.scheme | "bearer" |
| securitySchemes.hubBearer.type | "http" |
| x-required-scopes | \["onboarding:read"] |

## Параметры запроса

| Поле | Значение |
| - | - |
| Параметры | \[] |

## Тело запроса

| Поле | Значение |
| - | - |
| Тело запроса | null |

## Ответы

| Поле | Значение |
| - | - |
| 200.content.application/json.schema | [200.content.application/json.schema](https://telegafirst.com/docs/schema-bb468412aac0397b343c2c6885df8ea5ff7ee2e066b590f7722b2135a8d055e4) |
| 200.description | "Confirmed selected-business state and next action." |

## Ошибки

| Поле | Значение |
| - | - |
| 401.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 401.description | "Authentication required." |
| 403.content.application/problem+json.schema | [ProblemDetails](https://telegafirst.com/docs/schema-c4113f3de00d728702a8663612e2074cbe3e8b3bb70d2b0dee6f3503fe89bd41) |
| 403.description | "Operation is not permitted." |

## Дополнительные условия

| Поле | Значение |
| - | - |
| description | "Reads the two purchase facts. When both hold, it records the derived, idempotent passed-test step (a repeat call writes nothing new); while an earlier onboarding step is missing or the business is closed it writes nothing and answers completed false." |
| operationId | "checkTestPurchase" |
| tags | \["onboarding"] |
| x-idempotency | "none" |
