GET /2026-2/pollings/{pollingId}/pump-status

Returns the current pump status immediately, or long-polls until the status changes if a known status is provided.

Path parameters

  • pollingId string(uuid) Required

    The unique identifier of the polling task.

Query parameters

  • status string

    If set, waits for status to change. Otherwise returns current status.

    Values are LOCKED, FREE, IN_USE, READY_TO_PAY, or OUT_OF_ORDER.

Responses

  • 200 application/json

    The current status of the pump.

    Hide response attribute Show response attribute object
    • data object Required

      The current status of the pump.

      Hide data attributes Show data attributes object
      • id string(uuid) Required

        The unique identifier of the pump.

      • label string Required

        The label of the pump

      • status string Required

        The current status of the pump.

        Values are LOCKED, FREE, IN_USE, READY_TO_PAY, or OUT_OF_ORDER.

  • 400

    The request parameters are invalid or missing

  • 401

    Client authentication failed.

  • 403

    Missing one or more required scopes.

  • 404

    The polling task was not found

GET /2026-2/pollings/{pollingId}/pump-status
curl \
 --request GET 'https://api.pace.cloud/fueling/2026-2/pollings/652a50ff-e3ae-4aae-b0f1-ba92c40f780f/pump-status' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "id": "1ac5082e-b610-45dc-b754-3f53f004b912",
    "label": "1",
    "status": "IN_USE"
  }
}