Update service_status.md

This commit is contained in:
Roy Sheinfeld
2023-12-17 15:32:33 +02:00
committed by GitHub
parent cbe1acc9c2
commit f1eceaa12c

View File

@@ -1,6 +1,4 @@
# Service Status
## Health Check Status
# Retrieving service status
You can check the general health status of the services provided by the Breez SDK.
The response status will inform you if there is maintenance occurring, a service distruption or the services are operational.
@@ -71,72 +69,4 @@ The response status will inform you if there is maintenance occurring, a service
</section>
</custom-tabs>
## Reporting a Payment Failure
While attempting to send payments it may be that sometimes payment failures occur. Reporting these issues through the Breez SDK will help us to improve LSP routing.
<custom-tabs category="lang">
<div slot="title">Rust</div>
<section>
```rust,ignore
{{#include ../../snippets/rust/src/service_status.rs:report-payment-failure}}
```
</section>
<div slot="title">Swift</div>
<section>
```swift,ignore
{{#include ../../snippets/swift/BreezSDKExamples/Sources/ServiceStatus.swift:report-payment-failure}}
```
</section>
<div slot="title">Kotlin</div>
<section>
```kotlin,ignore
{{#include ../../snippets/kotlin_mpp_lib/shared/src/commonMain/kotlin/com/example/kotlinmpplib/ServiceStatus.kt:report-payment-failure}}
```
</section>
<div slot="title">React Native</div>
<section>
```typescript
{{#include ../../snippets/react-native/service_status.ts:report-payment-failure}}
```
</section>
<div slot="title">Dart</div>
<section>
```dart,ignore
{{#include ../../snippets/dart_snippets/lib/service_status.dart:report-payment-failure}}
```
</section>
<div slot="title">Python</div>
<section>
```python,ignore
{{#include ../../snippets/python/src/service_status.py:report-payment-failure}}
```
</section>
<div slot="title">Go</div>
<section>
```go,ignore
{{#include ../../snippets/go/service_status.go:report-payment-failure}}
```
</section>
<div slot="title">C#</div>
<section>
```cs,ignore
{{#include ../../snippets/csharp/ServiceStatus.cs:report-payment-failure}}
```
</section>
</custom-tabs>