request customer withdraw

View as Markdown
Initiates a withdrawal request on behalf of a specific customer. **Method:** `POST` **URL:** `{{ENDPOINT}}/{{AGENT_ID}}/customers/0809991234/withdraw` ### Parameters | Variable / Segment | Description | |---|---| | `{{ENDPOINT}}` | Base URL of the API server | | `{{AGENT_ID}}` | Unique identifier of the agent managing the customer | | `0809991234` | The customer's phone number or unique identifier | ### Request Body Provide the withdrawal details as a JSON payload. Typically includes fields such as the amount to withdraw, the destination wallet address, and the target blockchain network. ### Authentication Requires an API key passed via the `x-api-key` request header using the `{{API_KEY}}` environment variable. ### Notes - The customer must have an active withdrawal address configured before this request can be processed. - Replace `0809991234` with the actual customer identifier when using this request. - Ensure sufficient balance is available for the customer before initiating a withdrawal. - This action may be irreversible once processed — verify all details in the request body before sending.

Authentication

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
chainstringRequired
amountintegerRequired

Response

Successful response