# Withdrawal API Integration

### **Step** 1. **Create withdrawal order**

{% content-ref url="/pages/6SaZ2bHac3MX0bvXaRup" %}
[Create a withdrawal order](/ccpayment-v1.0-api/withdrawal-api-integration/create-a-withdrawal-order.md)
{% endcontent-ref %}

### **Step** 2. Get withdrawal result

After the transaction is completed, CCPayment will push the withdrawal[ result notification](/ccpayment-v1.0-api/webhook-notification/withdraw-webhook-notification.md) to [the Webhook URL you configured.](https://admin.ccpayment.com/wallet/developer)&#x20;

{% content-ref url="/pages/mHETFcxDKDj61suWofF4" %}
[Withdraw Webhook Notification](/ccpayment-v1.0-api/webhook-notification/withdraw-webhook-notification.md)
{% endcontent-ref %}

✅ Now you have completed the entire integration process for withdrawal!

{% hint style="info" %}
Except for webhook notifications, you can get the order information via the Call [Order Information Interface.](/ccpayment-v1.0-api/payment-api-ccpayment/api-deposit-order-information-interface.md)\
\
The status of the API returned has a time lag with the webhook status maybe, Handle idempotency properly.
{% endhint %}

### Withdrawal Diagram

<figure><img src="/files/Hb6v8aQA6AXQGP2xl2kR" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.ccpayment.com/ccpayment-v1.0-api/withdrawal-api-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
