Run now the next scheduled step of a test invoice that is waiting
An invoice in process waits between steps: before a retry, before asking the provider again. This skips that wait (the step itself runs through the same path it would have taken), so a test never depends on the clock. The answer says which step was skipped and when it would have run. An invoice that waits for a MANUAL resolution is not advanced: POST /v1/test/invoices/{id}/resolve decides it.
POST
https://api.invox.page/v1/test/invoices/{id}/advanceAuthorization
Path parameters
Header parameters
Returns
202
The step was brought forward; the invoice is on its way.
400
organization_required: This credential needs to say which organization it acts on · validation_failed: The request is not valid
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
JSON
404
not_found: The resource does not exist in this organization
JSON
409
not_waiting: There is no wait to skip: the invoice is not waiting for anything
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