Skip to main content
GET
/
v1
/
customer-portal
/
orders
/
{id}
/
payment-status
Get Order Payment Status
curl --request GET \
  --url https://api.spairehq.com/v1/customer-portal/orders/{id}/payment-status \
  --header 'Authorization: Bearer <token>'
{
  "status": "<string>",
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.spairehq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Customer session tokens are specific tokens that are used to authenticate customers on your organization. You can create those sessions programmatically using the Create Customer Session endpoint.

Path Parameters

id
string<uuid4>
required

The order ID.

Response

Successful Response

Payment status for an order.

status
string
required

Current payment status.

error
string | null

Error message if payment failed.