Skip to main content

Get Project Status

GET https://api.paysera.com/checkout-project/integration/v1/project

Read the calling project's status and whether it collects live payments, test payments, or none. Use it to decide whether to offer Paysera at checkout and whether to show a Test Mode notice.

Authorization​

This endpoint requires an OAuth2 Bearer token. The project is taken from the token, so the call carries no project in its path. See the Authentication guide.

Response​

FieldTypeDescription
project_idstring (UUID)Project identifier, taken from the token
statusstringProject lifecycle status, see Project status values
payment_collection_statusstringWhether the project collects payments, see Payment collection status values

Project status values​

status is one of draft, in_review, needs_correction, activated, frozen, blocked, suspended, deleted.

New values may be added. Handle an unknown value as a status your integration does not support yet, rather than failing.

Payment collection status values​

ValueMeaning
enabledThe project collects live payments
disabledThe project collects no payments
test_modeThe project is in Test Mode and accepts test payments only

New values may be added. Treat an unknown value as disabled: the project does not accept payments.

Notes​

  • Read payment_collection_status to decide whether the project can take payments; status alone does not tell you that.
  • Returns 401 if the token is missing, invalid, or carries no project.
  • Returns 404 if the project from the token does not exist.

AUTHORIZATION: HTTP

REQUEST

Base URL
https://api.paysera.com

RESPONSE

Project status retrieved
{
"project_id": "b7c3d4e5-6f7a-8b9c-0d1e-2f3a4b5c6d7e",
"status": "activated",
"payment_collection_status": "enabled"
}