Connect this test organization to the provider's sandbox (staff of the service only)
Adds a second connection, the provider's sandbox, with its own series FT02 and BT03. The simulator, its series and their numbers are left as they are: F001/B001 keep going to the simulator. The sandbox only accepts the RUC enrolled under the account of the service, so the issuer of this test organization must already carry it (PUT /v1/issuer) and the same RUC is sent here.
POST
https://api.invox.page/v1/test/provider/connect_sandboxAuthorization
Header parameters
Request body JSON required
Returns
200
It was already connected: the existing connection and its series.
201
The sandbox connection and its series.
400
organization_required: This credential needs to say which organization it acts on · validation_failed: The request is not valid · malformed_request: The request body is not valid JSON
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 · test_only_route: This route only exists in a test organization · 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 · series_already_exists: A series with this code already exists
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