> ## Documentation Index
> Fetch the complete documentation index at: https://razorpay-881012b3.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Payment Downtime Entity

> Know about the Payment Downtime entity parameters and their description.

<div style={{display:"flex",flexWrap:"wrap",alignItems:"center",gap:"0.35rem 0.9rem",border:"1px solid rgba(128,128,128,0.28)",borderRadius:"0.5rem",padding:"0.45rem 0.75rem",margin:"0 0 1.25rem",fontSize:"0.875rem"}}>
  <span style={{fontWeight:600}}>Available in</span>
  <span>🇮🇳 India</span>
  <span>🇸🇬 Singapore</span>
  <span>🇺🇸 United States</span>
</div>

The Downtime entity has the following parameters:

<ResponseExample>
  ```json Card - Issuer theme={null}
  {
    "id": "down_F7LroRQAAFuswd",
    "method": "card",
    "begin": 1593196031,
    "end": null,
    "status": "started",
    "scheduled": false,
    "severity": "high",
    "instrument": {
      "issuer": "HSBC",
      "card_type": "credit"
    },
    "created_at": 1593196089,
    "updated_at": 1593196089
  }
  ```

  ```json Card - Network theme={null}
  {
    "id": "down_F7LroRQAAFuswd",
    "method": "card",
    "begin": 1593196031,
    "end": null,
    "status": "started",
    "scheduled": false,
    "severity": "high",
    "instrument": {
      "network": "VISA",
      "card_type": "credit"
    },
    "created_at": 1593196089,
    "updated_at": 1593196089
  }
  ```
</ResponseExample>

<ResponseField name="id" type="string">
  Unique identifier of the downtime's occurrence.
</ResponseField>

<ResponseField name="entity" type="string">
  Here, it will be `payment.downtime`.
</ResponseField>

<ResponseField name="method" type="string">
  The payment method that is experiencing downtime. Possible values include:

  * `card`
  * `paynow`
</ResponseField>

<ResponseField name="begin" type="integer">
  Timestamp (in Unix) that indicates the start of the downtime. Applicable for both scheduled and unscheduled downtimes.
</ResponseField>

<ResponseField name="end" type="integer">
  Timestamp (in Unix) that indicates the end of the downtime.<br /> Available only for scheduled downtimes, where the end-time is known. Set to `null` when the end-time is unknown, possibly during unscheduled downtimes.
</ResponseField>

<ResponseField name="status" type="string">
  Status of the downtime. Possible statuses:

  * `scheduled`: A downtime is scheduled to happen at a later time.
  * `started`: The downtime has started and is ongoing.
  * `resolved`: The downtime is resolved.
  * `updated`: An ongoing downtime that has been updated after its start. For example, when the severity of the downtime changes from medium to high.
</ResponseField>

<ResponseField name="scheduled" type="boolean">
  Indicates if the downtime is scheduled or unscheduled. Possible values:

  * `true`: This is a scheduled downtime by the issuer, network, or the bank, which was informed to Razorpay.
  * `false`: This is an unscheduled downtime.
</ResponseField>

<ResponseField name="severity" type="string">
  Severity of the downtime. Possible values:

  * `high`: Possible when all the payment methods are affected by downtime. Observed when the issuer, bank or network is down.
  * `medium`: Possible when a higher number of declines in transactions or low success rates are observed with the payment methods.
  * `low`: Possible when the reason for the downtime is unknown. Impact on payment methods is minimal.
</ResponseField>

<ResponseField name="instrument" type="string">
  Payment method that is underperforming.
</ResponseField>

<ResponseField name="issuer" type="string">
  Issuer bank code. For example, `HSBC`.
</ResponseField>

<ResponseField name="network" type="string">
  Card network. Possible values:

  * `MasterCard`
  * `VISA`
  * `UnionPay`
  * `Amex`
</ResponseField>

<ResponseField name="created_at" type="integer">
  Timestamp (in Unix) that indicates the time at which the downtime was recorded in Razorpay servers.
</ResponseField>

<ResponseField name="updated_at" type="integer">
  Timestamp (in Unix) that indicates the time at which the downtime record was updated in Razorpay servers.
</ResponseField>

<ResponseField name="card_type" type="string">
  The card type used to process the payment. Possible values:

  * `credit`
  * `debit`
</ResponseField>
