APIPresale Payment
Delete A Coin
Admin functionality to remove cryptocurrencies from the platform
Delete Coin
ADMINRemove cryptocurrencies from the platform's payment system
Mutation
Parameters
symbol
RequiredType:
String!
The symbol of the coin to delete (e.g., "BTC", "ETH")
Return Value
📦
Returns Boolean
Returns true
if deletion successful, false
otherwise
Example
💻
Usage Example
Delete a coin by symbol
mutation {
deleteCoin(symbol: "DOGE")
}
Response Example
📤
Sample Response
Successful deletion
{
"data": {
"deleteCoin": true
}
}
Important Notes
🔐
Admin Only
This mutation requires administrator privileges
⚠️
Check Dependencies
Ensure no active payments or pending orders use this coin
🔄
Immediate Effect
Coin is removed immediately and unavailable for new payments
💾
Permanent Action
This action cannot be undone. Historical data may be preserved
💡
Best Practice
Before deleting a coin, verify there are no pending transactions. Consider disabling the coin first and monitoring for a period before permanent deletion. Communicate with users about discontinuation of support. Archive transaction data before removal for compliance and auditing purposes.