v1
latestOpenAPI 3.0.12026-07-2428103163.2 KBCheckout
Calling Checkout with a valid pay run ID will return a URL that the user should be redirected to in order to initiate the payment process for the given pay run.
When calling this endpoint you are expected to provide completeUrl and incompleteUrl query parameters which will be used to redirect the user back to your system following the checkout process depending on whether all batch processing is complete or not. Regardless of the URL used webhooks and/or status endpoints should always be used to obtain most accurate status information.
The optional linkUsage parameter declares whether the returned URL will be used to redirect the current user immediately (Redirect, the default) or shared with another user out of band (Share). Note that checkout configuration is stored per pay run and each checkout call replaces it — previously issued links follow the most recent call's configuration.
Path parameters
The unique Crezco ID for an organisation
The unique pay run ID for the pay run
Query parameters
UserId of the user that intends to authorise the pay run batch(es)
Headers
The requested API version
Response
OK