updateCustodianDetails
The updateCustodianDetails mutation allows you to update wallet information tied to your existing custodian account. Only the fields you provide will be updated; all others will remain unchanged.
🔗 Endpoint
URL: https://argonpay.onrender.com/graphql
Method: POST
Content-Type: application/json
🧾 Mutation Structure
mutation UpdateCustodianDetails(
$apiKey: String!,
$bep20: String,
$solana: String,
$ton: String,
$usdtTon: String,
$BSCpayAddress: String,
$usdtTONPayAddress: String
) {
updateCustodianDetails(
apiKey: $apiKey,
bep20: $bep20,
solana: $solana,
ton: $ton,
usdtTon: $usdtTon,
BSCpayAddress: $BSCpayAddress,
usdtTONPayAddress: $usdtTONPayAddress
) {
code
message
custodian {
apiKey
bep20
solana
ton
usdtTon
}
}
}📥 Parameters
apiKey
String
✅
Your active API key
bep20
String
❌
Updated public BEP20 wallet address
solana
String
❌
Updated public Solana wallet address
ton
String
❌
Updated public TON wallet address
usdtTon
String
❌
Updated Jetton wallet address on TON
BSCpayAddress
String
❌
Updated private key for USDT-BEP20 (encrypted on backend)
usdtTONPayAddress
String
❌
Updated private key for Jetton wallet (encrypted)
⚠️ You only need to provide the fields you want to change.
✅ Successful Response
🚫 Error Codes
200
Update successful
401
API key invalid or unauthorized
404
No custodian account found for this API key
500
Server error during update
🧪 Code Examples
Python Example
JavaScript Example
Last updated