Revoking Static Wallet

You can revoke a static wallet by providing the merchant API key and the address associated with the static wallet. This action will disable the static wallet and prevent any further transactions from being credited to the specified address.

POST https://api.oxapay.com/merchants/revoke/staticaddress

Request Body

NameTypeDescription

merchant*

String

Your merchant API key for authentication and authorization.

address*

String

The address of the static wallet you want to revoke.

{
    "result": integer, // The result code indicates the success or failure of the request.
    "message": string, // A message providing additional information about the result.
}

Now, you can proceed with integrating this functionality into your application using the provided endpoint, parameters, and response codes. If you encounter any issues or have questions, feel free to reach out to our support team for assistance.

Please note that a successful request will return a result code 100. In case of any issues or validation problems, refer to the corresponding result codes for further details.

Example codes

curl -X POST https://api.oxapay.com/merchants/revoke/staticaddress \
  -d '{
    "merchant": "YOUR_MERCHANT_API_KEY",
    "address": "WALLET_ADDRESS_TO_REVOKE"
  }'

Please replace YOUR_MERCHANT_API_KEY with your actual merchant API key and WALLET_ADDRESS_TO_REVOKE with the address of the static wallet, you want to revoke. Each of these code snippets sends a POST request to the API endpoint with the specified parameters and checks the response to determine whether the revocation was successful or not.

Last updated