UPDATE WITHDRAW ADDRESS

View as Markdown
Updates the withdrawal destination address for a specific customer. **Method:** `PATCH` **URL:** `{{ENDPOINT}}/{{AGENT_ID}}/customers/0809991234/withdraw/address` ### 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 new withdrawal address details as a JSON payload. Typically includes the new wallet address and possibly the network/chain type. ### Authentication Requires an API key passed via the `x-api-key` request header using the `{{API_KEY}}` environment variable. ### Notes - This is a partial update (`PATCH`), so only the fields provided in the request body will be modified. - Replace `0809991234` with the actual customer identifier when using this request. - Ensure the new address is valid for the intended blockchain network before submitting.

Authentication

x-api-keystring
API Key authentication via header

Request

This endpoint expects an object.
chainstringRequired
addressstringRequired

Response

Successful response