---
title: "Checks state of a service for invoice."
method: GET
path: "/invoices/ping/{serviceName}"
tags: ["Invoices"]
---

# Checks state of a service for invoice.

`GET /invoices/ping/{serviceName}`

## Request

- Base URL: `https://sb2api.servicechannel.com/v3`
- URL: `https://sb2api.servicechannel.com/v3/invoices/ping/{serviceName}`
- Auth: OAuth 2
  - Authorization code: `https://sb2login.servicechannel.com/oauth/authorize`
  - Token URL: `https://sb2login.servicechannel.com/oauth/token`
- TypeScript: <https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/docs/invoices/ping/:serviceName/get.ts> (a function with typed inputs; its response is checked against the schema)

The method allow check some service for invoice for availability state.<br />Responses: 'Success' or 'Fail'.

## Path parameters

- `serviceName` string, required

## Response `200`

Indicates that the request succeeded. Specified service is available.

- SystemObject

## Other responses

- `400`: Indicates that the request failed. Action parameter is mismatched or missed.
- `401`: An unauthorized request.
- `503`: Indicates that the request failed. Specified service is unavailable.

---

[API](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3.md) - [All operations](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/llms.txt) - [OpenAPI document](https://skmtc.dev/servicechannel/apis/servicechannel-api-v-3/revisions/d490d6596809?raw)
