Checkout
Hosted
Initialization prepares the order for checkout and produces a token to be passed to the /pay endpoint.
The ID of the order being checked out
bd7eb675-0fd8-4d32-b855-c1db06db6348The ID or the alias of the store
{"value":"f14ca31d-3dc2-4fae-86eb-8676de0d0238"}The base URL the checkout request originates from. Used on the checkout status pages to securly post messages back to a parent window about the checkout status.
https://www.example.comSets the mode the checkout should run in, either Redirect (default) which follows the regular full redirect approach and after payment returns to the configured URL's in the payment provider settings, or Framed where it is assumed the checkout will be opened in a WebView/iframe and the status of the container monitored.
{"value":"Redirect"}OK
Bad Request
Not Found
Redirects to the given Orders selected payment gateway for payment processing.If in Framed mode should be redirected to as normal, or if in Framed mode, the endpoint URL should be launched in a WebView/iframe and developers should watch for changes in the URL to detect the outcome of the transaction. Final endpoint URLs will be one of {endpointUrl}/completed, {endpointUrl}/canceled or {endpointUrl}/errored. If launched in an iframe from a web context, you can also register a message event handler to get notified of the final status. Messages will be in the format UC:{orderId}:{token}:{status}
The ID of the order being checked out
927dde27-4b3f-4223-9c89-1b0d25fadf0fThe checkout token for the checkout session
d84581c4-135e-41a0-ba92-38d3d6002661OK
Bad Request
Not Found
Inline
With inline checkout flow it's the developers responsibility to capture the transaction and confirm the payment via the /confirm endpoint. The selected payment methods setting are returned to ease payment gateway configuation, along with details of any meta data the payment method expects to be captured.
The ID of the order being checked out
54a5385f-6af0-4706-b77d-eb01e52e2f90API key specified through configuration to authorize access to the API.
The ID or the alias of the store
{"value":"1b82c2c3-c80b-47ae-aed6-627f5cdec050"}OK
Bad Request
Not Found
Updates the given Orders transaction info with the supplied details and transitions the order from a open to a finalized state
The ID of the order being checked out
fa6d97a5-737b-448b-9809-5d719338d4dfLimit the properties returned in the response
{"value":" "}Defines the properties that should be expanded in the response
{"value":" "}API key specified through configuration to authorize access to the API.
The ID or the alias of the store
{"value":"53df8d21-a3ce-4646-955e-96394cde5206"}OK
Bad Request
Not Found
Last updated
Was this helpful?