Revoking Static Address
post
Header parameters
merchant_api_keystringRequired
Your Merchant API Key for authentication and authorization.
Content-TypestringRequiredDefault:
application/jsonBody
addressstringRequired
The address of the static wallet you want to revoke.
Responses
200
Successful operation
application/json
dataobjectOptional
messagestringOptional
A message containing additional information about the result of the request.
statusintegerOptional
The status of the request response. Typically provided as a numeric code (e.g., 200 for success or other codes for errors).
versionstringOptional
The version of the API being used.
400
Bad request
application/json
post/payment/static-address/revoke
import requests
import json
url = 'https://api.oxapay.com/v1/payment/static-address/revoke'
headers = {
'merchant_api_key': 'YOUR_MERCHANT_API_KEY',
'Content-Type': 'application/json'
}
data = {
"address": "WALLET_ADDRESS_TO_REVOKE"
}
response = requests.post(url, data=json.dumps(data), headers=headers)
result = response.json()
print(result){
"data": {},
"message": "Operation completed successfully!",
"error": {},
"status": 200,
"version": "1.0.0"
}Last updated