Revoking Static Wallet
Request Body
Name
Type
Description
{
"result": integer, // The result code indicates the success or failure of the request.
"message": string // A message providing additional information about the result.
}Example codes
curl -X POST https://api.oxapay.com/merchants/revoke/staticaddress \
-d '{
"merchant": "YOUR_MERCHANT_API_KEY",
"address": "WALLET_ADDRESS_TO_REVOKE"
}'<?php
$url = 'https://api.oxapay.com/merchants/revoke/staticaddress';
$data = array(
'merchant' => 'YOUR_MERCHANT_API_KEY',
'address' => 'WALLET_ADDRESS_TO_REVOKE'
);
$options = array(
'http' => array(
'header' => 'Content-Type: application/json',
'method' => 'POST',
'content' => json_encode($data),
),
);
$context = stream_context_create($options);
$response = file_get_contents($url, false, $context);
$result = json_decode($response);
var_dump($result);
?>Last updated