GET api/order/Payment/SeamlessStatus?onlineOrderID={onlineOrderID}&guid={guid}

Returns whether an online order has a completed payment. Used by the seamless payment page after token exchange fails (reused link) to decide whether to show a "Payment Complete" or "Payment Failed" message instead of the raw OAuth error.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
onlineOrderID

The online order to inspect.

integer

Required

guid

The original seamless-auth GUID from the payment link.

string

Required

Body Parameters

None.

Response Information

Resource Description

SeamlessPaymentStatusViewModel
NameDescriptionTypeAdditional information
status

"completed" when the order has at least one payment in a post-order-allowed state, "expired" when the order exists but no completed payment is recorded, "unknown" when the order cannot be located.

string

None.

Response Formats

application/xml, text/xml

Sample:
<SeamlessPaymentStatusViewModel>
  <Status>sample string 1</Status>
</SeamlessPaymentStatusViewModel>

application/json, text/json

Sample:
{
  "status": "sample string 1"
}