# Consult Individual Invoice by Invoice ID

### Description:

This endpoint allows users to retrieve detailed information for a specific invoice by its unique ID. It's designed to offer a granular view of individual transactions, providing clarity on financial operations.

**Mode:**

`GET`

#### Node:

```bash
/third-party-service/invoice/{id}

Note** Replace {id} with the appropriate invoice identifier.
```

<mark style="color:blue;">`GET`</mark> `/third-party-service/invoice/{id}`

Consult an invoice of a Withdrawal or Deposit by ID

#### Headers

| Name                                         | Type   | Description                            |
| -------------------------------------------- | ------ | -------------------------------------- |
| API-Key<mark style="color:red;">\*</mark>    | String | Your API key for authentication.       |
| API-Secret<mark style="color:red;">\*</mark> | String | Your API secret for enhanced security. |

{% tabs %}
{% tab title="202: Accepted " %}

```json
// 
[
  {
    id: '1057a1e1-796f-4fde-b690-5a4acd508d56',
    idTxBlockchain: '',
    status_webview: 'completed',
    estatus_invoice: 'approved',
    start_time: '2024-02-06T22:00:46.673Z',
    end_time: '2024-02-06T22:00:46.673Z',
    balance: '11.00000000',
    currency: 'USDC',
    user: '@kierangillen',
    expire_invoice: false,
    walletpay: 'NO CUSTODIAL WALLET YOU MUST PAY INVOICE IN USER WALLET',
    memo: 'ljTjsCHWFiQ2XiTF6k4zYEHuDKHK',
    network: 'stellar',
    chain: 'stellar',
    webhookStatus: null,
    method: {
      id: '880d287c-c2cf-40d5-9d15-801db7b9d0c7',
      transaction: '785ba898-83be-4f69-beb1-50469b258507',
      user: '@kierangillen',
      kyc: 'true',
      country_withdraw: 'USA',
      cashout: 'BANK',
      cash_amount: '10.00',
      currency_pay: 'USD',
      rate: '17.08',
      status: 'pending',
      time_estimate_payout: '68000',
      time_payout: '',
      commission: '0',
      KYB: false,
      date: '2024-02-07T02:00:46.378Z'
    },
    type: 'in',
    initialTransaction: '814eb95d-7c63-418e-924d-9754dd534a04'
  }
]
```

{% endtab %}
{% endtabs %}

#### Considerations:

When querying for a specific invoice, ensure that the `{id}` in the Node URL is replaced with the appropriate invoice identifier. Always make sure that the provided `api-key` and `api-secret` are accurate and have the necessary permissions to retrieve the invoice details. Approval Invoice has the same Node URL but different modes, ensure the correct mode is being used.
