> For the complete documentation index, see [llms.txt](https://passimpay.gitbook.io/passimpay-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://passimpay.gitbook.io/passimpay-api/check-withdraw.md).

# Check withdraw

<mark style="color:green;">`POST`</mark> `https://api.passimpay.io/v2/withdrawstatus`

This endpoint allows you to check the status of a withdrawal request. By using the transaction ID (`transactionId`), you can verify the current status of the withdrawal in the system.

**Rate Limit**: 10 requests per second

#### **Headers**

<table><thead><tr><th width="200">Name</th><th width="159">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>x-signature</code></td><td>string</td><td>SHA-256 encrypted signature</td></tr><tr><td><code>Content-Type</code></td><td>string</td><td>application/json</td></tr></tbody></table>

#### **Request Body**

<table><thead><tr><th width="204">Name</th><th width="126">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>platformId</code></td><td>integer</td><td>Platform Id</td></tr><tr><td><p><code>transactionId</code></p><p>or</p><p><code>orderId</code></p></td><td>string</td><td>The <code>transactionId</code> is the ID of the transaction in the Passimpay system, received after submitting a withdrawal request.<br><br><code>orderId</code> is a unique identifier for withdrawing funds on your website.</td></tr></tbody></table>

#### **Successful response (200)**

<table><thead><tr><th width="189">Name</th><th width="149">Type</th><th>Description</th></tr></thead><tbody><tr><td>result</td><td>integer</td><td>Request result: <br><code>1</code>: success </td></tr><tr><td>approve</td><td>integer</td><td><p>The status of the withdrawal:</p><p><code>0</code>: Pending</p><p><code>1</code>: Successful</p><p><code>2</code>: Error</p></td></tr><tr><td>paymentId</td><td>integer</td><td>Currency ID</td></tr><tr><td>addressTo</td><td>string</td><td>Recipient's Wallet Address</td></tr><tr><td>amount</td><td>string</td><td>Amount in cryptocurrency</td></tr><tr><td>txhash</td><td>string</td><td>The transaction hash in the blockchain system, used to track the transaction.</td></tr><tr><td>confirmations</td><td>integer</td><td>The number of confirmations the transaction has received. This field is used in networks like Bitcoin, Litecoin, Dogecoin, Bitcoin Cash, and Dash.</td></tr><tr><td>amountDebited</td><td>string</td><td>The definitive amount of funds irrevocably removed from the user's balance to settle the specified transaction.</td></tr><tr><td>feeNetwork</td><td>string</td><td>Blockchain network fee required for processing the transaction on-chain. This is paid to network validators/miners.</td></tr><tr><td>feeService</td><td>string</td><td>Service fee charged by the platform for processing the transaction. This fee is retained by the service provider.</td></tr></tbody></table>

#### **Error Response (400)**

<table><thead><tr><th width="160">Name</th><th width="177">Type</th><th>Description</th></tr></thead><tbody><tr><td>result</td><td>integer</td><td>Request result: <br><code>0</code>: error</td></tr><tr><td>message</td><td>string</td><td>Error description</td></tr></tbody></table>
