Last updated

These docs are intended for a developer audience.

One-time sales

A one-time sale is single, non-recurring, charge for a product or service. Example: A one-time purchase of an internet modem.

One-time sale status

This section describes all one-time sale statuses.

One-time sale example: A one-time purchase of a bag of coffee charged at a total of 5 USD.

status describes the state of the one-time sale. The following are all statuses.

Status Description
pendingA customer requests one or more one-time sales items in an order.
completedThe customer pays the order invoice.
canceledThe customer cancels the order before paying.

Status transitions

Invoice is paid
Purchase canceled
1. Pending
Complete
Canceled
  1. A customer requests one or more one-time sales items in an order. The one-time sales items are assigned the pending status.
  2. The customer does one of the following:
    • The customer pays the invoice that includes the one-time sales items. One-time sales items are assigned the completed status.
    • The customer cancels the purchase before paying. One-time sales items are assigned the canceled status.