> For the complete documentation index, see [llms.txt](https://docs.unisat.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.unisat.io/developer-support/open-api-documentation/api-for-bitcoin/unisat-inscribe/search-order.md).

# Search Order

{% openapi src="/files/r4o4wn8MaaisuPe8MEqf" path="/v2/inscribe/order/{orderId}" method="get" %}
[swagger.yaml](https://3523236551-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJ4NHAHIVnWQiEecvs1By%2Fuploads%2FwLGCSgZJ2x4Y5HBwMo4J%2Fswagger.yaml?alt=media\&token=41cf5a70-2499-4da5-ab33-0530fc3e2772)
{% endopenapi %}

```typescript

enum OrderStatus {
    // when create order
    pending = 'pending',
    
    // pay not enough, need pay more
    payment_notenough = 'payment_notenough',
    
    // pay over, need choose continue or refund
    payment_overpay = 'payment_overpay',
    
    // there is an inscription in payment transaction, need refund
    payment_withinscription = 'payment_withinscription',
    
    // in some case, payment transaction need be confirmed
    payment_waitconfirmed = 'payment_waitconfirmed',
    
    // payment success
    payment_success = 'payment_success',
    
    // ready to inscribe
    ready = 'ready',
    inscribing = 'inscribing',
    minted = 'minted',
    closed = 'closed',
    refunded = 'refunded',
    cancel = 'cancel',
}


enum InscriptionStatus {
  pending = 'pending',
  unconfirmed = 'unconfirmed',
  confirmed = 'confirmed'
}

```
