Diagrams

This page contains the diagrams presenting the possible flows for a Checkout transaction.

Create a Checkout transaction

The CM.com Online Payments API enables you to create a Checkout transaction. The diagram below presents the interaction that takes place between Consumer, Merchant (You) and CM.com Online Payments API when creating a Checkout transaction:

In the diagram above the following steps are performed:

  1. Consumer wants to start a payment.
  2. Merchant makes a request to create a Checkout transaction.
  3. Merchant receives a successful response and redirects the Consumer to the received Checkout URL.
  4. Consumer opens Checkout UI, selects a payment method and continues with the payment process. There is also a scenario where a Consumer will be presented with a customer data input form, where email and land or a more detailed billing address has to be filled in. This form will appear on the Checkout UI when the consumer specified by the Merchant in the original request does not have all the required details and if both the selected payment method and/or the configuration of your account on CM.com Online Payments API require the Customer details.
  5. When the payment flow is completed, the status of the Checkout is updated on the CM.com Online Payments API and the Consumer is redirected to the return URL that the Merchant specified in the original request to create the Checkout.
  6. If the Merchant also specified webhooks in the original request then CM.com Online Payments API will trigger the proper webhooks and make the requests to the webhook URLs specified by the Merchant.
  7. Merchant gets the latest details of the transaction. This usually happens once the Merchant receives a webhook request.

The API endpoints involved on this flow are:

Create a refund for the payment made with a Checkout

The CM.com Online Payments API enables you to create a refund for a payment made with a Checkout transaction. The diagram below presents the interaction that takes place between Merchant (You) and CM.com Online Payments API when creating a refund for the payment made for a Checkout:

The API endpoints involved on this flow are: