Activate the live organization for production (staff of the service only)
Done by a person of the staff of the service, on the LIVE organization, once the RUC of its issuer is enrolled at the provider, and only on an APPROVED activation request (POST /v1/production_activation; otherwise activation_request_not_approved). In one transaction it marks that request activated, locks the RUC to this issuer (a RUC issues for real from one organization only) and creates the production connection. Afterwards the RUC of the issuer cannot be changed. Anyone who is not staff gets staff_required; GET /v1/readiness says what is pending and who must do it.
POST
https://api.invox.page/v1/issuer/activate_productionAuthorization
Header parameters
Returns
201
The organization is activated: its issuer, its production connection and what to do next.
400
organization_required: This credential needs to say which organization it acts on
JSON
401
unauthenticated: No credential was sent · invalid_credential: The credential is not valid
JSON
403
missing_scope: The credential lacks the permission this operation requires · organization_mismatch: The X-Organization header names another organization than the key's · organization_archived: The organization is archived · staff_required: This operation is reserved to the staff of the service
JSON
404
not_found: The resource does not exist in this organization
JSON
409
issuer_not_configured: The organization has no issuer yet · production_already_active: The organization is already activated for production · activation_request_not_approved: Production is activated only on an approved activation request · tax_id_already_claimed: This RUC already issues from another organization
JSON
429
rate_limited: Too many requests
JSON
500
internal_error: The service failed
JSON
503
service_unavailable: The service cannot answer right now
JSON