Organisations
Pay Runs
Cancel pay run
Cancels a pay run which has not yet been started. A pay run may only be cancelled if the following conditions are met:
- The pay run exists within the system
- The pay run is in a state that is valid for cancellation
We are unable to cancel pay runs which have been processed or are in progress. See the Statuses documentation for details on which statuses are valid for cancellation.
post/organisations/{organisationId}/pay-runs/{payRunId}/cancel
Request
- Base URLhttps://api.partners.uat.crezco.com
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
organisationIdstring uuid required
The unique Crezco ID for an organisation
payRunIdstring uuid required
The unique pay run ID for the pay run
Headers
Crezco-Versionstring
The requested API version
Response
OK
Example response
{
"status": "Created"
}Changes
No recorded changes to this operation across all 1 revision of this API.